diff options
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/oprom/x86.c | 4 | ||||
-rw-r--r-- | src/devices/oprom/x86_asm.S | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/oprom/x86.c b/src/devices/oprom/x86.c index 4d7357c93a..0c15b1560c 100644 --- a/src/devices/oprom/x86.c +++ b/src/devices/oprom/x86.c @@ -36,7 +36,7 @@ void (*realmode_call)(u32 addr, u32 eax, u32 ebx, u32 ecx, u32 edx, u32 esi, u32 edi) __attribute__((regparm(0))) = (void *)&__realmode_call; -void (*realmode_interrupt)(u32 intno, u32 eax, u32 ebx, u32 ecx, u32 edx, +void (*realmode_interrupt)(u32 intno, u32 eax, u32 ebx, u32 ecx, u32 edx, u32 esi, u32 edi) __attribute__((regparm(0))) = (void *)&__realmode_interrupt; @@ -361,7 +361,7 @@ void do_vsmbios(void) printk(BIOS_DEBUG, "Calling VSA module...\n"); /* ECX gets SMM, EDX gets SYSMEM */ - realmode_call(VSA2_ENTRY_POINT, 0x0, 0x0, MSR_GLIU0_SMM, + realmode_call(VSA2_ENTRY_POINT, 0x0, 0x0, MSR_GLIU0_SMM, MSR_GLIU0_SYSMEM, 0x0, 0x0); printk(BIOS_DEBUG, "... VSA module returned.\n"); diff --git a/src/devices/oprom/x86_asm.S b/src/devices/oprom/x86_asm.S index 57c5338914..488bfa6b91 100644 --- a/src/devices/oprom/x86_asm.S +++ b/src/devices/oprom/x86_asm.S @@ -255,7 +255,7 @@ __realmode_interrupt = RELOCATED(.) data32 ljmp $0, $RELOCATED(1f) 1: - /* put the stack at the end of page zero. That way we can easily + /* put the stack at the end of page zero. That way we can easily * share it between real mode and protected mode, because %esp and * %ss:%sp point to the same memory. */ |