*** arch/i386/i386/locore.s- Mon Oct 27 16:06:47 1997 --- arch/i386/i386/locore.s Wed Mar 4 22:36:00 1998 *************** *** 1,4 **** ! /* $OpenBSD: locore.s,v 1.36 1997/10/22 23:37:12 mickey Exp $ */ /* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: locore.s,v 1.37 1997/12/09 03:36:39 deraadt Exp $ */ /* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */ /*- *************** *** 212,217 **** --- 212,224 ---- pushl $PSL_MBO popfl + #ifdef HANDBOOK + /* Don't trust what the BIOS gives for %fs and %gs. */ + mov %ds, %ax + mov %ax, %fs + mov %ax, %gs + #endif + /* Find out our CPU type. */ try386: /* Try to toggle alignment check flag; does not exist on 386. */