System/Security: Memprot API unified (ESP32S3)

Unified Memory protection API for all PMS-aware chips - ESP32S3 port
This commit is contained in:
Martin Vychodil
2021-12-22 07:25:59 +01:00
committed by BOT
parent d5a9f67ce9
commit 339fcbf14d
32 changed files with 3875 additions and 874 deletions

View File

@@ -35,14 +35,6 @@ typedef union {
#define DRAM_SRAM_START 0x3FC7C000
#ifndef MAP_DRAM_TO_IRAM
#define MAP_DRAM_TO_IRAM(addr) (addr - DRAM_SRAM_START + SOC_IRAM_LOW)
#endif
#ifndef MAP_IRAM_TO_DRAM
#define MAP_IRAM_TO_DRAM(addr) (addr - SOC_IRAM_LOW + DRAM_SRAM_START)
#endif
//IRAM0
//16kB (ICACHE)