summary refs log tree commit diff stats
path: root/linux-user/loader.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-06-05 13:39:48 +0200
committerThomas Huth <thuth@redhat.com>2023-06-05 20:48:34 +0200
commite1b819c804314c87555e143fd9ea2858c9d2d34c (patch)
treee9c7429d935a71f0efa7ee23cfbc9bf53c82c307 /linux-user/loader.h
parent71b11cbe1c34411238703abe24bfaf2e9712c30d (diff)
downloadfocaccia-qemu-e1b819c804314c87555e143fd9ea2858c9d2d34c.tar.gz
focaccia-qemu-e1b819c804314c87555e143fd9ea2858c9d2d34c.zip
linux-user/elfload: Expose get_elf_hwcap() on s390x
It is required for implementing /proc/cpuinfo emulation.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230605113950.1169228-3-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-user/loader.h')
-rw-r--r--linux-user/loader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/loader.h b/linux-user/loader.h
index f375ee0679..ad6ca9dbe3 100644
--- a/linux-user/loader.h
+++ b/linux-user/loader.h
@@ -56,4 +56,8 @@ abi_long memcpy_to_target(abi_ulong dest, const void *src,
 
 extern unsigned long guest_stack_size;
 
+#ifdef TARGET_S390X
+uint32_t get_elf_hwcap(void);
+#endif
+
 #endif /* LINUX_USER_LOADER_H */