Luna/kernel/include/interrupts/Context.h

14 lines
298 B
C
Raw Normal View History

2022-09-05 14:13:51 +00:00
#pragma once
#include <stdint.h>
struct Context
2022-09-05 14:13:51 +00:00
{
uint64_t cr2, ds;
2022-09-05 14:13:51 +00:00
uint64_t r15, r14, r13, r12, r11, r10, r9, r8, rsi, rdi, rbp, rdx, rcx, rbx, rax;
uint64_t number;
union {
uint64_t error_code;
uint64_t irq_number;
};
uint64_t rip, cs, rflags, rsp, ss;
};