freebsd-dev/sys/sparc64/include
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
..
_align.h Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an 2009-09-08 20:45:40 +00:00
_bus.h
_inttypes.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
_limits.h
_stdint.h
_types.h
asi.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
asm.h
asmacros.h Predict KASSERTs to be true. 2010-02-13 19:17:06 +00:00
atomic.h - bump __FreeBSD version to reflect added buf_ring, memory barriers, 2008-11-22 05:55:56 +00:00
bus_common.h - Add macros for the states of the interrupt clear registers. 2009-12-22 21:48:18 +00:00
bus_dma.h
bus_private.h Improve r185008 so the streaming cache is only flushed when 2009-02-10 21:51:33 +00:00
bus.h
cache.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
ccr.h
clock.h
cmt.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
cpu.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
cpufunc.h
db_machdep.h
dcr.h o Add support for UltraSparc-IV+: 2010-03-17 22:45:09 +00:00
elf.h Change the load base to below 2GB so PIE binaries work including when 2009-10-18 13:08:15 +00:00
endian.h
exec.h
fireplane.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
float.h
floatingpoint.h
fp.h
frame.h
fsr.h
gdb_machdep.h
idprom.h
ieee.h
ieeefp.h
in_cksum.h Sync with the other archs and wrapper the prototype of in_cksum_skip(9) 2009-10-26 22:00:26 +00:00
instr.h
intr_machdep.h Merge from amd64/i386: 2009-12-24 15:43:37 +00:00
iommureg.h - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus 2009-12-23 22:02:34 +00:00
iommuvar.h - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus 2009-12-23 22:02:34 +00:00
jbus.h - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware 2010-02-13 14:13:39 +00:00
kdb.h
kerneldump.h
ktr.h - Search the whole OFW device tree instead of only the children of the 2010-02-13 16:52:33 +00:00
limits.h
lsu.h
md_var.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
memdev.h
metadata.h
mutex.h
nexusvar.h - Add the 'cmp' and 'core' pseudo-busses which are used to group CPU cores 2010-02-13 18:51:49 +00:00
ofw_machdep.h Modularize the Open Firmware client interface to allow run-time switching 2008-12-20 00:33:10 +00:00
ofw_mem.h
ofw_nexus.h
param.h Add a new sysctl for reporting all of the supported page sizes. 2009-09-18 17:04:57 +00:00
pcb.h Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00
pcpu.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
pmap.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
pmc_mdep.h
proc.h
profile.h
pstate.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h Some machines can not only consist of CPUs running at different speeds 2010-02-20 23:24:19 +00:00
stack.h
stdarg.h
sysarch.h
tick.h Some machines can not only consist of CPUs running at different speeds 2010-02-21 09:25:53 +00:00
tlb.h - Add TTE and context register bits for the additional page sizes supported 2010-03-17 20:23:14 +00:00
trap.h - There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB as 2009-03-19 20:46:51 +00:00
tsb.h
tstate.h
tte.h - Add TTE and context register bits for the additional page sizes supported 2010-03-17 20:23:14 +00:00
ucontext.h
upa.h - Search the whole OFW device tree instead of only the children of the 2010-02-13 16:52:33 +00:00
utrap.h
varargs.h
ver.h Add macros for the VER.impl of SPARC64 II to VIIIfx. 2010-03-17 21:00:39 +00:00
vm.h Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
vmparam.h - Use the generally more appropriate PROM base rather than the 2009-02-10 21:48:42 +00:00
watch.h
wstate.h - The firmware of Sun Fire V1280 has a misfeature of setting %wstate to 2010-03-21 13:09:54 +00:00