Interrupt padding
Posted: Wed Mar 12, 2003 10:27 pm
I was looking at the source for Mr. Xsism's beautiful IDT Kernel, and noticed that all of his interrupt calls were prefaced with
and of course finished with the appropriate pop statements and an iret. Is this code necessary for the interrupt to function?
Code: Select all
pusha
push ds
push es
push fs
push gs
mov eax,0x10 ; Data segment
mov ds,eax
mov es,eax