From da79030f47788d755031e0903be14bb5559eac94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Tue, 29 Dec 2009 22:06:13 +0100 Subject: linux-user: adapt uname machine to emulated CPU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Loïc Minier --- linux-user/cpu-uname.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 linux-user/cpu-uname.h (limited to 'linux-user/cpu-uname.h') 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); -- cgit v1.2.1