This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.
Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.
This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.
Approved by core@. Fixes PR port-evbmips/32362.
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.