Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/i386/i386/locore.S,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/i386/i386/locore.S,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.34.2.9 retrieving revision 1.58.6.5 diff -u -p -r1.34.2.9 -r1.58.6.5 --- src/sys/arch/i386/i386/locore.S 2008/02/04 09:22:06 1.34.2.9 +++ src/sys/arch/i386/i386/locore.S 2008/01/13 11:26:56 1.58.6.5 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.34.2.9 2008/02/04 09:22:06 yamt Exp $ */ +/* $NetBSD: locore.S,v 1.58.6.5 2008/01/13 11:26:56 bouyer Exp $ */ /* * Copyright-o-rama! @@ -141,7 +141,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.34.2.9 2008/02/04 09:22:06 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.58.6.5 2008/01/13 11:26:56 bouyer Exp $"); #include "opt_compat_oldboot.h" #include "opt_ddb.h" @@ -247,7 +247,7 @@ _C_LABEL(proc0uarea): .long 0 _C_LABEL(PDPpaddr): .long 0 # paddr of PDP, for libkvm _C_LABEL(tablesize): .long 0 - .space 512 + .space 1024 tmpstk: #ifndef XEN @@ -884,21 +884,6 @@ ENTRY(longjmp) ret /* - * void dumpsys(void) - * - * Mimic cpu_switchto() for postmortem debugging. - */ -ENTRY(dumpsys) - pushl %ebx # set up fake switchframe - pushl %esi # and save context - pushl %edi - movl %esp,_C_LABEL(dumppcb)+PCB_ESP - movl %ebp,_C_LABEL(dumppcb)+PCB_EBP - call _C_LABEL(dodumpsys) # dump! - addl $(3*4), %esp # unwind switchframe - ret - -/* * struct lwp *cpu_switchto(struct lwp *oldlwp, struct newlwp, * bool returning) *