I work on Intel-Atom 32bits (Assembly AT&T).
I want to link my ISR to a vector interrupt 0x33:
push %ebp //save the context to swith back
movl %esp,%ebp
movl $OSTickISR, %eax //address of int 0x33 = address of OSTickISR
movl $0x33*4, %ebx
movl %eax, (%ebx)
pop %ebp //Return to the calling function
ret
When I try to use my int $0x33, nothing happends !!!
What was wrong ?
Resolved :), as there is a BIOS, it already built the GDT/IDT, so I found the address of IDT using sidt and sgdt instructions, and i added my ISR to sidt