freebsd-nq/sys/sparc64/include
John Baldwin 7e1f6dfe9d Modify the critical section API as follows:
- The MD functions critical_enter/exit are renamed to start with a cpu_
  prefix.
- MI wrapper functions critical_enter/exit maintain a per-thread nesting
  count and a per-thread critical section saved state set when entering
  a critical section while at nesting level 0 and restored when exiting
  to nesting level 0.  This moves the saved state out of spin mutexes so
  that interlocking spin mutexes works properly.
- Most low-level MD code that used critical_enter/exit now use
  cpu_critical_enter/exit.  MI code such as device drivers and spin
  mutexes use the MI wrappers.  Note that since the MI wrappers store
  the state in the current thread, they do not have any return values or
  arguments.
- mtx_intr_enable() is replaced with a constant CRITICAL_FORK which is
  assigned to curthread->td_savecrit during fork_exit().

Tested on:	i386, alpha
2001-12-18 00:27:18 +00:00
..
_inttypes.h o Add new header <sys/stdint.h>. 2001-11-02 18:05:43 +00:00
_limits.h o Add new header <sys/stdint.h>. 2001-11-02 18:05:43 +00:00
ansi.h o Stop abusing MD headers with non-MD types. 2001-12-01 03:43:01 +00:00
asi.h Header file updates needed for the cache code: add/correct some ASI 2001-11-09 19:37:52 +00:00
asm.h Add kernel headers needed to build libc. Some are bogus and/or just enough 2001-11-18 17:56:46 +00:00
asmacros.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
atomic.h Add atomic_load and store functions without membars, fwiw. 2001-09-03 22:03:25 +00:00
bus_memio.h Add bus_space and busdma support for sparc64. 2001-11-09 20:05:53 +00:00
bus_pio.h Add bus_space and busdma support for sparc64. 2001-11-09 20:05:53 +00:00
bus.h Add bus_space and busdma support for sparc64. 2001-11-09 20:05:53 +00:00
cache.h Add cache handling code for sparc64. 2001-11-09 19:12:06 +00:00
ccr.h Add definitions for bits in condition code register and the load store 2001-08-20 23:34:46 +00:00
clock.h The author isn't a [UC] Regents. Correct the copyright language. 2001-08-09 02:09:34 +00:00
cpu.h Fix get_cyclecount. Wrap in ifdef _KERNEL. 2001-10-20 18:51:10 +00:00
cpufunc.h Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
db_machdep.h 1. Remove kdbframe. Bad idea. 2001-11-18 03:41:12 +00:00
elf.h Implement elf_reloc. This makes klds work. 2001-10-27 07:09:40 +00:00
endian.h Make the NTOHL, NTOHS, HTONL and HTONS macros (which are nops on 2001-10-12 15:55:45 +00:00
exec.h The author isn't a [UC] Regents. Correct the copyright language. 2001-08-09 02:09:34 +00:00
float.h Add kernel headers needed to build libc. Some are bogus and/or just enough 2001-11-18 17:56:46 +00:00
fp.h 1. Split fp.h into fp.h and fsr.h so that the latter can be included 2001-11-18 04:00:22 +00:00
frame.h 1. Remove kdbframe. Bad idea. 2001-11-18 03:41:12 +00:00
fsr.h 1. Split fp.h into fp.h and fsr.h so that the latter can be included 2001-11-18 04:00:22 +00:00
idprom.h Add a structure defintion for the id prom contents. 2001-11-18 20:50:11 +00:00
ieee.h Add kernel headers needed to build libc. Some are bogus and/or just enough 2001-11-18 17:56:46 +00:00
ieeefp.h Standardize idempotentcy ifdefs. 2001-11-18 20:30:16 +00:00
in_cksum.h Add optimized implementations of in_cksum_skip() and related functions 2001-11-06 20:05:01 +00:00
instr.h Add code to emulate unimplemented (non-fp) instructions and to fixup 2001-11-06 20:13:44 +00:00
intr_machdep.h Change the stray count in struct intr_vector to a vector number that can 2001-10-20 16:03:41 +00:00
iommureg.h Support for the UltraSpac DVMA MMU (IOMMU), ported from NetBSD. 2001-11-09 20:14:41 +00:00
iommuvar.h Support for the UltraSpac DVMA MMU (IOMMU), ported from NetBSD. 2001-11-09 20:14:41 +00:00
ktr.h Remove an unused macro arg. 2001-10-20 15:57:39 +00:00
limits.h o Add new header <sys/stdint.h>. 2001-11-02 18:05:43 +00:00
lsu.h Add definitions for bits in condition code register and the load store 2001-08-20 23:34:46 +00:00
md_var.h [partially forced commit due to pilot error in earlier commit attempt] 2001-10-21 22:16:48 +00:00
mutex.h Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
nexusvar.h Add a nexus device for sparc64, which uses the OpenFirmware to attach UPA 2001-11-09 20:01:25 +00:00
ofw_bus.h Add some OpenFirmware bus support code and definitions. 2001-11-09 20:10:55 +00:00
ofw_machdep.h Add some OpenFirmware bus support code and definitions. 2001-11-09 20:10:55 +00:00
ofw_nexus.h Add some OpenFirmware bus support code and definitions. 2001-11-09 20:10:55 +00:00
ofw_upa.h Add some OpenFirmware bus support code and definitions. 2001-11-09 20:10:55 +00:00
param.h Header file updates needed for the cache code: add/correct some ASI 2001-11-09 19:37:52 +00:00
pcb.h 1. Convert the tstate saved in the pcb to a pstate and test for PSTATE_PEF 2001-11-18 03:28:28 +00:00
pcpu.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
pmap.h Parameterize the size of the kernel virtual address space on KVA_PAGES. 2001-10-20 16:17:04 +00:00
proc.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
profile.h Add kernel headers needed to build libc. Some are bogus and/or just enough 2001-11-18 17:56:46 +00:00
pstate.h Add a place holder for PSTATE_SECURE, which detects if user code it 2001-09-30 19:42:34 +00:00
ptrace.h The author isn't a [UC] Regents. Correct the copyright language. 2001-08-09 02:09:34 +00:00
pv.h Implement pv_bit_count which is used by pmap_ts_referenced. 2001-09-03 22:55:12 +00:00
reg.h [partially forced commit due to pilot error in earlier commit attempt] 2001-10-21 22:16:48 +00:00
reloc.h Add kernel headers needed to build libc. Some are bogus and/or just enough 2001-11-18 17:56:46 +00:00
resource.h
setjmp.h Make jmpbuf the same size as ucontext_t so that it can be passed 2001-11-18 04:04:35 +00:00
sigframe.h Implement signals. 2001-09-03 22:41:40 +00:00
signal.h Don't use types that require other headers. 2001-09-30 18:52:17 +00:00
smp.h The author isn't a [UC] Regents. Correct the copyright language. 2001-08-09 02:09:34 +00:00
stdarg.h
tick.h Add code to program the tick register and to setup its interrupt handler. 2001-08-10 04:49:33 +00:00
tlb.h Remove traces that are loud and not that useful. Remove nested include 2001-10-20 15:58:31 +00:00
trap.h Add support for physical address hardware watchpoints. 2001-10-20 16:04:39 +00:00
tsb.h Parameterize the size of the kernel virtual address space on KVA_PAGES. 2001-10-20 16:17:04 +00:00
tstate.h Add definitions for bits in condition code register and the load store 2001-08-20 23:34:46 +00:00
tte.h Add a macro to get the context from a tte tag, not necesarily a whole 2001-09-30 18:55:05 +00:00
types.h style(9) 2001-12-09 19:12:07 +00:00
ucontext.h 1. Remove bootinfo and just pass loader metadata to the kernel. 2001-11-18 03:02:53 +00:00
varargs.h Standardize idempotentcy ifdefs. 2001-11-18 20:30:16 +00:00
ver.h Move %ver definitions from pstate.h to ver.h. Add definitions for normal 2001-09-03 22:36:11 +00:00
vmparam.h Parameterize the size of the kernel virtual address space on KVA_PAGES. 2001-10-20 16:17:04 +00:00
watch.h Add code for supporting hardware watch points. 2001-08-20 23:50:08 +00:00
wstate.h Add a definition for normal kernel window state. 2001-10-20 17:08:33 +00:00