From 5cb9c6c03270487ee65a36828098f4f25f874bb6 Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 4 Oct 2026 03:05:36 +0200 Subject: chore: cleanup --- boot/regs.zig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'boot/regs.zig') diff --git a/boot/regs.zig b/boot/regs.zig index aedae99..7b2bb88 100644 --- a/boot/regs.zig +++ b/boot/regs.zig @@ -24,10 +24,8 @@ pub const Frame = extern struct { ss: u64, }; -// push/pop the 15 gprs in frames exact order (rax pushed first -> highest field, -// r15 last -> at rsp = &frame). shared by every save/restore stub so they cant -// drift from the frame layout above. `mov %rsp, %rdi` after push_gprs hands the -// handler a *frame +// push/pop the 15 gprs in frames exact order +// (rax pushed first -> highest field, r15 last -> at rsp = &frame) pub const PUSH_GPRS = \\push %rax \\push %rbx -- cgit v1.3