Revision e6e5906b linux-user/syscall.c
b/linux-user/syscall.c | ||
---|---|---|
69 | 69 |
|
70 | 70 |
//#define DEBUG |
71 | 71 |
|
72 |
#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) |
|
72 |
#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \ |
|
73 |
|| defined(TARGET_M68K) |
|
73 | 74 |
/* 16 bit uid wrappers emulation */ |
74 | 75 |
#define USE_UID16 |
75 | 76 |
#endif |
... | ... | |
1645 | 1646 |
new_env->regwptr[0] = 0; |
1646 | 1647 |
/* XXXXX */ |
1647 | 1648 |
printf ("HELPME: %s:%d\n", __FILE__, __LINE__); |
1649 |
#elif defined(TARGET_M68K) |
|
1650 |
if (!newsp) |
|
1651 |
newsp = env->aregs[7]; |
|
1652 |
new_env->aregs[7] = newsp; |
|
1653 |
new_env->dregs[0] = 0; |
|
1654 |
/* ??? is this sufficient? */ |
|
1648 | 1655 |
#elif defined(TARGET_MIPS) |
1649 | 1656 |
printf ("HELPME: %s:%d\n", __FILE__, __LINE__); |
1650 | 1657 |
#elif defined(TARGET_PPC) |
... | ... | |
2604 | 2611 |
case TARGET_NR_readdir: |
2605 | 2612 |
goto unimplemented; |
2606 | 2613 |
case TARGET_NR_mmap: |
2607 |
#if defined(TARGET_I386) || defined(TARGET_ARM) |
|
2614 |
#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_M68K)
|
|
2608 | 2615 |
{ |
2609 | 2616 |
target_ulong *v; |
2610 | 2617 |
target_ulong v1, v2, v3, v4, v5, v6; |
Also available in: Unified diff