freebsd-skq/sys/sparc64/include
Matthew Dillon d74ac6819b Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt
disablement assumptions in kern_fork.c by adding another API call,
cpu_critical_fork_exit().  Cleanup the td_savecrit field by moving it
from MI to MD.  Temporarily move cpu_critical*() from <arch>/include/cpufunc.h
to <arch>/<arch>/critical.c (stage-2 will clean this up).

Implement interrupt deferral for i386 that allows interrupts to remain
enabled inside critical sections.  This also fixes an IPI interlock bug,
and requires uses of icu_lock to be enclosed in a true interrupt disablement.

This is the stage-1 commit.  Stage-2 will occur after stage-1 has stabilized,
and will move cpu_critical*() into its own header file(s) + other things.
This commit may break non-i386 architectures in trivial ways.  This should
be temporary.

Reviewed by:	core
Approved by:	core
2002-03-27 05:39:23 +00:00
..
_inttypes.h
_limits.h
ansi.h Guard against redefining __gnuc_va_list. 2002-03-24 11:25:46 +00:00
asi.h
asm.h ASM versions of __FBSDID. 2002-03-23 02:01:27 +00:00
asmacros.h Fix ifdef LOCORE protection. 2002-03-13 06:04:36 +00:00
atomic.h
bus_common.h Add support for the counter-timer which is included in the Sun U2S and 2002-02-13 16:16:36 +00:00
bus_memio.h
bus_pio.h
bus_private.h Revamp the busdma implementation a bit: 2002-03-24 02:50:53 +00:00
bus.h Revamp the busdma implementation a bit: 2002-03-24 02:50:53 +00:00
cache.h Remove __P. 2002-03-21 00:06:55 +00:00
ccr.h
clock.h Add missing declarations. 2002-03-25 04:53:18 +00:00
cpu.h
cpufunc.h Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
db_machdep.h
elf.h
endian.h o Don't require long long support in bswap64() functions. 2002-03-09 21:02:16 +00:00
exec.h
float.h Remove __P. 2002-03-21 00:06:55 +00:00
floatingpoint.h
fp.h
frame.h Add a macro for shift of an integer (1 << shift == sizeof). Move the pointer 2002-02-27 00:21:04 +00:00
fsr.h Fix the type of some constants, and make some macros safer by casting 2002-03-11 03:04:28 +00:00
idprom.h
ieee.h
ieeefp.h
in_cksum.h
instr.h Add convenience macros to extract the cc0 and cc1 from format 2 and 3 2002-03-11 03:03:35 +00:00
intr_machdep.h Avoid crashing in early boot when WITNESS is enabled by moving the 2002-02-13 16:36:44 +00:00
iommureg.h Add a delta missed in the last iommu.c commit. This unbreaks the sparc64 2002-02-15 14:48:54 +00:00
iommuvar.h Revamp the busdma implementation a bit: 2002-03-24 02:50:53 +00:00
ktr.h
limits.h
lsu.h
md_var.h Make cpu_identify take the value of the ver register and cpuid as arguments 2002-02-27 06:05:50 +00:00
metadata.h Add metadata types for dtlb and itlb data, and number of slots used. 2002-02-23 17:43:44 +00:00
mutex.h
nexusvar.h
ofw_bus.h Make the OpenFirmware interrupt mapping code more generic, to reduce 2002-03-24 02:11:06 +00:00
ofw_machdep.h Add support for starting and stopping cpus with ipis. 2002-03-13 04:59:01 +00:00
ofw_nexus.h
ofw_upa.h
param.h Parameterize the number of pages to allocate for the per-cpu area on 2002-02-27 06:08:13 +00:00
pcb.h
pcpu.h Add support for starting secondary cpus in kernel, as opposed to relying 2002-03-04 07:12:36 +00:00
pmap.h Allocate tlb contexts on the fly in cpu_switch, instead of statically 1 to 1 2002-03-04 05:20:29 +00:00
proc.h Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
profile.h
pstate.h
ptrace.h Move the definition of PT_[GS]ET{,DB,FP}REGS from the MD ptrace.h to the 2002-03-16 00:25:53 +00:00
pv.h Remove references to vm_zone.h and switch over to the new uma API. 2002-03-21 02:30:27 +00:00
reg.h Remove __P. 2002-03-21 00:06:55 +00:00
reloc.h
resource.h
setjmp.h
sigframe.h
signal.h
smp.h Make IPI_WAIT use a bit mask of the cpus that a pmap is active on and only 2002-03-13 03:43:00 +00:00
stdarg.h
sysarch.h
tick.h Add support for driving the clocks on secondary cpus. 2002-03-13 04:38:33 +00:00
tlb.h Fix a deadlock condition with tlb shootdown ipi delivery. Since ipis are 2002-03-23 04:20:00 +00:00
trap.h
tsb.h Minimal testing has shown that a 4 page tsb is a nice sweet spot for current 2002-02-27 06:18:02 +00:00
tstate.h
tte.h Modify the tte format to not include the tlb context number and to store the 2002-02-25 04:56:50 +00:00
types.h
ucontext.h
upa.h Add support for starting secondary cpus in kernel, as opposed to relying 2002-03-04 07:12:36 +00:00
utrap.h
varargs.h
ver.h Define constants for the CPU implementation id; export the dectected id 2002-02-13 15:47:12 +00:00
vmparam.h Increase VM_KMEM_SIZE to 16 megs from 12. Define VM_KMEM_SIZE_SCALE so that 2002-03-09 23:35:50 +00:00
watch.h
wstate.h Implement a nested window state. This avoids attempting to spill a user 2002-02-25 18:37:17 +00:00