mirror of https://github.com/xemu-project/xemu.git
uname fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1066 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
29e619b1e8
commit
cf720db33a
|
@ -28,3 +28,9 @@ struct target_pt_regs {
|
||||||
#define ARM_SYSCALL_BASE 0x900000
|
#define ARM_SYSCALL_BASE 0x900000
|
||||||
|
|
||||||
#define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2)
|
#define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2)
|
||||||
|
|
||||||
|
#if defined(TARGET_WORDS_BIGENDIAN)
|
||||||
|
#define UNAME_MACHINE "armv4b"
|
||||||
|
#else
|
||||||
|
#define UNAME_MACHINE "armv4l"
|
||||||
|
#endif
|
||||||
|
|
|
@ -218,3 +218,4 @@ union target_semun {
|
||||||
unsigned int __pad; /* really void* */
|
unsigned int __pad; /* really void* */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define UNAME_MACHINE "i686"
|
||||||
|
|
|
@ -127,3 +127,4 @@ union target_semun {
|
||||||
unsigned int __pad; /* really void* */
|
unsigned int __pad; /* really void* */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define UNAME_MACHINE "ppc"
|
||||||
|
|
|
@ -5,3 +5,5 @@ struct target_pt_regs {
|
||||||
target_ulong y;
|
target_ulong y;
|
||||||
target_ulong u_regs[16];
|
target_ulong u_regs[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define UNAME_MACHINE "sun4"
|
||||||
|
|
Loading…
Reference in New Issue