7f7429081d
* move all device-specific bitbanging to the device drivers in question -- i.e., the ip32 init code doesn't access the CRIME registers directly but instead trusts the CRIME driver to DTRT. machdep.c is cleaner thereby. * introduce int.c, which handles the interrupt-controller goo formerly in ip2x.c. * unify the CPU interrupt handler, with CRIME, INT2, and the various timer handlers hooked in via pointers in the platform struct. * eliminate ip2x.c and ip32.c. After the interrupt handler cleanup, the actual platform-dependent code was so minimal (rev identification, mask level initialization) that it made sense to move it into machdep.c * "#ifdef DEBUG printf("foo"); #endif" becomes aprint_debug. Tested on my ip22 and ip32. Discussed with pooka@, rafal@. |
||
---|---|---|
.. | ||
autoconf.c | ||
bus.c | ||
clock.c | ||
clockvar.h | ||
console.c | ||
cpu.c | ||
disksubr.c | ||
int.c | ||
ip22_cache.S | ||
locore_machdep.S | ||
machdep.c | ||
mainbus.c |