summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-03 15:26:19 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-03 15:26:19 +0200
commite5e674724ec527c45efaa1622d0e9a1618757ca3 (patch)
treed7bd7a4d6c9b155b6828171b0a80be5b5bac79cd /asm
parentfcfa7a7537ed76a63896ec5a9aa39cfc989d761c (diff)
system clock
Diffstat (limited to 'asm')
-rw-r--r--asm/int_clock_handler.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/int_clock_handler.asm b/asm/int_clock_handler.asm
index 177492f..d1fbb03 100644
--- a/asm/int_clock_handler.asm
+++ b/asm/int_clock_handler.asm
@@ -6,6 +6,8 @@ global int_clock_handler
[bits 32]
int_clock_handler:
+
+ cli
;Notice there is no IRQ number or error code - we don't need them
@@ -33,5 +35,6 @@ int_clock_handler:
out 0x20, al ;Acknowledge IRQ, so we keep getting interrupts
;We didn't push an error code or IRQ number, so we don't have to edit esp now
+ sti
iret ;Interrupt-Return