svn commit: r197469 - head/sys/dev/dpms
Jung-uk Kim
jkim at FreeBSD.org
Thu Sep 24 20:23:24 UTC 2009
Author: jkim
Date: Thu Sep 24 20:23:24 2009
New Revision: 197469
URL: http://svn.freebsd.org/changeset/base/197469
Log:
Initialize registers to zero before calling the interrupt handlers inside
emulator as we did in r197424 for vesa.
Submitted by: paradox (ddkprog yahoo com)
Modified:
head/sys/dev/dpms/dpms.c
Modified: head/sys/dev/dpms/dpms.c
==============================================================================
--- head/sys/dev/dpms/dpms.c Thu Sep 24 20:10:00 2009 (r197468)
+++ head/sys/dev/dpms/dpms.c Thu Sep 24 20:23:24 2009 (r197469)
@@ -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;
More information about the svn-src-all
mailing list