riscv: Fix bus_space_{alloc,free,mmap} macros
The macros bus_space_alloc, bus_space_free, and bus_space_mmap were
incorrectly passing the bus space cookie as their first parameter.
This patch updates these macros to pass the entire bus space tag pointer
instead as per other macros.
risc-v: fix assemble opcode helper macros
- remove *_SUBI variants as these instructions don't exist and the
assembler doesn't help. *_ADDI should be used.
- use 'iw' instead of 'wi' to match real instructions.
Add information for sensors on V215/V245.
Add patches for incorrect values on SB2500-S dbcool and V215/V245 adt7462sm.
Update the gpio settings for the additional timeout property in pcagpio and
pcf8574.
Thanks to Ken Wellsch for testing and investigating sensors on his V215.
Split out the logic for handling indicators, alerts and timeouts, rather
than having special values in the properties.
Set envsys critical state for alerts when the sensor value isn't the default.
Add comments to explain the logic.
netbsd32_ptrace: Need to pre-allocate dbregs before read/write.
Followup for:
PR kern/60658: netbsd32_process_read_dbregs() needs the same fix as
native amd64 process_read_dbregs()
Check if RTC is disabled only in virtualized environments.
On a real PC, bits 0-5 may be used for the date alarm function,
causing RTC failure to attach and
a "WARNING: no TOD clock present" warning in the boot log.
Verified no regression on QEMU/MICROVM by imil@
PR kern/60672
Remove the global __do_color_init, this is now obsolete. It was used
to force the terminal to be updated with the default colours because
the older colour code could not distinguish between default colours and
no colours. Now this is fixed so the forcing is no longer required.