ESP-IDF
TAG
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
esp_mmu_map.c:47
static
DRAM_ATTR
const
char
*
TAG
=
"mmap"
;
Examples
References
from
examples
Code
Location
Referrer
static
DRAM_ATTR
const
char
*
TAG
=
"mmap"
;
esp_mmu_map.c:47
ESP_EARLY_LOGV
(
TAG
,
"after coalescing, %"
PRIu32
" regions are left"
,
region_num
)
;
esp_mmu_map.c:244
esp_mmu_map_init()
ESP_RETURN_ON_FALSE
(
out_len
,
ESP_ERR_INVALID_ARG
,
TAG
,
"null pointer"
)
;
esp_mmu_map.c:279
esp_mmu_map_get_max_consecutive_free_block_size()
ESP_RETURN_ON_ERROR
(
s_mem_caps_check
(
caps
)
,
TAG
,
"invalid caps"
)
;
esp_mmu_map.c:280
esp_mmu_map_get_max_consecutive_free_block_size()
ESP_RETURN_ON_FALSE
(
out_ptr
,
ESP_ERR_INVALID_ARG
,
TAG
,
"null pointer"
)
;
esp_mmu_map.c:314
esp_mmu_map_reserve_block_with_caps()
ESP_RETURN_ON_ERROR
(
s_mem_caps_check
(
caps
)
,
TAG
,
"invalid caps"
)
;
esp_mmu_map.c:315
esp_mmu_map_reserve_block_with_caps()
ESP_EARLY_LOGE
(
TAG
,
"no such vaddr range"
)
;
esp_mmu_map.c:322
esp_mmu_map_reserve_block_with_caps()
ESP_EARLY_LOGV
(
TAG
,
"found laddr is 0x%"
PRIx32
,
laddr
)
;
esp_mmu_map.c:329
esp_mmu_map_reserve_block_with_caps()
ESP_EARLY_LOGV
(
TAG
,
"actual_mapped_len is 0x%"
PRIx32
,
actual_mapped_len
)
;
esp_mmu_map.c:440
s_do_mapping()
ESP_RETURN_ON_FALSE
(
out_ptr
,
ESP_ERR_INVALID_ARG
,
TAG
,
"null pointer"
)
;
esp_mmu_map.c:446
esp_mmu_map()
ESP_RETURN_ON_FALSE
(
!
(
target
&
MMU_TARGET_PSRAM0
)
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"PSRAM is not supported"
)
;
esp_mmu_map.c:448
esp_mmu_map()
ESP_RETURN_ON_FALSE
(
(
paddr_start
%
CONFIG_MMU_PAGE_SIZE
==
0
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"paddr must be rounded up to the nearest multiple of CONFIG_MMU_PAGE_SIZE"
)
;
esp_mmu_map.c:450
esp_mmu_map()
ESP_RETURN_ON_ERROR
(
s_mem_caps_check
(
caps
)
,
TAG
,
"invalid caps"
)
;
esp_mmu_map.c:451
esp_mmu_map()
ESP_EARLY_LOGE
(
TAG
,
"no such vaddr range"
)
;
esp_mmu_map.c:456
esp_mmu_map()
ESP_GOTO_ON_FALSE
(
dummy_head
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"no mem"
)
;
esp_mmu_map.c:468
esp_mmu_map()
ESP_GOTO_ON_FALSE
(
dummy_tail
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"no mem"
)
;
esp_mmu_map.c:478
esp_mmu_map()
ESP_LOGW
(
TAG
,
"paddr block is mapped already, vaddr_start: %p, size: 0x%x"
,
(
void
*
)
mem_block
->
vaddr_start
,
mem_block
->
size
)
;
esp_mmu_map.c:512
esp_mmu_map()
ESP_LOGE
(
TAG
,
"paddr block is overlapped with an already mapped paddr block"
)
;
esp_mmu_map.c:526
esp_mmu_map()
ESP_GOTO_ON_FALSE
(
new_block
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"no mem"
)
;
esp_mmu_map.c:532
esp_mmu_map()
ESP_RETURN_ON_FALSE
(
ptr
,
ESP_ERR_INVALID_ARG
,
TAG
,
"null pointer"
)
;
esp_mmu_map.c:634
esp_mmu_unmap()
ESP_RETURN_ON_FALSE
(
region
,
ESP_ERR_NOT_FOUND
,
TAG
,
"munmap target pointer is outside external memory regions"
)
;
esp_mmu_map.c:648
esp_mmu_unmap()
ESP_RETURN_ON_FALSE
(
found
,
ESP_ERR_NOT_FOUND
,
TAG
,
"munmap target pointer isn't mapped yet"
)
;
esp_mmu_map.c:669
esp_mmu_unmap()
ESP_DRAM_LOGI
(
TAG
,
"block vaddr_start: 0x%x"
,
mem_block
->
vaddr_start
)
;
esp_mmu_map.c:734
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"block vaddr_end: 0x%x"
,
mem_block
->
vaddr_end
)
;
esp_mmu_map.c:735
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"block size: 0x%x"
,
mem_block
->
size
)
;
esp_mmu_map.c:736
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"block caps: 0x%x"
,
mem_block
->
caps
)
;
esp_mmu_map.c:737
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"block paddr_start: 0x%x"
,
mem_block
->
paddr_start
)
;
esp_mmu_map.c:738
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"block paddr_end: 0x%x"
,
mem_block
->
paddr_end
)
;
esp_mmu_map.c:739
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"region bus_id: 0x%x"
,
s_mmu_ctx
.
mem_regions
[
i
]
.
bus_id
)
;
esp_mmu_map.c:742
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"region start: 0x%x"
,
s_mmu_ctx
.
mem_regions
[
i
]
.
start
)
;
esp_mmu_map.c:743
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"region end: 0x%x"
,
s_mmu_ctx
.
mem_regions
[
i
]
.
end
)
;
esp_mmu_map.c:744
esp_mmu_map_dump_mapped_blocks_private()
ESP_DRAM_LOGI
(
TAG
,
"region caps: 0x%x"
,
s_mmu_ctx
.
mem_regions
[
i
]
.
caps
)
;
esp_mmu_map.c:745
esp_mmu_map_dump_mapped_blocks_private()
ESP_RETURN_ON_FALSE
(
vaddr
&&
out_paddr
,
ESP_ERR_INVALID_ARG
,
TAG
,
"null pointer"
)
;
esp_mmu_map.c:771
esp_mmu_vaddr_to_paddr()
ESP_RETURN_ON_FALSE
(
mmu_hal_check_valid_ext_vaddr_region
(
0
,
(
uint32_t
)
vaddr
,
1
,
MMU_VADDR_DATA
|
MMU_VADDR_INSTRUCTION
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"not a valid external virtual address"
)
;
esp_mmu_map.c:772
esp_mmu_vaddr_to_paddr()
ESP_RETURN_ON_FALSE
(
is_mapped
,
ESP_ERR_NOT_FOUND
,
TAG
,
"vaddr isn't mapped"
)
;
esp_mmu_map.c:778
esp_mmu_vaddr_to_paddr()
ESP_RETURN_ON_FALSE
(
out_vaddr
,
ESP_ERR_INVALID_ARG
,
TAG
,
"null pointer"
)
;
esp_mmu_map.c:802
esp_mmu_paddr_to_vaddr()
ESP_RETURN_ON_FALSE
(
found
,
ESP_ERR_NOT_FOUND
,
TAG
,
"paddr isn't mapped"
)
;
esp_mmu_map.c:808
esp_mmu_paddr_to_vaddr()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 9 functions:
All items filtered out
TAG
esp_mmu_map_init()
esp_mmu_map_get_max_consecutive_free_block_size()
esp_mmu_map_reserve_block_with_caps()
s_do_mapping()
esp_mmu_map()
esp_mmu_unmap()
esp_mmu_map_dump_mapped_blocks_private()
esp_mmu_vaddr_to_paddr()
esp_mmu_paddr_to_vaddr()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out