diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-04-21 20:36:09 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-04-21 20:36:09 +0000 |
commit | 6c705110f65e3de4df11e0a433005876925f539f (patch) | |
tree | 5732e17631eff1242938ec7712071931347f4421 | |
parent | 9839cbd53fdcfcee52c406d9f52af924192e618d (diff) |
Move the prototype for run_vsa.
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
-rw-r--r-- | src/devices/oprom/x86.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/oprom/x86.c b/src/devices/oprom/x86.c index 436f57b8bc..ca08b0657d 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); |