refactor(etm): enhance thread safety and clean up soc macros

This commit is contained in:
morris
2025-07-08 10:55:26 +08:00
parent 8b96e82077
commit 661590940a
44 changed files with 250 additions and 283 deletions

View File

@@ -35,7 +35,7 @@ static const regdma_entries_config_t etm_regdma_entries[] = {
},
};
const etm_reg_retention_info_t etm_reg_retention_info[SOC_ETM_GROUPS] = {
const soc_etm_retention_desc_t soc_etm_retention_info[1] = {
[0] = {
.module = SLEEP_RETENTION_MODULE_ETM0,
.regdma_entry_array = etm_regdma_entries,