From 6c705110f65e3de4df11e0a433005876925f539f Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Wed, 21 Apr 2010 20:36:09 +0000 Subject: [PATCH] Move the prototype for run_vsa. Signed-off-by: Myles Watson Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5472 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/oprom/x86.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/devices/oprom/x86.c b/src/devices/oprom/x86.c index 436f57b8b..ca08b0657 100644 --- a/src/devices/oprom/x86.c +++ b/src/devices/oprom/x86.c @@ -41,7 +41,6 @@ extern unsigned char __run_vsa; void (*run_optionrom)(u32 devfn) __attribute__((regparm(0))) = (void *)&__run_optionrom; void (*vga_enable_console)(void) __attribute__((regparm(0))) = (void *)&__run_interrupt; -void (*run_vsa)(u32 smm, u32 sysmem) __attribute__((regparm(0))) = (void *)&__run_vsa; int (*intXX_handler[256])(struct eregs *regs) = { NULL }; @@ -171,6 +170,8 @@ void run_bios(struct device *dev, unsigned long addr) #define VSA2_BUFFER 0x60000 #define VSA2_ENTRY_POINT 0x60020 +void (*run_vsa)(u32 smm, u32 sysmem) __attribute__((regparm(0))) = (void *)&__run_vsa; + // TODO move to a header file. void do_vsmbios(void); -- 2.25.1