87dd390211
Even though I tested the 1-byte operations on arbitrarily aligned bytes, it seems I did not do this for the 2-byte operations. Create easy to read functions that are used to get/put bytes and halfwords in words. To keep the compiler happy, explicitly read two bytes into a union to obtain a 16-bit value. |
||
---|---|---|
.. | ||
autoconf.c | ||
bus_space_fdt.c | ||
bus_space_generic.c | ||
busdma_machdep.c | ||
cache_mipsNN.c | ||
cache.c | ||
cpu.c | ||
db_disasm.c | ||
db_interface.c | ||
db_trace.c | ||
dump_machdep.c | ||
elf_machdep.c | ||
elf_trampoline.c | ||
exception.S | ||
fp.S | ||
freebsd32_machdep.c | ||
gdb_machdep.c | ||
genassym.c | ||
in_cksum.c | ||
inckern.S | ||
intr_machdep.c | ||
libkern_machdep.c | ||
locore.S | ||
machdep.c | ||
mem.c | ||
minidump_machdep.c | ||
mp_machdep.c | ||
mpboot.S | ||
nexus.c | ||
octeon_cop2_swtch.S | ||
octeon_cop2.c | ||
pm_machdep.c | ||
pmap.c | ||
ptrace_machdep.c | ||
sc_machdep.c | ||
stack_machdep.c | ||
stdatomic.c | ||
support.S | ||
swtch.S | ||
sys_machdep.c | ||
tick.c | ||
tlb.c | ||
trap.c | ||
uio_machdep.c | ||
uma_machdep.c | ||
vm_machdep.c |