Luna/kernel/include/interrupts/SavedContext.h
2022-09-05 16:13:51 +02:00

15 lines
316 B
C

#pragma once
#include <stdint.h>
struct SavedContext
{
uint64_t cr2;
uint64_t ds;
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;
};