summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-05-20 21:38:40 +0200
committerAlmuHS <almuhs@github.com>2019-05-20 21:38:40 +0200
commit7661bf57b26927e8a3842991eb21fb61893ead7e (patch)
treed1c89b6bfc90ed46a4312108db3d3a0b74d5738f
parent3292a8052d523799c399ef097a0abd9d00f29735 (diff)
experiment: try to fix address
-rw-r--r--i386/i386/cpuboot.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
index beb3c78b..482740c6 100644
--- a/i386/i386/cpuboot.S
+++ b/i386/i386/cpuboot.S
@@ -92,7 +92,7 @@ _apboot:
#if PAE
//set_cr3((unsigned)_kvtophys(kernel_pmap->pdpbase));
- movl pdpbase_addr, %eax
+ movl $pdpbase_addr, %eax
movl %eax, %cr3
#ifndef MACH_HYP
@@ -112,7 +112,7 @@ nopae:
#endif /* MACH_HYP */
#else
//set_cr3((unsigned)_kvtophys(kernel_page_dir));
- movl kernel_page_dir_addr, %eax
+ movl $kernel_page_dir_addr, %eax
movl %eax, %cr3
#endif /* PAE */