mcs: provide tickless api for arm timers

This does not implement the timers for any platforms, but
provides the generic arm arch, and aarch32/aarch64 infrastructure for
tickless timer drivers.
This commit is contained in:
Anna Lyons
2019-05-23 14:22:20 +10:00
committed by Kent Mcleod
parent fad8781c81
commit 742cabf15b
8 changed files with 133 additions and 1 deletions

View File

@@ -84,6 +84,9 @@ if(DEFINED CONFIGURE_MAX_IRQ)
math(EXPR BITS "${BITS} + 1")
endif()
set(CONFIGURE_IRQ_SLOT_BITS "${BITS}" CACHE INTERNAL "")
if(NOT DEFINED ${CONFIGURE_TIMER_PRECISION})
set(CONFIGURE_TIMER_PRECISION "0")
endif()
configure_file(
src/arch/${KernelArch}/platform_gen.h.in
${CMAKE_CURRENT_BINARY_DIR}/gen_headers/plat/platform_gen.h @ONLY