Toomas Soome
bcbb1e60a1
loader: userboot/test should accept more than one disk
...
allow to specify multiple -d options, test -d disk1 -d disk2 ..
2019-11-03 09:14:29 +00:00
Toomas Soome
96b2f9c996
userboot/test should use PRIx64 as one would expect from prefix 0x
...
Test is printing decimal value after prefix 0x.
2019-10-24 07:49:33 +00:00
Warner Losh
8299b37f85
Centralize several variables.
...
MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the
same, so set them in defs.mk. MAN= is common, so set it here too.
This removes a lot of boring repetition from the Makefiles that added
almost no value.
2018-02-02 06:32:26 +00:00
Warner Losh
e8e6a5f920
Make putenv and getenv match the userland definition of these
...
functions, tweak man page and one variable that shouldn't be const
anymore.
Sponsored by: Netflix
2017-12-06 02:00:00 +00:00
Warner Losh
253d60eecc
Don't inherit CFLAGS. This a specialized test program, and can be
...
built with mostly default flags. Do so in anticipation of the rest of
stand not building with system headers.
Sponsored by: Netflix
2017-12-05 21:38:14 +00:00
Warner Losh
59d395e062
Undefine _STANDALONE since this is test code. This is unsastifying,
...
but since we sadly only have one test, put this in as a stopgap.
Sponsored by: Netflix
2017-12-02 00:07:25 +00:00
Warner Losh
d927d443e1
Mark the func pointer as __dead2. It looks up loader_main, which
...
either aborts or exits, but never returns. Tag it as a non-returning
function rather than supply a bogus return(0) at the end of main.
CID: 1382885
Sponsored by: Netflix
2017-11-24 05:01:00 +00:00
Warner Losh
ca987d4641
Move sys/boot to stand. Fix all references to new location
...
Sponsored by: Netflix
2017-11-14 23:02:19 +00:00