summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShell <[email protected]>2024-11-19 16:16:37 +0800
committerMeco Man <[email protected]>2024-11-24 13:44:34 -0500
commitfe2b124345f67d25afc333f2a012ae3d1534e5d6 (patch)
tree9332f3d57649af39bc592bb83ce018c6314df3a1 /include
parent92f26b7ad218a702ce7d8685579557d6ea544106 (diff)
feat: arm64 ASID support
Support for ARM64 ASID to enhance virtual memory management efficiency by reducing the need for TLB flushes during address space switches. These changes improve performance especially for multi-process systems. Changes: - Added `ARCH_USING_ASID` configuration in `libcpu/aarch64/Kconfig`. - Defined ASID-related constants in `mmu.h`. - Updated `TLBI_ARG` macro to include ASID manipulation. - Implemented ASID allocation mechanism with spinlock synchronization. - Enhanced TLB invalidation to support ASID-specific operations. - Modified `rt_hw_aspace_switch` to use ASIDs when switching address spaces. - Adjusted debug logging and function documentation to reflect ASID usage. - Refactored AArch64 MMU and TLB handling for ASID integration. Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions