fix: define the idt struct
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
// doc : https://wiki.osdev.org/Interrupt_Descriptor_Table#IDTR
|
||||
struct {
|
||||
struct idt_descriptor {
|
||||
uint16_t size;
|
||||
uint32_t offset;
|
||||
} __attribute__((packed)) idt_descriptor;
|
||||
} __attribute__((packed));
|
||||
|
||||
#define IDT_SIZE 256
|
Reference in New Issue
Block a user