Make interrupt landing pads safe against external DS values

This commit is contained in:
Nero 2019-04-16 07:23:22 +00:00
parent 8cdc21b596
commit 3b3fa349d4
1 changed files with 8 additions and 8 deletions

View File

@ -77,42 +77,42 @@ intr_init:
irq0: irq0:
int 0x48 int 0x48
or byte [intr_flip], 0x01 or byte [cs:intr_flip], 0x01
jmp irqret jmp irqret
irq1: irq1:
int 0x49 int 0x49
or byte [intr_flip], 0x02 or byte [cs:intr_flip], 0x02
jmp irqret jmp irqret
irq2: irq2:
int 0x4A int 0x4A
or byte [intr_flip], 0x04 or byte [cs:intr_flip], 0x04
jmp irqret jmp irqret
irq3: irq3:
int 0x4B int 0x4B
or byte [intr_flip], 0x08 or byte [cs:intr_flip], 0x08
jmp irqret jmp irqret
irq4: irq4:
int 0x4C int 0x4C
or byte [intr_flip], 0x10 or byte [cs:intr_flip], 0x10
jmp irqret jmp irqret
irq5: irq5:
int 0x4D int 0x4D
or byte [intr_flip], 0x20 or byte [cs:intr_flip], 0x20
jmp irqret jmp irqret
irq6: irq6:
int 0x4E int 0x4E
or byte [intr_flip], 0x40 or byte [cs:intr_flip], 0x40
jmp irqret jmp irqret
irq7: irq7:
int 0x4F int 0x4F
or byte [intr_flip], 0x80 or byte [cs:intr_flip], 0x80
jmp irqret jmp irqret
hwiret: hwiret: