summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot/tables.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2004-01-28 16:56:14 +0000
committerStefan Reinauer <stepan@openbios.org>2004-01-28 16:56:14 +0000
commit688b385aec24157e2112d0efa06868b4f8dfb97c (patch)
treee14205a31ab7c68432735d01e6f722a31623c041 /src/arch/i386/boot/tables.c
parent22489894e189616bb5694cfed8bd951951e68fae (diff)
downloadcoreboot-688b385aec24157e2112d0efa06868b4f8dfb97c.tar.xz
please forgive me... ;)
* initial acpi support code * fix header git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1358 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot/tables.c')
-rw-r--r--src/arch/i386/boot/tables.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/i386/boot/tables.c b/src/arch/i386/boot/tables.c
index 513167188c..b0fdd23105 100644
--- a/src/arch/i386/boot/tables.c
+++ b/src/arch/i386/boot/tables.c
@@ -5,6 +5,7 @@
#include <boot/linuxbios_tables.h>
#include <arch/pirq_routing.h>
#include <arch/smp/mpspec.h>
+#include <arch/acpi.h>
#include "linuxbios_table.h"
#if CONFIG_SMP && CONFIG_MAX_PHYSICAL_CPUS && (CONFIG_MAX_PHYSICAL_CPUS < CONFIG_MAX_CPUS)
@@ -61,6 +62,10 @@ struct lb_memory *write_tables(struct mem_range *mem, unsigned long *processor_m
if (low_table_end < 0x500) {
low_table_end = 0x500;
}
+
+ /* Write ACPI tables */
+ low_table_end = write_acpi_tables(low_table_end);
+
/* The linuxbios table must be in 0-4K or 960K-1M */
write_linuxbios_table(processor_map, mem,
low_table_start, low_table_end,