Add the ability to define architecture specific structures, notably the ability to extend struct _cpu with per-CPU arch-specific stuff that can be accessed with _current_cpu->arch.* similarly to _current->arch.* for per-thead architecture data. This is opt-in for architectures that want to benefit from this, otherwise empty defaults are provided. A placeholder for ARM64 is included to show the pattern. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> |
||
|---|---|---|
| .. | ||
| cortex_r/mpu | ||
| scripts | ||
| arch_inlines.h | ||
| arch.h | ||
| arm_mmu.h | ||
| arm-smccc.h | ||
| asm_inline_gcc.h | ||
| asm_inline.h | ||
| cpu.h | ||
| error.h | ||
| exc.h | ||
| irq.h | ||
| lib_helpers.h | ||
| macro.inc | ||
| misc.h | ||
| structs.h | ||
| sys_io.h | ||
| syscall.h | ||
| thread_stack.h | ||
| thread.h | ||
| timer.h | ||
| tpidrro_el0.h | ||