summaryrefslogtreecommitdiff
path: root/kernel/cpu/idt.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-04 12:33:14 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-04 12:33:14 -0400
commitb6e1e940603830ec221ea1331309479bd420015e (patch)
treeff6dbd8f4706ea6a903904d750717252915183c1 /kernel/cpu/idt.c
parentupdate fs header (diff)
downloadcomus-b6e1e940603830ec221ea1331309479bd420015e.tar.gz
comus-b6e1e940603830ec221ea1331309479bd420015e.tar.bz2
comus-b6e1e940603830ec221ea1331309479bd420015e.zip
fmt
Diffstat (limited to 'kernel/cpu/idt.c')
-rw-r--r--kernel/cpu/idt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/cpu/idt.c b/kernel/cpu/idt.c
index 3929990..748826c 100644
--- a/kernel/cpu/idt.c
+++ b/kernel/cpu/idt.c
@@ -89,7 +89,8 @@ static void isr_print_regs(regs_t *regs)
printf("r14: %#016lx (%lu)\n", regs->r14, regs->r14);
printf("r15: %#016lx (%lu)\n", regs->r15, regs->r15);
printf("rip: %#016lx (%lu)\n", regs->rip, regs->rip);
- printf("rflags: %#016lx (%lu)\n", (uint64_t)regs->rflags.raw, (uint64_t)regs->rflags.raw);
+ printf("rflags: %#016lx (%lu)\n", (uint64_t)regs->rflags.raw,
+ (uint64_t)regs->rflags.raw);
puts("rflags: ");
if (regs->rflags.cf)
puts("CF ");
@@ -170,8 +171,7 @@ char *EXCEPTIONS[] = {
"Reserved",
};
-void idt_exception_handler(uint64_t exception, uint64_t code,
- regs_t *state)
+void idt_exception_handler(uint64_t exception, uint64_t code, regs_t *state)
{
uint64_t cr2;