]> git.lizzy.rs Git - plan9front.git/commit
kernel: simplify /boot/boot: 28K down to less than 4K.
authorcinap_lenrek <cinap_lenrek@felloff.net>
Tue, 27 Jul 2021 18:21:08 +0000 (18:21 +0000)
committercinap_lenrek <cinap_lenrek@felloff.net>
Tue, 27 Jul 2021 18:21:08 +0000 (18:21 +0000)
commitdf04ea8d6c2e1e75307a77f2b086a836f480ab72
tree4c7e66b943682a7ead68fd71011a352382b70f31
parent70d173bfa49e6c7cfd560799d83713d41b120e45
kernel: simplify /boot/boot: 28K down to less than 4K.

- avoid print() format routines (saves alot of code)
- avoid useless opens of /dev/cons (already done by initcode)
- avoid useless binds of /env and /dev (already done by initcode)
- do bind of /shr in bootrc, it is not needed by us
- we'r pid 1 so kernel will print the exit message for us
sys/src/9/boot/aux.c [deleted file]
sys/src/9/boot/boot.c
sys/src/9/boot/boot.h [deleted file]
sys/src/9/boot/bootmkfile
sys/src/9/boot/bootrc
sys/src/9/boot/printstub.c [deleted file]