Browse Source

cld going into irq/isr handlers

Kevin Lange 3 years ago
parent
commit
2de88539f4
2 changed files with 2 additions and 0 deletions
  1. 1 0
      kernel/irq.S
  2. 1 0
      kernel/isr.S

+ 1 - 0
kernel/irq.S

@@ -46,6 +46,7 @@ irq_common:
     mov %ax, %es
     mov %ax, %fs
     mov %ax, %gs
+    cld
 
     /* Call interrupt handler */
     push %esp

+ 1 - 0
kernel/isr.S

@@ -70,6 +70,7 @@ isr_common:
     mov %ax, %es
     mov %ax, %fs
     mov %ax, %gs
+    cld
 
     /* Call fault handler */
     push %esp