ESP-IDF
s_mmu_ctx
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
s_mmu_ctx
s_mmu_ctx variable
Syntax
Show:
Summary
Declaration
from
esp_mmu_map.c:111
static
mmu_ctx_t
s_mmu_ctx
;
Examples
References
from
examples
Code
Location
Referrer
static
mmu_ctx_t
s_mmu_ctx
;
esp_mmu_map.c:111
s_mmu_ctx
.
num_regions
=
region_num
;
esp_mmu_map.c:248
esp_mmu_map_init()
memcpy
(
&
s_mmu_ctx
.
mem_regions
[
available_region_idx
]
,
&
hw_mem_regions
[
i
]
,
sizeof
(
mem_region_t
)
)
;
esp_mmu_map.c:254
esp_mmu_map_init()
TAILQ_INIT
(
&
s_mmu_ctx
.
mem_regions
[
i
]
.
mem_block_head
)
;
esp_mmu_map.c:259
esp_mmu_map_init()
for
(
int
i
=
0
;
i
<
s_mmu_ctx
.
num_regions
;
i
++
)
{
esp_mmu_map.c:285
esp_mmu_map_get_max_consecutive_free_block_size()
if
(
(
(
s_mmu_ctx
.
mem_regions
[
i
]
.
caps
&
caps
)
==
caps
)
&&
(
(
s_mmu_ctx
.
mem_regions
[
i
]
.
targets
&
target
)
==
target
)
)
{
esp_mmu_map.c:286
esp_mmu_map_get_max_consecutive_free_block_size()
if
(
s_mmu_ctx
.
mem_regions
[
i
]
.
max_slot_size
>
max
)
{
esp_mmu_map.c:287
esp_mmu_map_get_max_consecutive_free_block_size()
max
=
s_mmu_ctx
.
mem_regions
[
i
]
.
max_slot_size
;
esp_mmu_map.c:288
esp_mmu_map_get_max_consecutive_free_block_size()
int32_t
found_region_id
=
s_find_available_region
(
s_mmu_ctx
.
mem_regions
,
s_mmu_ctx
.
num_regions
,
aligned_size
,
caps
,
target
)
;
esp_mmu_map.c:320
esp_mmu_map_reserve_block_with_caps()
laddr
=
(
uint32_t
)
s_mmu_ctx
.
mem_regions
[
found_region_id
]
.
free_head
;
esp_mmu_map.c:326
esp_mmu_map_reserve_block_with_caps()
s_mmu_ctx
.
mem_regions
[
found_region_id
]
.
free_head
+=
aligned_size
;
esp_mmu_map.c:327
esp_mmu_map_reserve_block_with_caps()
s_mmu_ctx
.
mem_regions
[
found_region_id
]
.
max_slot_size
-=
aligned_size
;
esp_mmu_map.c:328
esp_mmu_map_reserve_block_with_caps()
for
(
int
i
=
0
;
i
<
s_mmu_ctx
.
num_regions
;
i
++
)
{
esp_mmu_map.c:352
esp_mmu_paddr_find_caps()
region
=
&
s_mmu_ctx
.
mem_regions
[
i
]
;
esp_mmu_map.c:353
esp_mmu_paddr_find_caps()
int32_t
found_region_id
=
s_find_available_region
(
s_mmu_ctx
.
mem_regions
,
s_mmu_ctx
.
num_regions
,
aligned_size
,
caps
,
target
)
;
esp_mmu_map.c:454
esp_mmu_map()
mem_region_t
*
found_region
=
&
s_mmu_ctx
.
mem_regions
[
found_region_id
]
;
esp_mmu_map.c:461
esp_mmu_map()
for
(
int
i
=
0
;
i
<
s_mmu_ctx
.
num_regions
;
i
++
)
{
esp_mmu_map.c:641
esp_mmu_unmap()
if
(
ptr_laddr
>=
s_mmu_ctx
.
mem_regions
[
i
]
.
free_head
&&
ptr_laddr
<
s_mmu_ctx
.
mem_regions
[
i
]
.
end
)
{
esp_mmu_map.c:643
esp_mmu_unmap()
region
=
&
s_mmu_ctx
.
mem_regions
[
i
]
;
esp_mmu_map.c:644
esp_mmu_unmap()
for
(
int
i
=
0
;
i
<
s_mmu_ctx
.
num_regions
;
i
++
)
{
esp_mmu_map.c:683
esp_mmu_map_dump_mapped_blocks()
s_mmu_ctx
.
mem_regions
[
i
]
.
bus_id
,
esp_mmu_map.c:691
esp_mmu_map_dump_mapped_blocks()
s_mmu_ctx
.
mem_regions
[
i
]
.
start
,
esp_mmu_map.c:692
esp_mmu_map_dump_mapped_blocks()
s_mmu_ctx
.
mem_regions
[
i
]
.
free_head
,
esp_mmu_map.c:693
esp_mmu_map_dump_mapped_blocks()
s_mmu_ctx
.
mem_regions
[
i
]
.
end
,
esp_mmu_map.c:694
esp_mmu_map_dump_mapped_blocks()
s_mmu_ctx
.
mem_regions
[
i
]
.
caps
,
esp_mmu_map.c:695
esp_mmu_map_dump_mapped_blocks()
s_mmu_ctx
.
mem_regions
[
i
]
.
max_slot_size
)
;
esp_mmu_map.c:696
esp_mmu_map_dump_mapped_blocks()
mem_region_t
*
region
=
&
s_mmu_ctx
.
mem_regions
[
i
]
;
esp_mmu_map.c:701
esp_mmu_map_dump_mapped_blocks()
for
(
int
i
=
0
;
i
<
s_mmu_ctx
.
num_regions
;
i
++
)
{
esp_mmu_map.c:729
esp_mmu_map_dump_mapped_blocks_private()
mem_region_t
*
region
=
&
s_mmu_ctx
.
mem_regions
[
i
]
;
esp_mmu_map.c:730
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()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
s_mmu_ctx
is read by 8 functions:
All items filtered out
s_mmu_ctx
esp_mmu_map_init()
esp_mmu_map_get_max_consecutive_free_block_size()
esp_mmu_map_reserve_block_with_caps()
esp_mmu_paddr_find_caps()
esp_mmu_map()
esp_mmu_unmap()
esp_mmu_map_dump_mapped_blocks()
esp_mmu_map_dump_mapped_blocks_private()
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