Move the prototype for run_vsa.
authorMyles Watson <mylesgw@gmail.com>
Wed, 21 Apr 2010 20:36:09 +0000 (20:36 +0000)
committerMyles Watson <mylesgw@gmail.com>
Wed, 21 Apr 2010 20:36:09 +0000 (20:36 +0000)
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5472 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/devices/oprom/x86.c

index 436f57b8bc29c3e2fcee7b3b0cf167c21661e872..ca08b0657d8733175f5438e9ed9a239fd5246ac9 100644 (file)
@@ -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);