svn commit: r205650 - head/sys/compat/x86bios

Jung-uk Kim jkim at FreeBSD.org
Thu Mar 25 17:14:48 UTC 2010


Author: jkim
Date: Thu Mar 25 17:14:47 2010
New Revision: 205650
URL: http://svn.freebsd.org/changeset/base/205650

Log:
  Revert accidentally committed initial real mode %sp change of r205347.
  Note I am keeping %ds change because X.org int10 handler does it and
  it seems reasonable.

Modified:
  head/sys/compat/x86bios/x86bios.c

Modified: head/sys/compat/x86bios/x86bios.c
==============================================================================
--- head/sys/compat/x86bios/x86bios.c	Thu Mar 25 17:03:52 2010	(r205649)
+++ head/sys/compat/x86bios/x86bios.c	Thu Mar 25 17:14:47 2010	(r205650)
@@ -68,7 +68,6 @@ __FBSDID("$FreeBSD$");
 
 #define	X86BIOS_R_DS		_pad1
 #define	X86BIOS_R_SS		_pad2
-#define	X86BIOS_R_SP		_pad3.I16_reg.x_reg
 
 static struct x86emu x86bios_emu;
 
@@ -354,7 +353,6 @@ x86bios_init_regs(struct x86regs *regs)
 	bzero(regs, sizeof(*regs));
 	regs->X86BIOS_R_DS = 0x40;
 	regs->X86BIOS_R_SS = x86bios_seg_phys >> 4;
-	regs->X86BIOS_R_SP = 0xfffe;
 }
 
 void


More information about the svn-src-head mailing list