Alternatively, don't include <unistd.h>, but hard-code the value of
_SC_PAGESIZE. This avoids polluting the application's namespace, and
matches existing practice (CLK_TCK in <time.h>).
This does change the default size of /, but I'm going to rewrite
make_bsd_partitions next to make it less user-hostile.
(I'm not sure adding in 2 * ram is actually useful! Especially size it left
/usr with a -ve size on all my test installs with 256MB ram and 1GB disk)
Make bootsel code delete menu names if the partition is unused.
Use raw device for cdrom access (I've a kernel that doesn't report an invalid
label so /dev/cd0a dosn't work).
required for run-time retrieval of SHMLBA. While this does make visible
additional symbols which are not in the underscore-prefixed
implementation-reserved namespace, its impact should be negligible (and
most applications supposedly include <unistd.h> as well), and there is
prior art to that. Fixes PR kern/19135 from Chris Demetriou.
the environment:
CPUFLAGS Additional flags to the compiler/assembler to select
CPU instruction set options, CPU tuning options, etc.
Since CPUFLAGS is not implicitly set by any part of the make infrastructure,
it is safe to set in mk.conf, unlike COPTS or DBG.
to both the EEPROM *and* the PHY on the Ethernet interface now, at least,
though it is still not completely working.
Many thanks to Stephen Goadhouse at ADI for some hints.
from malloc etc. are handled.
This removes the old behavior to retry the operation with a less memory-
consuming method in case malloc failed (this mechanism has never really
worked, and is hard to test. Besides, it is less useful now than it was
20 years ago when the code was written...)