aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-08-19 00:54:01 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-09-16 17:13:07 +0200
commitd6d059ca07ae907b8945f88c382fb54d43f9f03a (patch)
tree17b22b48406ffe336ac52f93552247642fd5bef5 /include/hw
parent42d400acfc2dabc56653ee5396df14a8d8cb46c7 (diff)
downloadqemu-d6d059ca07ae907b8945f88c382fb54d43f9f03a.zip
qemu-d6d059ca07ae907b8945f88c382fb54d43f9f03a.tar.gz
qemu-d6d059ca07ae907b8945f88c382fb54d43f9f03a.tar.bz2
hw/i386/pc: Extract e820 memory layout code
Suggested-by: Samuel Ortiz <sameo@linux.intel.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190818225414.22590-3-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/i386/pc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 19a8378..062feeb 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -291,17 +291,6 @@ void pc_system_firmware_init(PCMachineState *pcms, MemoryRegion *rom_memory);
void pc_madt_cpu_entry(AcpiDeviceIf *adev, int uid,
const CPUArchIdList *apic_ids, GArray *entry);
-/* e820 types */
-#define E820_RAM 1
-#define E820_RESERVED 2
-#define E820_ACPI 3
-#define E820_NVS 4
-#define E820_UNUSABLE 5
-
-int e820_add_entry(uint64_t, uint64_t, uint32_t);
-int e820_get_num_entries(void);
-bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
-
extern GlobalProperty pc_compat_4_1[];
extern const size_t pc_compat_4_1_len;