Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 36) sorted by relevance

12

/hal_espressif-latest/components/heap/
Dheap_caps_init.c22 static void register_heap(heap_t *region) in register_heap() argument
24 size_t heap_size = region->end - region->start; in register_heap()
26 region->heap = multi_heap_register((void *)region->start, heap_size); in register_heap()
27 if (region->heap != NULL) { in register_heap()
28 ESP_EARLY_LOGD(TAG, "New heap initialised at %p", region->heap); in register_heap()
92 soc_memory_region_t *region = &regions[i]; in heap_caps_init() local
93 const soc_memory_type_desc_t *type = &soc_memory_types[region->type]; in heap_caps_init()
95 if (region->type == -1) { in heap_caps_init()
102 heap->start = region->start; in heap_caps_init()
103 heap->end = region->start + region->size; in heap_caps_init()
[all …]
/hal_espressif-latest/components/esp_mm/
Desp_mmu_map.c331 mem_region_t *region = NULL; in esp_mmu_paddr_find_caps() local
341 region = &s_mmu_ctx.mem_regions[i]; in esp_mmu_paddr_find_caps()
343 TAILQ_FOREACH(mem_block, &region->mem_block_head, entries) { in esp_mmu_paddr_find_caps()
344 …if (mem_block == TAILQ_FIRST(&region->mem_block_head) || mem_block == TAILQ_LAST(&region->mem_bloc… in esp_mmu_paddr_find_caps()
585 mem_region_t *region = NULL; in esp_mmu_unmap() local
592 region = &s_mmu_ctx.mem_regions[i]; in esp_mmu_unmap()
595 …ESP_RETURN_ON_FALSE(region, ESP_ERR_NOT_FOUND, TAG, "munmap target pointer is outside external mem… in esp_mmu_unmap()
599 TAILQ_FOREACH(mem_block, &region->mem_block_head, entries) { in esp_mmu_unmap()
600 …if (mem_block == TAILQ_FIRST(&region->mem_block_head) || mem_block == TAILQ_LAST(&region->mem_bloc… in esp_mmu_unmap()
608region->max_slot_size = (slot_len > region->max_slot_size) ? slot_len : region->max_slot_size; in esp_mmu_unmap()
[all …]
/hal_espressif-latest/components/esp_system/port/soc/esp32/
DKconfig.memory9 RTC fast memory segment to free the slow memory region for ULP programs.
18 within the dram0_0 region. As a result, adding or removing some static variables
21 … If this option is enabled, the DRAM part of the heap starts right after the dram0_0 region,
38 If enabled, application can use IRAM as byte accessible region for storing data
39 (Note: IRAM region cannot be used as task stack)
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/
DKconfig.memory8 RTC fast memory segment to free the slow memory region for ULP programs.
15 within the dram0_0 region. As a result, adding or removing some static variables
18 … If this option is enabled, the DRAM part of the heap starts right after the dram0_0 region,
/hal_espressif-latest/components/esp_system/port/soc/esp32s3/
DKconfig.memory8 RTC fast memory segment to free the slow memory region for ULP programs.
15 within the dram0_0 region. As a result, adding or removing some static variables
18 … If this option is enabled, the DRAM part of the heap starts right after the dram0_0 region,
/hal_espressif-latest/components/esp_hw_support/
Dsleep_cpu.c67 cpu_domain_dev_regs_region_t *region; member
303 …cpu_domain_dev_regs_region_t *region = (cpu_domain_dev_regs_region_t *)(frame + sizeof(cpu_domain_… in cpu_domain_dev_sleep_frame_alloc_and_init() local
304 memcpy(region, regions, region_num * sizeof(cpu_domain_dev_regs_region_t)); in cpu_domain_dev_sleep_frame_alloc_and_init()
308 .region = region, in cpu_domain_dev_sleep_frame_alloc_and_init()
628 cpu_domain_dev_regs_region_t *region = frame->region; in cpu_domain_dev_regs_save() local
633 for (uint32_t addr = region[i].start; addr < region[i].end; addr+=4) { in cpu_domain_dev_regs_save()
642 cpu_domain_dev_regs_region_t *region = frame->region; in cpu_domain_dev_regs_restore() local
647 for (uint32_t addr = region[i].start; addr < region[i].end; addr+=4) { in cpu_domain_dev_regs_restore()
/hal_espressif-latest/components/spi_flash/include/
Desp_flash.h275 esp_err_t esp_flash_get_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool …
290 esp_err_t esp_flash_set_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool …
/hal_espressif-latest/components/esp_psram/
DKconfig.spiram.common27 memory region in the CPU's memory map, by integrating it in the heap as 'special' memory
56 …done from external RAM. If allocation from the preferred region fails, an attempt is made to alloc…
57 … from the non-preferred region instead, so malloc() will not suddenly fail when either internal or
85 …Note also that the DMA reserved pool may not be one single contiguous memory region, depending on …
/hal_espressif-latest/components/spi_flash/
Desp_flash_api.c631 const esp_flash_region_t *region = &chip->chip_drv->protectable_regions[i]; in esp_flash_erase_region() local
633 && regions_overlap(start, len, region->offset, region->size)) { in esp_flash_erase_region()
776 static esp_err_t find_region(const esp_flash_t *chip, const esp_flash_region_t *region, uint8_t *in… in find_region() argument
778 if (region == NULL) { in find_region()
784 region, sizeof(esp_flash_region_t)) == 0) { in find_region()
792 …_flash_get_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool *out_protect… in esp_flash_get_protected_region() argument
802 err = find_region(chip, region, &index); in esp_flash_get_protected_region()
821 …R esp_flash_set_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool protect) in esp_flash_set_protected_region() argument
827 err = find_region(chip, region, &index); in esp_flash_set_protected_region()
/hal_espressif-latest/components/esp_system/ld/esp32s3/
Dmemory.ld.in24 * D cache use the memory from high address, so when it's configured to 16K/32K, the region
25 * 0x3FCF000 ~ (3FD00000 - DATA_CACHE_SIZE) should be available. This region is not used as
115 * `extern_ram_seg` and `drom0_0_seg` share the same bus and the address region.
Dsections.ld.in226 * The section located in Internal SRAM memory region. The macro _NOINIT
426 * This section locates in External RAM region.
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32c2/
Dbootloader.ld32 /* Start of the lower region is determined by region size and the end of the higher region */
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32c3/
Dbootloader.ld32 /* Start of the lower region is determined by region size and the end of the higher region */
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32c6/
Dbootloader.ld29 /* Start of the lower region is determined by region size and the end of the higher region */
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32h2/
Dbootloader.ld30 /* Start of the lower region is determined by region size and the end of the higher region */
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32s3/
Dbootloader.ld33 /* Start of the lower region is determined by region size and the end of the higher region */
/hal_espressif-latest/tools/esptool_py/test/
Dtest_esptool.py1371 region = esp.get_memory_region(test_region)
1372 if region:
1375 region = esp.get_memory_region("DRAM")
1376 test_addr = region[1] - 0x2FFFF
1379 test_addr = region[1] - 8
1381 test_addr = region[0]
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dadvanced-commands.rst40 The ``dump_mem`` command will dump a region from the chip's memory space to a file. For example, to…
60 …* Because the software loader is resident in IRAM and DRAM, this limits the region where a new pro…
Dconfiguration-file.rst96 | erase_region_timeout_per_mb | Timeout (per megabyte) for erasing a region | 30 s …
/hal_espressif-latest/components/bt/
DKconfig79 … a large free heap region when esp_bt_mem_release is called, total saving ~21kB or more of IRAM.
/hal_espressif-latest/components/esp_system/ld/esp32c6/
Dmemory.ld.in107 * Thus, the following region segments are not configurable like on other targets
/hal_espressif-latest/components/esp_system/ld/esp32/
Dsections.ld.in236 * This section locates in External RAM region.
247 The section located in Internal SRAM memory region. The macro _NOINIT
/hal_espressif-latest/components/esp_system/ld/esp32s2/
Dsections.ld.in237 The section located in Internal SRAM memory region. The macro _NOINIT
263 * This section locates in External RAM region.
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/
Dcache.h151 uint8_t region; /*!< autoload region*/ member
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32s2/
Dbootloader.ld15 …00 /* Part SRAM Blocks 15 & 16, ROM static buffer starts at end of this region (reclaimed after a…

12