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: |
|
|
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 |
|
|
/* |
/* |