opnsense-src/sys/mips/mips
Attilio Rao 54366c0bd7 - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging
option, unbreak the lock tracing release semantic by embedding
  calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the inlined
  version of the releasing functions for mutex, rwlock and sxlock.
  Failing to do so skips the lockstat_probe_func invokation for
  unlocking.
- As part of the LOCKSTAT support is inlined in mutex operation, for
  kernel compiled without lock debugging options, potentially every
  consumer must be compiled including opt_kdtrace.h.
  Fix this by moving KDTRACE_HOOKS into opt_global.h and remove the
  dependency by opt_kdtrace.h for all files, as now only KDTRACE_FRAMES
  is linked there and it is only used as a compile-time stub [0].

[0] immediately shows some new bug as DTRACE-derived support for debug
in sfxge is broken and it was never really tested.  As it was not
including correctly opt_kdtrace.h before it was never enabled so it
was kept broken for a while.  Fix this by using a protection stub,
leaving sfxge driver authors the responsibility for fixing it
appropriately [1].

Sponsored by:	EMC / Isilon storage division
Discussed with:	rstone
[0] Reported by:	rstone
[1] Discussed with:	philip
2013-11-25 07:38:45 +00:00
..
autoconf.c
bcopy.S Replace uses of the ALEAF macro with XLEAF and remove ALEAF macro to 2013-10-15 04:43:31 +00:00
bus_space_fdt.c MFp4 CH=227440: 2013-05-09 20:13:43 +00:00
bus_space_generic.c Add read/write bus barriers for MIPS. 2013-10-09 22:10:03 +00:00
busdma_machdep.c Add bus_dmamap_load_ma() function to load map with the array of 2013-10-27 21:39:16 +00:00
cache.c MFP4: 2013-10-22 21:16:57 +00:00
cache_mipsNN.c o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
cpu.c MFP4: 2013-10-22 21:16:57 +00:00
db_disasm.c Fix DDB x/i addr[,count] command for count > 1 case 2012-01-08 00:34:39 +00:00
db_interface.c Don't include asm.h in non-asm files. 2013-05-01 06:57:46 +00:00
db_trace.c Don't assign the copyright to the FreeBSD foundation for the years 2013-05-29 16:51:03 +00:00
dump_machdep.c Fix a typo in cb_dumpdata() about wrongly calling wdog_kern_pat(). 2011-08-13 17:17:04 +00:00
elf_machdep.c - Fix .rela case of R_MIPS_26 relocation. Addednds save diferently for 2012-01-13 07:00:47 +00:00
elf_trampoline.c Shuffle the includes around so they occur after opt_global.h is included; 2013-10-09 00:22:21 +00:00
exception.S - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
fp.S Elminate NON_LEAF and use NESTED instead to unify our assembler 2013-10-15 04:45:09 +00:00
freebsd32_machdep.c o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
gdb_machdep.c Use curthread rather than PCPU_GET(curthread). 'curthread' uses 2011-12-29 16:40:54 +00:00
genassym.c Garbage collect some unused symbols. 2012-03-06 08:40:21 +00:00
in_cksum.c
inckern.S
intr_machdep.c Move PMC hook invocation to cpu_intr. The idea is the same as with ast() 2012-03-22 17:47:52 +00:00
libkern_machdep.c o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
locore.S At the risk of reducing source compatibility with old NetBSD and Sprite: 2012-03-06 19:01:32 +00:00
machdep.c Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
mem.c Fix for crash on MIPS /dev/mem read. 2011-10-17 05:42:53 +00:00
minidump_machdep.c
mp_machdep.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
mpboot.S Get rid of duplicated versions of the KSU bits. 2012-03-06 23:08:02 +00:00
nexus.c Teach nexus(4) about Open Firmware (e.g. FDT) on ARM and MIPS, retiring 2013-11-05 13:48:34 +00:00
octeon_cop2.c - Add better COP2 (crypto coprocessor) context handler for Octeon. Keep 2012-01-06 01:23:26 +00:00
octeon_cop2_swtch.S - Add better COP2 (crypto coprocessor) context handler for Octeon. Keep 2012-01-06 01:23:26 +00:00
pm_machdep.c o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
pmap.c The pmap function pmap_clear_reference() is no longer used. Remove it. 2013-09-20 04:30:18 +00:00
ptrace_machdep.c
sc_machdep.c Provide basic glue to allow syscons to be used on MIPS, modelled 2012-08-25 08:09:37 +00:00
stack_machdep.c Fix several typos 2013-05-12 16:43:26 +00:00
stdatomic.c Make support for atomics on ARM complete. 2013-06-15 08:15:22 +00:00
support.S Elminate NON_LEAF and use NESTED instead to unify our assembler 2013-10-15 04:45:09 +00:00
swtch.S Elminate NON_LEAF and use NESTED instead to unify our assembler 2013-10-15 04:45:09 +00:00
sys_machdep.c Reduce diffs with freebsd32_sysarch. 2012-03-10 06:31:28 +00:00
tick.c Panics about how things can't be attached should probably happen in the 2013-10-29 20:38:58 +00:00
tlb.c Add pagemask debugging output in "show tlb" in the debugger. 2013-09-29 10:14:16 +00:00
trap.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
uio_machdep.c Include sys/systm.h after sys/param.h. 2013-07-15 15:40:57 +00:00
uma_machdep.c Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
vm_machdep.c - Create kern.ipc.sendfile namespace, and put the new "readhead" OID 2013-09-22 13:36:52 +00:00