Differences From Artifact [2671a43f32]:
- File kcore/boot.rt.x86.lin.64.s — part of check-in [d27f92e3b7] at 2019-06-28 04:32:40 on branch trunk — restructure file naming conventions and conclusively fix longstanding architectural build system problems with loads and loads of variables and a shit ton of function calls (user: lexi, size: 259) [annotate] [blame] [check-ins using]
- File kcore/boot.x86.lin.64.s — part of check-in [ec9b2b74b3] at 2019-06-27 22:14:56 on branch trunk — fixes for shared building (user: lexi, size: 259) [annotate] [blame] [check-ins using]
To Artifact [22c891476d]:
- File kcore/boot.rt.x86.lin.64.s — part of check-in [e794c5edef] at 2019-06-29 09:31:50 on branch trunk — add a bunch of code, port the header mechanism to gpp; add a fuckton of definitions and compatibility header code; notably, add core function kstop and x86.lin.{32,64} impl. update docs accordingly (user: lexi, size: 258) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
; vim: ft=nasm
bits 64
%include "../arch/x86.lin.64.s"
global _start:function
extern _boot
extern entry;
_start:
mov rbp, rsp
mov rdi, [rbp + 0] ; argc
lea rsi, [rbp + 8] ; argv
call _boot
mov sys.reg.1, sys.reg.ret
mov sys.reg.0, sys.exit
sys.call
|
| |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
; vim: ft=nasm bits 64 %include "../arch/x86.lin.64.s" global _start:function extern _boot extern entry _start: mov rbp, rsp mov rdi, [rbp + 0] ; argc lea rsi, [rbp + 8] ; argv call _boot mov sys.reg.1, sys.reg.ret mov sys.reg.0, sys.exit sys.call |