Module Name: src Committed By: ad Date: Mon May 4 11:47:29 UTC 2009
Modified Files: src/sys/arch/i386/i386: locore.S Log Message: PR kern/41342: BSDi binaries cause panic XXX Manuel, please have a look as I am not sure what to do for XEN here! To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/arch/i386/i386/locore.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/i386/locore.S diff -u src/sys/arch/i386/i386/locore.S:1.86 src/sys/arch/i386/i386/locore.S:1.87 --- src/sys/arch/i386/i386/locore.S:1.86 Sat Mar 21 22:55:08 2009 +++ src/sys/arch/i386/i386/locore.S Mon May 4 11:47:29 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.86 2009/03/21 22:55:08 ad Exp $ */ +/* $NetBSD: locore.S,v 1.87 2009/05/04 11:47:29 ad Exp $ */ /* * Copyright-o-rama! @@ -134,7 +134,7 @@ */ #include <machine/asm.h> -__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.86 2009/03/21 22:55:08 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.87 2009/05/04 11:47:29 ad Exp $"); #include "opt_compat_oldboot.h" #include "opt_ddb.h" @@ -1080,7 +1080,10 @@ * Old call gate entry for syscall */ IDTVEC(osyscall) +#ifndef XEN + /* XXX we are in trouble! interrupts be off here. */ cli # must be first instruction +#endif pushfl # set eflags in trap frame popl 8(%esp) orl $PSL_I,(%esp) # re-enable ints on return to user