diff options
| author | hachem <im@hachem.wtf> | 2026-10-10 10:31:01 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-10 10:31:01 +0200 |
| commit | cc8768d33a6ff6cc64306d01679a10c3a1847736 (patch) | |
| tree | 144b2f68c6e6ed482b99e45e981854bfd5db59e6 /boot/limine.zig | |
| parent | 89abe49aad1ac7416844f3c5e95655ad2614392b (diff) | |
chore: small refactor
Diffstat (limited to 'boot/limine.zig')
| -rw-r--r-- | boot/limine.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/limine.zig b/boot/limine.zig index 947a5be..df5f6d1 100644 --- a/boot/limine.zig +++ b/boot/limine.zig @@ -1,5 +1,5 @@ // limine scans the loaded image for these magic numbers, baserevision is -// a handshake, essentially we ask limine for rev 3, and if it supports it, +// id0 handshake, essentially we ask limine for rev 3, and if it supports it, // limine zeros it out pub const BaseRevision = extern struct { magic0: u64 = 0xf9562b2d5c95a6c8, @@ -27,8 +27,8 @@ pub const RequestsEndMarker = extern struct { // every request id starts with this common magic, then two request specific // words, bootloader scans .limine_requests for these and fills in `response` -fn requestId(a: u64, b: u64) [4]u64 { - return .{ 0xc7b1dd30df4c8b88, 0x0a82e883a194f07b, a, b }; +fn requestId(id0: u64, id1: u64) [4]u64 { + return .{ 0xc7b1dd30df4c8b88, 0x0a82e883a194f07b, id0, id1 }; } // this comes from the limine spec |
