]> git.proxmox.com Git - qemu.git/commitdiff
uname fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 13 Sep 2004 21:41:39 +0000 (21:41 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 13 Sep 2004 21:41:39 +0000 (21:41 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1066 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/arm/syscall.h
linux-user/i386/syscall.h
linux-user/ppc/syscall.h
linux-user/sparc/syscall.h

index 0ced33ee5be4494c0af3e05f47bf620318eb662b..645036174db2e1836b3b3497f7b55a6c9d42c350 100644 (file)
@@ -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
index e1f470d78f8eaad37a16e19c2056e635af93c73c..cc0942b81181742d52283449997e6ea35b503364 100644 (file)
@@ -218,3 +218,4 @@ union target_semun {
     unsigned int __pad;        /* really void* */
 };
 
+#define UNAME_MACHINE "i686"
index e7ded9974bbdd53de75d5a2837545c22bb2760a1..eea8a7c9ab1de5105d948ac1c53b8999e181b4f4 100644 (file)
@@ -127,3 +127,4 @@ union target_semun {
     unsigned int __pad;        /* really void* */
 };
 
+#define UNAME_MACHINE "ppc"
index 474c87c3058631432210a17e6990717eef460b93..5be90fa7f916998db94d965585e587877de283c9 100644 (file)
@@ -5,3 +5,5 @@ struct target_pt_regs {
        target_ulong y;
        target_ulong u_regs[16];
 };
+
+#define UNAME_MACHINE "sun4"