/hal_espressif-latest/components/esp_hw_support/port/esp32s2/ |
D | memprot.c | 643 …m_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in esp_memprot_set_prot_iram() argument 647 …_addr != NULL ? split_addr : esp_memprot_iram0_sram_get_min_split_addr(), lw, lr, lx, hw, hr, hx)); in esp_memprot_set_prot_iram() 649 …dr != NULL ? split_addr : esp_memprot_iram0_rtcfast_get_min_split_addr(), lw, lr, lx, hw, hr, hx)); in esp_memprot_set_prot_iram() 655 …lit_bits_iram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in esp_memprot_get_perm_split_bits_iram() argument 657 if (lw == NULL || lr == NULL || lx == NULL || hw == NULL || hr == NULL || hx == NULL) { in esp_memprot_get_perm_split_bits_iram() 663 memprot_ll_iram0_sram_get_split_sgnf_bits(lw, lr, lx, hw, hr, hx); in esp_memprot_get_perm_split_bits_iram() 666 memprot_ll_iram0_rtcfast_get_split_sgnf_bits(lw, lr, lx, hw, hr, hx); in esp_memprot_get_perm_split_bits_iram() 729 …it_bits_peri2(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in esp_memprot_get_perm_split_bits_peri2() argument 731 if (lw == NULL || lr == NULL || lx == NULL || hw == NULL || hr == NULL || hx == NULL) { in esp_memprot_get_perm_split_bits_peri2() 737 memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits(lw, lr, lx, hw, hr, hx); in esp_memprot_get_perm_split_bits_peri2() [all …]
|
/hal_espressif-latest/components/hal/esp32s2/include/hal/ |
D | memprot_peri_ll.h | 277 …eri2_rtcslow_0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in memprot_ll_peri2_rtcslow_0_set_prot() argument 308 if (hx) { in memprot_ll_peri2_rtcslow_0_set_prot() 318 …_ll_peri2_rtcslow_0_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits() argument 325 *hx = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_AHB_1_REG, DPORT_PMS_PRO_AHB_RTCSLOW_0_H_F); in memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits() 340 static inline void memprot_ll_peri2_rtcslow_0_set_exec_perm(bool lx, bool hx) in memprot_ll_peri2_rtcslow_0_set_exec_perm() argument 343 DPORT_REG_SET_FIELD(DPORT_PMS_PRO_AHB_1_REG, DPORT_PMS_PRO_AHB_RTCSLOW_0_H_F, hx ? 1 : 0); in memprot_ll_peri2_rtcslow_0_set_exec_perm() 365 …eri2_rtcslow_1_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in memprot_ll_peri2_rtcslow_1_set_prot() argument 396 if (hx) { in memprot_ll_peri2_rtcslow_1_set_prot() 406 …_ll_peri2_rtcslow_1_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in memprot_ll_peri2_rtcslow_1_get_split_sgnf_bits() argument 413 *hx = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_AHB_2_REG, DPORT_PMS_PRO_AHB_RTCSLOW_1_H_F); in memprot_ll_peri2_rtcslow_1_get_split_sgnf_bits() [all …]
|
D | memprot_ll.h | 273 …_ll_iram0_sram_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in memprot_ll_iram0_sram_set_prot() argument 325 if (hx) { in memprot_ll_iram0_sram_set_prot() 355 if (hx) { in memprot_ll_iram0_sram_set_prot() 366 …mprot_ll_iram0_sram_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in memprot_ll_iram0_sram_get_split_sgnf_bits() argument 373 *hx = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_H_F); in memprot_ll_iram0_sram_get_split_sgnf_bits() 388 static inline void memprot_ll_iram0_sram_set_exec_perm(bool lx, bool hx) in memprot_ll_iram0_sram_set_exec_perm() argument 391 DPORT_REG_SET_FIELD(DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_H_F, hx ? 1 : 0); in memprot_ll_iram0_sram_set_exec_perm() 420 …_iram0_rtcfast_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in memprot_ll_iram0_rtcfast_set_prot() argument 452 if (hx) { in memprot_ll_iram0_rtcfast_set_prot() 462 …ot_ll_iram0_rtcfast_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in memprot_ll_iram0_rtcfast_get_split_sgnf_bits() argument [all …]
|
/hal_espressif-latest/components/esp_hw_support/include/soc/esp32s2/ |
D | memprot.h | 364 …_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx); 392 …it_bits_iram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx); 450 …t_bits_peri2(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx); 472 …_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx); 489 …_permissions(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx); 529 esp_err_t esp_memprot_get_perm_exec(mem_type_prot_t mem_type, bool *lx, bool *hx); 583 esp_err_t esp_memprot_set_exec_perm(mem_type_prot_t mem_type, bool lx, bool hx);
|