25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: useremul.c,v 1.64 2005/08/27 17:29:06 debug Exp $ |
* $Id: useremul.c,v 1.66 2005/11/11 13:23:15 debug Exp $ |
29 |
* |
* |
30 |
* Userland (syscall) emulation. |
* Userland (syscall) emulation. |
31 |
* |
* |
847 |
} |
} |
848 |
|
|
849 |
/* |
/* |
850 |
* NOTE: The following code should not be CPU arch dependant! |
* NOTE/TODO: The following code should not be CPU arch dependent! |
|
* (TODO) |
|
851 |
*/ |
*/ |
852 |
|
|
853 |
switch (sysnr) { |
switch (sysnr) { |
1212 |
} |
} |
1213 |
if (result_high_set) |
if (result_high_set) |
1214 |
cpu->cd.arm.r[1] = result_high; |
cpu->cd.arm.r[1] = result_high; |
1215 |
|
cpu->cd.arm.flags = cpu->cd.arm.cpsr >> 28; |
1216 |
break; |
break; |
1217 |
case ARCH_MIPS: |
case ARCH_MIPS: |
1218 |
/* |
/* |