blob: 459db7c98d946819b6b91755c09c5f853e7deed7 [file] [log] [blame]
/*
* Copyright (c) 2021 Andes Technology Corporation
* Copyright (c) 2024 Meta Platforms
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* @brief Init PMA CSRs of each CPU core
*
* In SMP, each CPU has it's own PMA CSR and PMA CSR only affect one CPU.
* We should configure CSRs of all CPUs to make memory attribute
* (e.g. uncacheable) affects all CPUs.
*/
void pma_init_per_core(void);
/* Initialize PMA */
void pma_init(void);