X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/84d85ea7b7bba78431600369cf1717166e156cd0..cd09c4b222e4ddf45a42522563ae2471a829d1c8:/lunaix-os/includes/arch/x86/idt.h diff --git a/lunaix-os/includes/arch/x86/idt.h b/lunaix-os/includes/arch/x86/idt.h new file mode 100644 index 0000000..af0ae7d --- /dev/null +++ b/lunaix-os/includes/arch/x86/idt.h @@ -0,0 +1,7 @@ +#ifndef __LUNAIX_IDT_H +#define __LUNAIX_IDT_H 1 +#define IDT_ATTR(dpl) ((0x70 << 5) | (dpl & 3) << 13 | 1 << 15) + +void +_init_idt(); +#endif \ No newline at end of file