Set INT vector 77h and below to dummy iret handler.

Change based on sf patch #507.

Sebastian
This commit is contained in:
Stanislav Shwartsman 2012-12-31 06:33:01 +00:00
parent c6b1f6c22b
commit df7ba90704

View File

@ -10679,9 +10679,9 @@ post_init_pic:
ret
post_init_ivt:
;; set all interrupts to default handler
;; set first 120 interrupts to default handler
xor di, di ;; offset index
mov cx, #0x0100 ;; counter (256 interrupts)
mov cx, #0x0078 ;; counter (120 interrupts)
mov ax, #0xF000
shl eax, #16
mov ax, #dummy_iret_handler