aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/boot/tables.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-18 10:36:33 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-31 09:51:50 +0100
commitbae775a4f43449e79622ed144118554ff780744a (patch)
treede6094464d801f18c33bb6e929ee9afef0cfce82 /src/arch/x86/boot/tables.c
parenta91e1e6cc18b3d510a8dd5e3b2c7bdbba3299369 (diff)
arch/x86: Declare GDT symbols and move_gdt()
We relocate GDT to CBMEM, this can be done late in ramstage. Note: We currently do this for BSP CPU only. Change-Id: I626faaf22f846433f25ca2253d6a2a5230f50b6b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7858 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/arch/x86/boot/tables.c')
-rw-r--r--src/arch/x86/boot/tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/boot/tables.c b/src/arch/x86/boot/tables.c
index 9f2afd4a2f..8685ed48df 100644
--- a/src/arch/x86/boot/tables.c
+++ b/src/arch/x86/boot/tables.c
@@ -21,6 +21,7 @@
#include <console/console.h>
#include <cpu/cpu.h>
+#include <cpu/x86/gdt.h>
#include <boot/tables.h>
#include <boot/coreboot_tables.h>
#include <arch/pirq_routing.h>
@@ -28,7 +29,6 @@
#include <arch/acpi.h>
#include <string.h>
#include <cbmem.h>
-#include <lib.h>
#include <smbios.h>