freebsd-nq/sys/sparc64
Marius Strobl 07e6e81e2f - The firmware of Sun Fire V1280 has a misfeature of setting %wstate to
7 which corresponds to WSTATE_KMIX in OpenSolaris whenever calling into
  it which totally screws us even when restoring %wstate afterwards as
  spill/fill traps can happen while in OFW. The rather hackish OpenBSD
  approach of just setting the equivalent of WSTATE_KERNEL to 7 also is
  no option as we treat %wstate as a bit field. So in order to deal with
  this problem actually implement spill/fill handlers for %wstate 7 which
  just act as the WSTATE_KERNEL ones except of theoretically also handling
  32-bit, turn off interrupts completely so we don't even take IPIs while
  in OFW which should ensure we only take spill/fill traps at most and
  restore %wstate after calling into OFW once we have taken over the trap
  table. While at it, actually set WSTATE_{,PROM}_KMIX before calling into
  OFW just like OpenSolaris does, which should at least help testing this
  change on non-V1280.
- Remove comments referring to the %wstate usage in BSD/OS.
- Remove the no longer used RSF_ALIGN_RETRY macro.
- Correct some trap table addresses in comments.
- Ensure %wstate is set to WSTATE_KERNEL when taking over the trap table.
- Ensure PSTATE_AM is off when entering or exiting to OFW as well as that
  interrupts are also completely off when exiting to OFW as the firmware
  trap table shouldn't be used to handle our interrupts.
2010-03-21 13:09:54 +00:00
..
central Enroll these drivers in multipass probing. The motivation behind this 2009-12-22 21:02:46 +00:00
compile
conf Remove COMPAT_43TTY from stock kernel configuration files. 2010-03-13 09:21:00 +00:00
ebus Add epic(4), a driver for the front panel LEDs in Sun Fire V215/V245. 2010-01-10 15:44:48 +00:00
fhc Enroll these drivers in multipass probing. The motivation behind this 2009-12-22 21:02:46 +00:00
include - The firmware of Sun Fire V1280 has a misfeature of setting %wstate to 2010-03-21 13:09:54 +00:00
isa - Correct an off-by-one error when calculating the end of a child 2009-12-22 21:53:19 +00:00
pci - Add quirk handling for Sun Fire V1280. The firmware of these machines 2010-03-17 20:01:01 +00:00
sbus The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
sparc64 - The firmware of Sun Fire V1280 has a misfeature of setting %wstate to 2010-03-21 13:09:54 +00:00