/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s2/ |
D | memprot.c | 644 …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 648 …_addr != NULL ? split_addr : esp_memprot_iram0_sram_get_min_split_addr(), lw, lr, lx, hw, hr, hx)); in esp_memprot_set_prot_iram() 650 …dr != NULL ? split_addr : esp_memprot_iram0_rtcfast_get_min_split_addr(), lw, lr, lx, hw, hr, hx)); in esp_memprot_set_prot_iram() 656 …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 658 if (lw == NULL || lr == NULL || lx == NULL || hw == NULL || hr == NULL || hx == NULL) { in esp_memprot_get_perm_split_bits_iram() 664 memprot_ll_iram0_sram_get_split_sgnf_bits(lw, lr, lx, hw, hr, hx); in esp_memprot_get_perm_split_bits_iram() 667 memprot_ll_iram0_rtcfast_get_split_sgnf_bits(lw, lr, lx, hw, hr, hx); in esp_memprot_get_perm_split_bits_iram() 730 …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 732 if (lw == NULL || lr == NULL || lx == NULL || hw == NULL || hr == NULL || hx == NULL) { in esp_memprot_get_perm_split_bits_peri2() 738 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-3.6.0/components/hal/esp32s2/include/hal/ |
D | memprot_peri_ll.h | 285 …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 316 if (hx) { in memprot_ll_peri2_rtcslow_0_set_prot() 326 …_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 333 *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() 348 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 351 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() 373 …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 404 if (hx) { in memprot_ll_peri2_rtcslow_1_set_prot() 414 …_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 421 *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 | 280 …_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 332 if (hx) { in memprot_ll_iram0_sram_set_prot() 362 if (hx) { in memprot_ll_iram0_sram_set_prot() 373 …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 380 *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() 395 static inline void memprot_ll_iram0_sram_set_exec_perm(bool lx, bool hx) in memprot_ll_iram0_sram_set_exec_perm() argument 398 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() 427 …_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 459 if (hx) { in memprot_ll_iram0_rtcfast_set_prot() 469 …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-3.6.0/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);
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | memprot_ll.h | 279 …_memprot_iram0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) 322 if (hx) { 358 if ( hx ) { 367 …d esp_memprot_iram0_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) 374 *hx = DPORT_REG_GET_FIELD( DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_H_F );
|