80568041a3
static device mappings. This SoC relied heavily on the fact that all devices were static-mapped at a fixed address, and it (rather bogusly) used bus_space read and write calls passing hard-coded virtual addresses instead of proper bus handles, relying on the fact that the virtual addresses of the mappings were known at compile time, and relying on the implementation details of arm bus_space never changing. All such usage was replaced with calls to bus_space_map() to obtain a proper bus handle for the read/write calls. This required adjusting some of the #define values that map out hardware registers, and some of them were renamed in the process to make it clear which were defining absolute physical addresses and which were defining offsets. (The ones that just define offsets don't appear to be referenced and probably serve no value other than perhaps documentation.) |
||
---|---|---|
.. | ||
files.lpc | ||
if_lpe.c | ||
if_lpereg.h | ||
lpc_dmac.c | ||
lpc_fb.c | ||
lpc_gpio.c | ||
lpc_intc.c | ||
lpc_machdep.c | ||
lpc_mmc.c | ||
lpc_ohci.c | ||
lpc_pll.c | ||
lpc_pwr.c | ||
lpc_rtc.c | ||
lpc_space.c | ||
lpc_spi.c | ||
lpc_timer.c | ||
lpcreg.h | ||
lpcvar.h | ||
ssd1289.c | ||
std.lpc |