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> |
||
|---|---|---|
| .. | ||
| arc | ||
| arm/aarch32 | ||
| arm64 | ||
| common | ||
| nios2 | ||
| posix | ||
| riscv | ||
| sparc | ||
| x86 | ||
| xtensa | ||
| arch_inlines.h | ||
| cpu.h | ||
| structs.h | ||
| syscall.h | ||