summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot
diff options
context:
space:
mode:
authorMaciej Pijanka <maciej.pijanka@gmail.com>2009-10-27 14:29:29 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-27 14:29:29 +0000
commitea92185755a578d9a1b5df5cbf7b05ee2cea2390 (patch)
treed7ffa935cad6e5ae7b50fa5c9ec158e0493df0c5 /src/arch/i386/boot
parent18d7c2e31e868c9f9f78b907f607b8a1b98b46aa (diff)
downloadcoreboot-ea92185755a578d9a1b5df5cbf7b05ee2cea2390.tar.xz
Add few missing prototypes, and remove few unused (thus lonelly) variables.
TODO - x86emu need (imo) some common header with prototypes at least - clog2, ulzma, hardwaremain prototypes added by this patch probably should be moved to some header too. - in src/devices/device_util.c prototype is before function because seems, it is used only within same file, if not it should be moved to debug section of prototypes in include/device/device.h Signed-off-by: Maciej Pijanka <maciej.pijanka@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4871 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot')
-rw-r--r--src/arch/i386/boot/gdt.c1
-rw-r--r--src/arch/i386/boot/tables.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/i386/boot/gdt.c b/src/arch/i386/boot/gdt.c
index 232502753f..c4ed37486d 100644
--- a/src/arch/i386/boot/gdt.c
+++ b/src/arch/i386/boot/gdt.c
@@ -33,6 +33,7 @@ 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 a6c44eb49f..b47826dd06 100644
--- a/src/arch/i386/boot/tables.c
+++ b/src/arch/i386/boot/tables.c
@@ -34,8 +34,6 @@
uint64_t high_tables_base = 0;
uint64_t high_tables_size;
-void cbmem_list(void);
-
void move_gdt(void);
void cbmem_arch_init(void)
{