Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void IDT_Load(void)
- {
- asm volatile("cli");
- struct {
- unsigned short int limit;
- void* pointer;
- } __attribute__((packed)) idtp = {
- IDT_ENTRIES * 8 - 1,
- idt,
- };
- asm volatile("lidt %0" : : "m" (idtp));
- asm volatile("sti"); // Interrupts aktivieren
- /*asm volatile("int $0x8"); */
- //asm volatile("int $0x0D");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement