mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197469
@ -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…
Reference in New Issue
Block a user