This introduces InterruptController and HardwareTimer classes to handle the SoC specific implementations of timers and ints for the ARM platform.
These could be improved and moved to a more 'generic' level once we're confident they are 'good enough'.
NOTE: The OMAP timer implementation is fully untested and probably completely non-functional....
a52dd58 ARM: kernel: introduce SoC abstraction
src/system/kernel/arch/arm/Jamfile | 6 +
src/system/kernel/arch/arm/arch_int.cpp | 77 +++++------
src/system/kernel/arch/arm/arch_timer.cpp | 108 +++++----------
src/system/kernel/arch/arm/soc.cpp | 4 +
src/system/kernel/arch/arm/soc.h | 68 ++++++++++
src/system/kernel/arch/arm/soc_omap3.cpp | 204 +++++++++++++++++++++++++++++
src/system/kernel/arch/arm/soc_omap3.h | 62 +++++++++
src/system/kernel/arch/arm/soc_pxa.cpp | 154 ++++++++++++++++++++++
src/system/kernel/arch/arm/soc_pxa.h | 55 ++++++++
9 files changed, 618 insertions(+), 120 deletions(-)
Upstream: cgit.haiku-os.org