1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/mips
Juli Mallett ab19dbcf8d Correct an 8-year-old typo which reliably leads to typo after typo today:
The macros here for generating coprocessor 0 accessors are named like:

	MIPS_RDRW32_COP0

That macro would produce mips_rd_<register>() and mips_wr_<register>()
inlines to access the specified register by name from C.  The problem is that
the R and the W were swapped in the macros originally; it was meant to be named
RDWR because it generated mips_rd_* and mips_wr_* functions, but was instead
spelled RDRW, which nobody should be expected to get right by anything other
than copy and paste.

It's too many consonants in a row to keep straight anyway, so just prefer e.g.:

	MIPS_RW32_COP0

While here, add a missing #undef.
2011-01-04 19:32:03 +00:00
..
adm5120 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
alchemy - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
atheros - Populate dump_avail with proper values from phys_avail 2010-12-09 07:01:03 +00:00
cavium o) Add MIPS_COP_0_EXC_PC accessors to <machine/cpufunc.h>. 2011-01-04 02:33:48 +00:00
compile
conf Remove OCTEON1-32. Since moving to the Cavium SDK, we've lost our support for 2011-01-04 19:09:05 +00:00
idt - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
include Correct an 8-year-old typo which reliably leads to typo after typo today: 2011-01-04 19:32:03 +00:00
malta - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
mips o) When trying to determine whether the pcpu pointer is a managed address, check 2011-01-01 00:20:14 +00:00
rmi Updates for I2C devices on XLR engg boards. 2010-12-13 17:53:38 +00:00
sentry5 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
sibyte - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00