Files
Operator-system/idt.h

33 lines
469 B
C

#ifndef IDT_H
#define IDT_H
#include <efi.h>
#include "boot_info.h"
typedef struct {
UINT64 r15;
UINT64 r14;
UINT64 r13;
UINT64 r12;
UINT64 r11;
UINT64 r10;
UINT64 r9;
UINT64 r8;
UINT64 rbp;
UINT64 rdi;
UINT64 rsi;
UINT64 rdx;
UINT64 rcx;
UINT64 rbx;
UINT64 rax;
UINT64 vector;
UINT64 error_code;
UINT64 rip;
UINT64 cs;
UINT64 rflags;
} ISRFrame;
void idt_init(BootInfo *Boot);
#endif