Luna/kernel/include/interrupts/Context.h
apio e6c6a1677a Rename "SavedContext" to "Context"
Seemed like a more appropriate name.
2022-09-20 19:56:43 +02:00

15 lines
311 B
C

#pragma once
#include <stdint.h>
struct Context
{
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;
};