Explicitly clear p_md.md_flags for newer binaries. Fixes PR port-hppa/48755.
OK: skrll
handle unused variables
include VGA kernel options
provide a poor man's fmemopen()
add more places where attribute is valid.
more unused variables.
Rewrite the dmamap handling to allocate and cache the dmamaps beforehand.
Calling bus_dmamap_create/destroy is no longer possible in interrupt context.
Move the dmamaps to the end of struct ubsec_q so the rest of the struct
can be cleared with one call to memset().

As a bonus we get a 25% increase in throughput encrypting 8K blocks.
Include cpufunc_proto.h before locore.h so that we define cpu_cpwait first.
XXX: this is a mess.
unbreak gcc4.5
Move xscale cpu_cpwait back from cpufunc_proto.ht to cpufunc.h
No need to use annoying HAVE_GCC to handle gcc48 m68k behavior chnages.
Add proper RealTime Clock support for HP9000/425e.

As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.

Tested on HP425e (with mcclock) and HP362 (with old rtc).
Add RTC support for HP9000/425e to bootloader too.

Also put several cleanup:
- make local functions and variables static
- use proper variable types
- some KNF

Note it turns out that extreme slowness of netboot on hp300 is
caused by the too slow access of the traditional RTC chip at intio
(i.e. netboot on 425e is so much faster than others). Oh well.
Note recent hp300 changes for HP9000/425e.
Comment KNF
Wrap a long line.
Deal in 4KB pages for vchiq regardless of ARM page size.
At least event(3) looks better when passed through tbl(1), so set USETBL.