Initialize registers to zero before calling the interrupt handlers inside
emulator as we did in r197424 for vesa. Submitted by: paradox (ddkprog yahoo com)
This commit is contained in:
parent
4d849a58c4
commit
55990ad0c3
@ -192,6 +192,7 @@ dpms_call_bios(int subfunction, int *bh)
|
||||
{
|
||||
x86regs_t regs;
|
||||
|
||||
bzero(®s, sizeof(regs));
|
||||
regs.R_AX = VBE_DPMS_FUNCTION;
|
||||
regs.R_BL = subfunction;
|
||||
regs.R_BH = *bh;
|
||||
|
Loading…
x
Reference in New Issue
Block a user