Lines 1327-1333
Link Here
|
1327 |
movl 8(%esp),%eax |
1327 |
movl 8(%esp),%eax |
1328 |
movl %eax,(%edx) |
1328 |
movl %eax,(%edx) |
1329 |
xorl %eax,%eax |
1329 |
xorl %eax,%eax |
1330 |
movl PCPU(CURPCB),%ecx |
1330 |
#ifdef I386_CPU |
|
|
1331 |
movl PCPU(CURPCB),%ecx /* restore trashed register */ |
1332 |
#endif |
1331 |
movl %eax,PCB_ONFAULT(%ecx) |
1333 |
movl %eax,PCB_ONFAULT(%ecx) |
1332 |
ret |
1334 |
ret |
1333 |
|
1335 |
|
Lines 1370-1376
Link Here
|
1370 |
movw 8(%esp),%ax |
1372 |
movw 8(%esp),%ax |
1371 |
movw %ax,(%edx) |
1373 |
movw %ax,(%edx) |
1372 |
xorl %eax,%eax |
1374 |
xorl %eax,%eax |
|
|
1375 |
#ifdef I386_CPU |
1373 |
movl PCPU(CURPCB),%ecx /* restore trashed register */ |
1376 |
movl PCPU(CURPCB),%ecx /* restore trashed register */ |
|
|
1377 |
#endif |
1374 |
movl %eax,PCB_ONFAULT(%ecx) |
1378 |
movl %eax,PCB_ONFAULT(%ecx) |
1375 |
ret |
1379 |
ret |
1376 |
|
1380 |
|
Lines 1412-1418
Link Here
|
1412 |
movb 8(%esp),%al |
1416 |
movb 8(%esp),%al |
1413 |
movb %al,(%edx) |
1417 |
movb %al,(%edx) |
1414 |
xorl %eax,%eax |
1418 |
xorl %eax,%eax |
|
|
1419 |
#ifdef I386_CPU |
1415 |
movl PCPU(CURPCB),%ecx /* restore trashed register */ |
1420 |
movl PCPU(CURPCB),%ecx /* restore trashed register */ |
|
|
1421 |
#endif |
1416 |
movl %eax,PCB_ONFAULT(%ecx) |
1422 |
movl %eax,PCB_ONFAULT(%ecx) |
1417 |
ret |
1423 |
ret |
1418 |
|
1424 |
|
Lines 1475-1481
Link Here
|
1475 |
|
1481 |
|
1476 |
cpystrflt_x: |
1482 |
cpystrflt_x: |
1477 |
/* set *lencopied and return %eax */ |
1483 |
/* set *lencopied and return %eax */ |
1478 |
movl PCPU(CURPCB),%ecx |
|
|
1479 |
movl $0,PCB_ONFAULT(%ecx) |
1484 |
movl $0,PCB_ONFAULT(%ecx) |
1480 |
movl 20(%esp),%ecx |
1485 |
movl 20(%esp),%ecx |
1481 |
subl %edx,%ecx |
1486 |
subl %edx,%ecx |