Commit cf720db33a6b46869a9c7c12d237a08d881e8bfb
1 parent
29e619b1
uname fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1066 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
4 changed files
with
10 additions
and
0 deletions
linux-user/arm/syscall.h
@@ -28,3 +28,9 @@ struct target_pt_regs { | @@ -28,3 +28,9 @@ struct target_pt_regs { | ||
28 | #define ARM_SYSCALL_BASE 0x900000 | 28 | #define ARM_SYSCALL_BASE 0x900000 |
29 | 29 | ||
30 | #define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2) | 30 | #define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2) |
31 | + | ||
32 | +#if defined(TARGET_WORDS_BIGENDIAN) | ||
33 | +#define UNAME_MACHINE "armv4b" | ||
34 | +#else | ||
35 | +#define UNAME_MACHINE "armv4l" | ||
36 | +#endif |
linux-user/i386/syscall.h
linux-user/ppc/syscall.h