diff options
author | Anton Kling <anton@kling.gg> | 2023-10-30 21:47:59 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-30 21:49:48 +0100 |
commit | ca76600acc8bf7a02346efa5bd8f17072210ec01 (patch) | |
tree | 4ebf2fd205701d1582afb33420028621cab6c674 /cpu | |
parent | 5a339a9b7b5cdcee3629b14f1b6a58ac4ab60fce (diff) |
Cleanup of things that did not get formatted or not included in old commits
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/idt.h | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -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); |