189cd1f4a2
The cache operations must be quick, optimized and possibly inlined. The current API is clunky, functions are not inlined and passing parameters around that are basically always known at compile time. In this patch we rework the cache functions to allow us to get rid of useless parameters and make inlining easier. In particular this changeset is doing three things: 1. `CONFIG_HAS_ARCH_CACHE` is now `CONFIG_ARCH_CACHE` and `CONFIG_HAS_EXTERNAL_CACHE` is now `CONFIG_EXTERNAL_CACHE` 2. The cache API has been reworked. 3. Comments are added. Signed-off-by: Carlo Caione <ccaione@baylibre.com> |
||
---|---|---|
.. | ||
ia32 | ||
intel64 | ||
offsets | ||
CMakeLists.txt | ||
Kconfig.ia32 | ||
Kconfig.intel64 | ||
acpi.c | ||
cache.c | ||
common.S | ||
cpuhalt.c | ||
cpuid.c | ||
early_serial.c | ||
efi.c | ||
fatal.c | ||
ia32.cmake | ||
intel64.cmake | ||
memmap.c | ||
multiboot.c | ||
pcie.c | ||
prep_c.c | ||
reboot_rst_cnt.c | ||
spec_ctrl.c | ||
tls.c | ||
userspace.c | ||
x86_mmu.c |