svn commit: r211829 - head/sys/dev/fb

Jung-uk Kim jkim at FreeBSD.org
Wed Aug 25 22:48:18 UTC 2010


Author: jkim
Date: Wed Aug 25 22:48:18 2010
New Revision: 211829
URL: http://svn.freebsd.org/changeset/base/211829

Log:
  Fix a debugging message under bootverbose.  This address is not linear.

Modified:
  head/sys/dev/fb/vesa.c

Modified: head/sys/dev/fb/vesa.c
==============================================================================
--- head/sys/dev/fb/vesa.c	Wed Aug 25 22:19:52 2010	(r211828)
+++ head/sys/dev/fb/vesa.c	Wed Aug 25 22:48:18 2010	(r211829)
@@ -816,7 +816,7 @@ vesa_bios_init(void)
 	}
 	if (bootverbose)
 		printf("VESA: INT 0x10 vector 0x%04x:0x%04x\n",
-		    X86BIOS_PHYSTOSEG(offs), X86BIOS_PHYSTOOFF(offs));
+		    (offs >> 16) & 0xffff, offs & 0xffff);
 
 	x86bios_init_regs(&regs);
 	regs.R_AX = 0x4f00;


More information about the svn-src-all mailing list