search for: cr0_pe

Displaying 3 results from an estimated 3 matches for "cr0_pe".

2008 Jun 27
1
[PATCH] [HVM] Fix lmsw handling
The lmsw instruction can be used to set CR0_PE, but can never clear it, once set. Currently, as far as I can see, there is no provision to keep lmsw from clearing CR0_PE, either in the vmx code or in x86_emulate code (which is used by SVM to emulate lmsw). This patch fixes this issue. Signed-off-by: Trolle Selander <trolle.selander@eu.citri...
2006 Feb 10
0
(no subject)
...962e411 tools/firmware/vmxassist/setup.c --- a/tools/firmware/vmxassist/setup.c Fri Feb 10 02:23:36 2006 +++ b/tools/firmware/vmxassist/setup.c Fri Feb 10 15:28:17 2006 @@ -363,7 +363,7 @@ initialize_real_mode = 1; cr0 = get_cr0(); -#ifndef TEST +#ifdef TEST set_cr0(cr0 | CR0_PE); #endif set_cr0(cr0 & ~CR0_PE); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2003 Aug 22
3
PAE removal patch for testing
...4 +330,7 @@ #endif /* Now enable paging */ -#ifdef PAE - movl %cr4,%eax - orl $CR4_PAE,%eax - movl %eax,%cr4 - movl $R(_IdlePDPT),%eax -#else - movl R(_IdlePTD),%eax -#endif + movl R(_IdlePTD), %eax movl %eax,%cr3 /* load ptd addr into mmu */ movl %cr0,%eax /* get control word */ orl $CR0_PE|CR0_PG,%eax /* enable paging */ @@ -358,10 +353,10 @@ /* set up bootstrap stack */ movl _proc0paddr,%esp /* location of in-kernel pages */ addl $UPAGES*PAGE_SIZE,%esp /* bootstrap stack end location */ - xorl %eax,%eax /* mark end of frames */ + xorl %eax,%eax /* mark end of frames */ m...