[BACK]Return to locore.S CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / i386

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/i386/i386/locore.S between version 1.34.2.9 and 1.64

version 1.34.2.9, 2008/02/04 09:22:06 version 1.64, 2008/01/20 12:43:00
Line 192  __KERNEL_RCSID(0, "$NetBSD$");
Line 192  __KERNEL_RCSID(0, "$NetBSD$");
         .ascii  ",HYPERCALL_PAGE=0x00000101"          .ascii  ",HYPERCALL_PAGE=0x00000101"
                 /* (???+HYPERCALL_PAGE_OFFSET)/PAGE_SIZE) */                  /* (???+HYPERCALL_PAGE_OFFSET)/PAGE_SIZE) */
 #endif  #endif
 #ifdef PAE  
         .ascii  ",PAE=yes[extended-cr3]"  
 #endif  
 #else /* !XEN3 */  #else /* !XEN3 */
         .ascii  "GUEST_OS=netbsd,GUEST_VER=2.0,XEN_VER=2.0"          .ascii  "GUEST_OS=netbsd,GUEST_VER=2.0,XEN_VER=2.0"
 #endif /* XEN3 */  #endif /* XEN3 */
Line 883  ENTRY(longjmp)
Line 880  ENTRY(longjmp)
         movl    $1,%eax                 # return 1          movl    $1,%eax                 # return 1
         ret          ret
   
 /*  
  * void dumpsys(void)  
  *  
  * Mimic cpu_switchto() for postmortem debugging.  
  */  
 ENTRY(dumpsys)  ENTRY(dumpsys)
         pushl   %ebx                    # set up fake switchframe          # mimic cpu_switchto() for postmortem debugging.
         pushl   %esi                    #   and save context  
         pushl   %edi          # build a fake switch frame.
         movl    %esp,_C_LABEL(dumppcb)+PCB_ESP          pushl   %ebx
         movl    %ebp,_C_LABEL(dumppcb)+PCB_EBP          pushl   %esi
         call    _C_LABEL(dodumpsys)     # dump!          pushl   %edi
         addl    $(3*4), %esp            # unwind switchframe  
           # save a context.
           movl    $dumppcb,%eax
           movl    %esp,PCB_ESP(%eax)
           movl    %ebp,PCB_EBP(%eax)
   
           call    _C_LABEL(dodumpsys)
   
           addl    $(3*4), %esp    # sizeof(switchframe) - sizeof(%eip)
         ret          ret
   
 /*  /*

Legend:
Removed from v.1.34.2.9  
changed lines
  Added in v.1.64

CVSweb <webmaster@jp.NetBSD.org>