_splraise(): Don't take action if ipl is less than curipl.
Issue on ep93xx noted by Jonathan Chapman, and at91, footbridge, and
ixp12x0 have the same problem.
(becc is also wrong, but wrong differently.)
Rework cnmagic(9):
- No more re-defining cn_trap(), cn_isconsole(), etc. Intead...
- Always provide cpu_Debugger() and console_debugger() in kern_stub.c.
- Move cnmagic(9)-related bits from <sys/systm.h> to <dev/cons.h>.
- Make ch_check_magic() return true/false based on "magic sequence
matched, action taken", eliminating the cn_trapped dance many
drivers did.
- Add a way to explicitly set the action using an API setter, rather
than having to define a CPP macro at the right time.
- Update callers to always pass their cnmagic state by reference rather
than by value (which was fine as a pure macro interface, not so much
when function calls are involved).
Bonvenon al NetBSD 11.99.11.
syslog.conf: Don't spam console with each failed login or ftp/http xfer.
This just changes the default for new installations; users who want
their console to fill up with the constant spew of ssh attacks, or
ftp/http xfers, can just put it back the way it was before.
PR bin/60506: default syslog.conf spams console with ssh/http attacks
Add a provision for specifying the 68040/68060 U0 and U1 page attributes
in machine_bootmap[]. This is needed for the Atari port, where the Milan
uses U0 to map some of the I/O region in order to enable big-endian access.
wsdisplay: update scr_flags properly even after WSDISPLAYIO_MODE_DUMBFB
Fixes PR/60948 (WSDISPLAYIO_GMODE returns wrong value once
MODE_DUMBFB is set).
Should be pulled up to netbsd-11 and netbsd-10.
atari: split out STE and PTE initialization into pmap_bootstrap1()
This prepares for the transition to the m68k NEW_PMAP.
Tested on TT030 (both RELOC enabled and disabled) and Milan.
atari: move crash dump functions to machdep.c as other m68k ports
For now header initialization is not changed, and using temporary
local function declarations until future cleanup on NEW_PMAP transition.
atari: add a missed out of bounds check in memory accouting for Milan
Fortunately currently harmless because usable_segs[NMEM_SEGS].start
is boot_segs[0].start and it's always zero.