1 /* 2 * Copyright (c) 2021 Andes Technology Corporation 3 * Copyright (c) 2024 Meta Platforms 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 /* 9 * @brief Init PMA CSRs of each CPU core 10 * 11 * In SMP, each CPU has it's own PMA CSR and PMA CSR only affect one CPU. 12 * We should configure CSRs of all CPUs to make memory attribute 13 * (e.g. uncacheable) affects all CPUs. 14 */ 15 void pma_init_per_core(void); 16 17 /* Initialize PMA */ 18 void pma_init(void); 19