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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to