mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
6283b7d01b
and change the u_int mtx_saveintr member of struct mtx to a critical_t mtx_savecrit. - On the alpha we no longer need a custom _get_spin_lock() macro to avoid an extra PAL call, so remove it. - Partially fix using mutexes with WITNESS in modules. Change all the _mtx_{un,}lock_{spin,}_flags() macros to accept explicit file and line parameters and rename them to use a prefix of two underscores. Inside of kern_mutex.c, generate wrapper functions for _mtx_{un,}lock_{spin,}_flags() (only using a prefix of one underscore) that are called from modules. The macros mtx_{un,}lock_{spin,}_flags() are mapped to the __mtx_* macros inside of the kernel to inline the usual case of mutex operations and map to the internal _mtx_* functions in the module case so that modules will use WITNESS and KTR logging if the kernel is compiled with support for it. |
||
---|---|---|
.. | ||
pc | ||
_limits.h | ||
ansi.h | ||
apic.h | ||
apicreg.h | ||
apm_bios.h | ||
apm_segments.h | ||
asc_ioctl.h | ||
asm.h | ||
asmacros.h | ||
atomic.h | ||
bootinfo.h | ||
bus_at386.h | ||
bus_dma.h | ||
bus_memio.h | ||
bus_pc98.h | ||
bus_pio_ind.h | ||
bus_pio.h | ||
bus.h | ||
cdk.h | ||
clock.h | ||
comstats.h | ||
cpu.h | ||
cpufunc.h | ||
cputypes.h | ||
cronyx.h | ||
db_machdep.h | ||
dvcfg.h | ||
elf.h | ||
endian.h | ||
exec.h | ||
float.h | ||
floatingpoint.h | ||
frame.h | ||
globaldata.h | ||
globals.h | ||
gsc.h | ||
i4b_cause.h | ||
i4b_debug.h | ||
i4b_ioctl.h | ||
i4b_isppp.h | ||
i4b_rbch_ioctl.h | ||
i4b_tel_ioctl.h | ||
i4b_trace.h | ||
ieeefp.h | ||
if_wl_wavelan.h | ||
iic.h | ||
in_cksum.h | ||
intrcnt.h | ||
ioctl_bt848.h | ||
ioctl_ctx.h | ||
ioctl_fd.h | ||
ioctl_meteor.h | ||
ipl.h | ||
legacyvar.h | ||
limits.h | ||
md_var.h | ||
mpapic.h | ||
mptable.h | ||
mtpr.h | ||
mutex.h | ||
nexusvar.h | ||
npx.h | ||
param.h | ||
pcaudioio.h | ||
pcb_ext.h | ||
pcb.h | ||
pci_cfgreg.h | ||
pcpu.h | ||
pcvt_ioctl.h | ||
pecoff_machdep.h | ||
perfmon.h | ||
physio_proc.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
segments.h | ||
setjmp.h | ||
sigframe.h | ||
signal.h | ||
smb.h | ||
smp.h | ||
smptests.h | ||
speaker.h | ||
specialreg.h | ||
spigot.h | ||
stdarg.h | ||
sysarch.h | ||
trap.h | ||
tss.h | ||
types.h | ||
uc_device.h | ||
ucontext.h | ||
varargs.h | ||
vm86.h | ||
vmparam.h | ||
wtio.h |