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

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

Diff for /src/sys/arch/amd64/amd64/locore.S between version 1.65.8.3 and 1.66

version 1.65.8.3, 2012/04/29 23:04:36 version 1.66, 2011/12/04 16:24:13
Line 626  start: movw $0x1234,0x472   # warm boot
Line 626  start: movw $0x1234,0x472   # warm boot
          * 4. Enable paging and the rest of it.           * 4. Enable paging and the rest of it.
          */           */
         movl    %cr0,%eax          movl    %cr0,%eax
         orl     $(CR0_PE|CR0_PG|CR0_NE|CR0_TS|CR0_MP|CR0_WP|CR0_AM),%eax          orl     $(CR0_PE|CR0_PG|CR0_NE|CR0_TS|CR0_MP|CR0_WP),%eax
         movl    %eax,%cr0          movl    %eax,%cr0
         jmp     compat          jmp     compat
 compat:  compat:
Line 778  start:
Line 778  start:
         cpuid          cpuid
         movl    %eax,_C_LABEL(cpuid_level)          movl    %eax,_C_LABEL(cpuid_level)
   
         movq    $cpu_info_primary, %rdi  
         movq    %rdi, CPU_INFO_SELF(%rdi) /* ci->ci_self = ci */  
         movq    $1, %rsi  
         call    cpu_init_msrs   /* cpu_init_msrs(ci, true); */  
   
         call    xen_pmap_bootstrap          call    xen_pmap_bootstrap
   
         /*          /*

Legend:
Removed from v.1.65.8.3  
changed lines
  Added in v.1.66

CVSweb <webmaster@jp.NetBSD.org>