Differences From Artifact [878278ef2e]:
- File kcore/boot.c — part of check-in [21467a6dc9] at 2019-06-27 12:13:43 on branch trunk — updates (user: lexi, size: 137) [annotate] [blame] [check-ins using]
To Artifact [6007ea2ce5]:
- File kcore/boot.c — part of check-in [a14ceee056] at 2019-06-27 21:39:17 on branch trunk — development milestone (user: lexi, size: 361) [annotate] [blame] [check-ins using]
- File kcore/boot.rt.c — 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: 361) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 |
#include "core.h" extern stat entry(kenv); stat _boot(unsigned int argc, char** argv) { kenv e = { argc, argv }; return entry(e); } |
| | > > > > > > |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#include <k/core.h> extern stat entry(kenv); stat _boot(unsigned int argc, char** argv) { kenv e = { // todo: determine terminal class and set term vs ansi correctly! { {kiostream_term, 0}, {kiostream_term, 1} }, // chan std { {kiostream_closed}, {kiostream_term, 2} }, // chan err argc, argv, null // no environment yet }; return entry(e); } |