freebsd-dev/sys/mips/mips
Robert Watson e36985c9aa Clean up various aspects of the MIPS generic busspace implementation:
1) Always implement missing bus space methods using a panic() stub rather
   than a NULL pointer.  This appeared not to trip up any existing device
   drivers, but due to the nature of the devices I'm supporting locally,
   I'm making use of some of the more obscure busspace methods, and
   panic() is a preferred failure mode.  For example, do this for the
   setregion methods.

2) Hook up several existing busspace method implementations that were
   provided in the file, but not actually present in the methods
   structure.  Especially, single-byte bus I/O routines.  This should
   allow bugs to be fixed in the Atheros 802.11 driver.

There are still some remaining unimplemented methods that would be
desirable to implement -- especially, 64-bit I/O calls that would
observably accelerate device performance on FPGA-based soft CPU cores
that are typically clocked an order of magnitude slower than
conventional hard core CPUs, but that remains for another day.

MFC after:	3 weeks
Discussed with:	jmallett, scottl
Sponsored by:	DARPA, AFRL
2012-05-02 08:23:53 +00:00
..
autoconf.c
bus_space_generic.c Clean up various aspects of the MIPS generic busspace implementation: 2012-05-02 08:23:53 +00:00
busdma_machdep.c - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +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
cache.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 o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +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
db_trace.c Fix backtrace for MIPS64: 2012-01-13 23:31:36 +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 Support compiling MIPS elf trampoline with a different ABI. 2011-07-16 17:22:01 +00:00
exception.S Add DTrace-related part to machine-dependent code: 2012-03-24 05:17:38 +00:00
fp.S
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 Reinstate the XTLB handler for CPU_NLM and CPU_RMI 2012-04-02 11:41:33 +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 Remove pc_cpumask and pc_other_cpus from MIPS support. 2011-06-28 12:51:08 +00:00
mpboot.S Get rid of duplicated versions of the KSU bits. 2012-03-06 23:08:02 +00:00
nexus.c Allow for MIPS devices to have a specific probe/attach order. 2012-04-21 04:17:30 +00:00
octeon_cop2_swtch.S - Add better COP2 (crypto coprocessor) context handler for Octeon. Keep 2012-01-06 01:23:26 +00:00
octeon_cop2.c - 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 Fix return type of mips pmap_kextract() 2012-03-22 15:14:10 +00:00
ptrace_machdep.c
stack_machdep.c
support.S o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
swtch.S o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
sys_machdep.c Reduce diffs with freebsd32_sysarch. 2012-03-10 06:31:28 +00:00
tick.c o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
tlb.c
trap.c Disable FP instruction emulation by default on !o32 because of ABI concerns. 2012-03-29 02:04:15 +00:00
uio_machdep.c
uma_machdep.c
vm_machdep.c o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00