the only convenient way to use the returned value with numerous library
routines which have not been altered to properly use constified char *.
This was found to be necessary when I extended yamon to hold a string
describing a video mode for use with my experimental radeonfb.
Same object code is generated (except in prf.c, where putchar argument
type was changed to int to match the prototype and one instrcution
changes accordingly).
strategy() in ofdev.c was not ANSIified in this sweep, b/c that
changes code generated at call sites!
try to locate it using the residual data. On some machines this doesn't
work, so we fall back to hardcoding it. This should fix isa interrupts
on the 7025-F40, which has the IVR at a different location.
if the kernel does not set the interface up after we set an address,
do it explicitly, unless we (previously) set it down on user request.
This will allow the network drivers to be "fixed" while keeping visible
behaviour the same. Part of fixing PR 30694.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
execute permission. (I don't understand yet why the latter is needed.)
This fixes crashes of MP kernels reported by Kurt Schreiner and in
the context of PR port-amd64/33927 (which is about a different problem
otherwise).
MP kernels reported to boot again by Dave Huang and Kurt Schreiner.
for sparc64 systems. This should fix PR#33987.
Also adapt to the way sparc64 32-bit kernels now report its CPU
architecture -- these still need the sparc64 boot loader, but now
report hw.machine = sparc. Adapt by testing machdep.cpu_arch
instead.
Hints from martin and mrg.
out how to properly reboot these machines, instead we make use of the
auto-poweron-alarm time, and power cycle the machine to simulate a
reboot. This is a hack, but until I get documentation on these machines,
at least you will be able to reboot them.