diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-13 21:41:39 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-13 21:41:39 +0000 |
commit | cf720db33a6b46869a9c7c12d237a08d881e8bfb (patch) | |
tree | 22d89b2c59e78c4b1fb8c7c9b7910ac0e8038d6e /linux-user/arm/syscall.h | |
parent | 29e619b1e8b1b79255009451e26c1bdbd9338fa6 (diff) | |
download | qemu-cf720db33a6b46869a9c7c12d237a08d881e8bfb.zip qemu-cf720db33a6b46869a9c7c12d237a08d881e8bfb.tar.gz qemu-cf720db33a6b46869a9c7c12d237a08d881e8bfb.tar.bz2 |
uname fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1066 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/arm/syscall.h')
-rw-r--r-- | linux-user/arm/syscall.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/arm/syscall.h b/linux-user/arm/syscall.h index 0ced33e..6450361 100644 --- a/linux-user/arm/syscall.h +++ b/linux-user/arm/syscall.h @@ -28,3 +28,9 @@ struct target_pt_regs { #define ARM_SYSCALL_BASE 0x900000 #define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2) + +#if defined(TARGET_WORDS_BIGENDIAN) +#define UNAME_MACHINE "armv4b" +#else +#define UNAME_MACHINE "armv4l" +#endif |