summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/boot')
-rw-r--r--src/arch/i386/boot/gdt.c2
-rw-r--r--src/arch/i386/boot/tables.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/boot/gdt.c b/src/arch/i386/boot/gdt.c
index 0230acf208..069d7b3577 100644
--- a/src/arch/i386/boot/gdt.c
+++ b/src/arch/i386/boot/gdt.c
@@ -20,6 +20,7 @@
#include <types.h>
#include <string.h>
#include <cbmem.h>
+#include <lib.h>
#include <console/console.h>
// Global Descriptor Table, defined in c_start.S
@@ -33,7 +34,6 @@ struct gdtarg {
} __attribute__((packed));
// Copy GDT to new location and reload it
-void move_gdt(void);
void move_gdt(void)
{
void *newgdt;
diff --git a/src/arch/i386/boot/tables.c b/src/arch/i386/boot/tables.c
index 03ebda60f7..8000162573 100644
--- a/src/arch/i386/boot/tables.c
+++ b/src/arch/i386/boot/tables.c
@@ -30,11 +30,11 @@
#include <cpu/x86/multiboot.h>
#include "coreboot_table.h"
#include <cbmem.h>
+#include <lib.h>
uint64_t high_tables_base = 0;
uint64_t high_tables_size;
-void move_gdt(void);
void cbmem_arch_init(void)
{
/* defined in gdt.c */