summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-qemu/qemu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/arch-qemu/qemu.h')
-rw-r--r--arch/x86/include/asm/arch-qemu/qemu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-qemu/qemu.h b/arch/x86/include/asm/arch-qemu/qemu.h
index 100eb8e646..c98deb2cd2 100644
--- a/arch/x86/include/asm/arch-qemu/qemu.h
+++ b/arch/x86/include/asm/arch-qemu/qemu.h
@@ -37,4 +37,11 @@
#define PMREGMISC 0x80
#define PMIOSE (1 << 0)
+/**
+ * qemu_get_low_memory_size() - Get low memory size
+ *
+ * @return: size of memory below 4GiB
+ */
+u32 qemu_get_low_memory_size(void);
+
#endif /* _ARCH_QEMU_H_ */