summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-05-21 00:11:58 +0200
committerAlmuHS <almuhs@github.com>2019-05-21 00:11:58 +0200
commitfa296cdd553ec066ffd74dfd58366ac1a364c03f (patch)
tree505d8757ac60c86d6eef09a6f3311afd20e861c9
parenta3abd9442168f15322a1b64ce75b60ce1ca81c15 (diff)
fix: changed mov to movl
-rw-r--r--i386/i386/cpuboot.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
index 95d40e61..30b2e554 100644
--- a/i386/i386/cpuboot.S
+++ b/i386/i386/cpuboot.S
@@ -97,7 +97,7 @@ _apboot:
#ifndef MACH_HYP
//if (!CPU_HAS_FEATURE(CPU_FEATURE_PAE))
- mov cpu_features, %eax
+ movl cpu_features, %eax
test $(1<<CPU_FEATURE_PAE), %eax
jnz setpae
jz nopae
@@ -143,18 +143,18 @@ nopae:
//set_cr4(get_cr4() | CR4_PGE);
movl %cr4, %eax
orl $CR4_PGE, %eax
- mov %eax, %cr4
+ movl %eax, %cr4
nopge:
nop
#endif /* MACH_HYP */
-//flush_instr_queue();
+ //flush_instr_queue();
jmp 0f
0:
//flush_tlb();
- mov %cr3, %eax
- mov %eax, %cr3
+ movl %cr3, %eax
+ movl %eax, %cr3
movl stack_ptr, %esp