aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-05-25 10:22:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-05-25 13:27:03 +0200
commitc4b724bd7ca65b8945ef683f33c0aa06152a381f (patch)
tree8c121bab259b888665bff6b313232610febba314 /main.c
parentea5e0fffab02eb12ab08dcc3563824f2dd28beac (diff)
downloadqboot-c4b724bd7ca65b8945ef683f33c0aa06152a381f.zip
qboot-c4b724bd7ca65b8945ef683f33c0aa06152a381f.tar.gz
qboot-c4b724bd7ca65b8945ef683f33c0aa06152a381f.tar.bz2
load ACPI tables from fw_cfg
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 6c3d48d..756cc87 100644
--- a/main.c
+++ b/main.c
@@ -114,7 +114,7 @@ static void extract_e820(void)
e820->map[1] = (struct e820entry)
{ .addr = 639 * 1024, .size = 1024, .type = E820_RESERVED }; /* EBDA */
e820->map[2] = (struct e820entry)
- { .addr = 0xe0000, .size = 64 * 1024, .type = E820_NVS }; /* ACPI tables */
+ { .addr = 0xd0000, .size = 128 * 1024, .type = E820_NVS }; /* ACPI tables */
e820->map[3] = (struct e820entry)
{ .addr = 0xf0000, .size = 64 * 1024, .type = E820_RESERVED }; /* firmware */
fw_cfg_read(&e820->map[4], size);
@@ -146,7 +146,7 @@ int main(void)
setup_pic();
setup_idt();
fw_cfg_setup();
- // extract_acpi();
+ extract_acpi();
extract_e820();
// extract_smbios();
if (!detect_cbfs_and_boot())