summaryrefslogtreecommitdiff
path: root/kernel/cpu/idt.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-04 12:00:48 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-04 12:00:48 -0400
commitceef8e2d87ec60042827e6d6aaf73b6df774051c (patch)
tree16721f404e8aeeba05d8769ceabab8334ed4d176 /kernel/cpu/idt.h
parentswitch to c11 (diff)
downloadcomus-ceef8e2d87ec60042827e6d6aaf73b6df774051c.tar.gz
comus-ceef8e2d87ec60042827e6d6aaf73b6df774051c.tar.bz2
comus-ceef8e2d87ec60042827e6d6aaf73b6df774051c.zip
fmt
Diffstat (limited to 'kernel/cpu/idt.h')
-rw-r--r--kernel/cpu/idt.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/kernel/cpu/idt.h b/kernel/cpu/idt.h
index 7f1d9e6..99a811d 100644
--- a/kernel/cpu/idt.h
+++ b/kernel/cpu/idt.h
@@ -11,38 +11,6 @@
#include <stdint.h>
-struct isr_regs {
- uint64_t r15;
- uint64_t r14;
- uint64_t r13;
- uint64_t r12;
- uint64_t r11;
- uint64_t r10;
- uint64_t r9;
- uint64_t r8;
- uint64_t rbp;
- uint64_t rdi;
- uint64_t rsi;
- uint64_t rdx;
- uint64_t rcx;
- uint64_t rbx;
- uint64_t rax;
-
- uint64_t rip;
- uint64_t cs;
- uint64_t rflags;
- uint64_t rsp;
- uint64_t ss;
-};
-
-struct rflags {
- uint64_t cf : 1, : 1, pf : 1, : 1, af : 1, : 1, zf : 1, sf : 1,
-
- tf : 1, if_ : 1, df : 1, of : 1, iopl : 2, nt : 1, md : 1,
-
- rf : 1, vm : 1, ac : 1, vif : 1, vip : 1, id : 1, : 42;
-};
-
void idt_init(void);
#endif /* idt.h */