summaryrefslogtreecommitdiff
path: root/stage2/paging.asm
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-10 18:07:35 +0100
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-10 18:07:35 +0100
commit4210c4ae384753825e10c5ea4ad1e99e9bba2c1f (patch)
tree4406242c6b6e6eb4658c1bc3cbe927b378f11dbc /stage2/paging.asm
parentbc00cb0649167958aed2f481580af3b4f21043b0 (diff)
downloadcuddles-4210c4ae384753825e10c5ea4ad1e99e9bba2c1f.tar.xz
handle IRQs
Diffstat (limited to 'stage2/paging.asm')
-rw-r--r--stage2/paging.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/paging.asm b/stage2/paging.asm
index 91ed0ac..cedc1e9 100644
--- a/stage2/paging.asm
+++ b/stage2/paging.asm
@@ -30,6 +30,7 @@ paging:
mov di, PAGETABLE
+ ; mask all IRQs
mov al, 0xFF
out 0xA1, al
out 0x21, al
@@ -47,7 +48,6 @@ paging:
mov ecx, 0xC0000080
rdmsr
-
or eax, 0x00000100
wrmsr