aboutsummaryrefslogtreecommitdiff
path: root/linux-user/cpu-uname.h
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-12-29 22:06:13 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-02-06 17:19:43 +0100
commitda79030f47788d755031e0903be14bb5559eac94 (patch)
tree84221b09d0168eb3d1d882ce07723f621a2e1fb5 /linux-user/cpu-uname.h
parent95ff895f79c75ba13b63a3408d3b8a49791179c6 (diff)
linux-user: adapt uname machine to emulated CPU
This patch for linux-user adapts the output of the emulated uname() syscall to match the configured CPU. Tested with x86, x86-64 and arm emulation. Signed-off-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Loïc Minier <lool@dooz.org>
Diffstat (limited to 'linux-user/cpu-uname.h')
-rw-r--r--linux-user/cpu-uname.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/cpu-uname.h b/linux-user/cpu-uname.h
new file mode 100644
index 0000000000..32492de71a
--- /dev/null
+++ b/linux-user/cpu-uname.h
@@ -0,0 +1 @@
+const char *cpu_to_uname_machine(void *cpu_env);