summaryrefslogtreecommitdiff
path: root/boot/pm.asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-02 14:53:09 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-02 14:53:09 +0200
commit5348a94a6e7a16a070c502c29db30a08253a99a3 (patch)
treea60838ee9c4b7ac854084fe0eeb0e579a5afc33d /boot/pm.asm
parent347ee926fd09d7fb45025f2c4e4a4eeab83459c9 (diff)
Debugging paging problem on VirtualBox (VT-x)
Diffstat (limited to 'boot/pm.asm')
-rw-r--r--boot/pm.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/pm.asm b/boot/pm.asm
index 8a4f745..73bb9d3 100644
--- a/boot/pm.asm
+++ b/boot/pm.asm
@@ -11,6 +11,7 @@ switch_to_pm:
cli ;switch off interrupts!
lgdt [gdt_descriptor] ;load descriptor table!
+ lldt [gdt_descriptor] ;load descriptor table! (local)
;switch on 32-bit protected mode
mov eax, cr0