Create lib.h for homeless prototypes.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -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;
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user