From ca76600acc8bf7a02346efa5bd8f17072210ec01 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 30 Oct 2023 21:47:59 +0100 Subject: Cleanup of things that did not get formatted or not included in old commits --- cpu/idt.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'cpu/idt.h') diff --git a/cpu/idt.h b/cpu/idt.h index 853b1e0..025ba75 100644 --- a/cpu/idt.h +++ b/cpu/idt.h @@ -54,19 +54,13 @@ typedef struct registers registers_t; struct interrupt_frame; -struct kernel_registers { - // uint32_t ds; - // uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax; - // uint32_t interrupt_number, error_code; - uint32_t error_code; - uint32_t eip, cs, eflags; -}; - struct registers { - uint32_t ds; - uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax; - uint32_t interrupt_number, error_code; - uint32_t eip, cs, eflags, useresp, ss; + uint32_t error_code; + uint32_t eip; + uint32_t cs; + uint32_t eflags; + uint32_t esp; + uint32_t ss; }; void idt_init(void); -- cgit v1.2.3