diff options
| author | hachem <im@hachem.wtf> | 2026-10-04 03:05:36 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-04 03:05:36 +0200 |
| commit | 5cb9c6c03270487ee65a36828098f4f25f874bb6 (patch) | |
| tree | fcd4cb432faad25fbc8152ba4ee680fbc1af8bb1 /boot/regs.zig | |
| parent | 7c1bd03a71cccfcf48e79d241787021b0de98e73 (diff) | |
chore: cleanup
Diffstat (limited to 'boot/regs.zig')
| -rw-r--r-- | boot/regs.zig | 6 |
1 files changed, 2 insertions, 4 deletions
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 |
