diff options
Diffstat (limited to 'i386/i386/cpuboot.S')
-rw-r--r-- | i386/i386/cpuboot.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S index a101f2f4..61dac8d2 100644 --- a/i386/i386/cpuboot.S +++ b/i386/i386/cpuboot.S @@ -123,14 +123,14 @@ nopae: * page-level write protection works in kernel mode. */ //set_cr0(get_cr0() | CR0_PG | CR0_WP); - movl %cr0, %eax - orl $(CR0_PG | CR0_WP), %eax - movl %eax, %cr0 + mov %cr0, %eax + or $(CR0_PG | CR0_WP), %eax + mov %eax, %cr0 //set_cr0(get_cr0() & ~(CR0_CD | CR0_NW)); - movl %cr0, %eax - andl $(~(CR0_CD | CR0_NW)), %eax - movl %eax, %cr0 + mov %cr0, %eax + and $(~(CR0_CD | CR0_NW)), %eax + mov %eax, %cr0 //if (CPU_HAS_FEATURE(CPU_FEATURE_PGE)) |