zephyr/arch
Daniel Leung 1cd7cccbb1 kernel: mem_domain: arch_mem_domain functions to return errors
This changes the arch_mem_domain_*() functions to return errors.
This allows the callers a chance to recover if needed.

Note that:
() For assertions where it can bail out early without side
   effects, these are converted to CHECKIF(). (Usually means
   that updating of page tables or translation tables has not
   been started yet.)
() Other assertions are retained to signal fatal errors during
   development.
() The additional CHECKIF() are structured so that it will bail
   early if possible. If errors are encountered inside a loop,
   it will still continue with the loop so it works as before
   this changes with assertions disabled.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-11-22 12:45:22 -05:00
..
arc pm: Remove unused parameter 2021-11-17 11:15:49 -05:00
arm pm: Remove unused parameter 2021-11-17 11:15:49 -05:00
arm64 kernel: mem_domain: arch_mem_domain functions to return errors 2021-11-22 12:45:22 -05:00
common cmake: CMake linker script generator pass handling 2021-11-08 20:45:07 +01:00
nios2
posix pm: Remove unused parameter 2021-11-17 11:15:49 -05:00
riscv kernel: mem_domain: arch_mem_domain functions to return errors 2021-11-22 12:45:22 -05:00
sparc arch/sparc: Add hook for CONFIG_SCHED_THREAD_USAGE accounting in ISRs 2021-11-08 21:32:20 -05:00
x86 kernel: mem_domain: arch_mem_domain functions to return errors 2021-11-22 12:45:22 -05:00
xtensa arch/xtensa: Add hook for CONFIG_SCHED_THREAD_USAGE accounting in ISRs 2021-11-08 21:32:20 -05:00
CMakeLists.txt
Kconfig kernel: demand_paging: allow reserving page frames 2021-08-26 21:16:22 -04:00