ESP-IDF
esp_himem_ramdata_t::block
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_himem_ramdata_t::block
esp_himem_ramdata_t::block field
Syntax
Show:
Summary
Declaration
from
esp_himem.c:89
uint16_t
*
block
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
*
block
;
esp_himem.c:89
r
->
block
=
calloc
(
blocks
,
sizeof
(
uint16_t
)
)
;
esp_himem.c:201
esp_himem_alloc()
if
(
!
r
->
block
)
{
esp_himem.c:202
esp_himem_alloc()
int
ok
=
allocate_blocks
(
blocks
,
r
->
block
)
;
esp_himem.c:206
esp_himem_alloc()
free
(
r
->
block
)
;
esp_himem.c:216
esp_himem_alloc()
assert
(
ramblock_idx_valid
(
handle
->
block
[
i
]
)
)
;
esp_himem.c:226
esp_himem_free()
ESP_RETURN_ON_FALSE
(
!
s_ram_descriptor
[
handle
->
block
[
i
]
]
.
is_mapped
,
ESP_ERR_INVALID_ARG
,
TAG
,
"block in range still mapped"
)
;
esp_himem.c:227
esp_himem_free()
s_ram_descriptor
[
handle
->
block
[
i
]
]
.
is_alloced
=
false
;
esp_himem.c:232
esp_himem_free()
free
(
handle
->
block
)
;
esp_himem.c:237
esp_himem_free()
ESP_RETURN_ON_FALSE
(
!
s_ram_descriptor
[
handle
->
block
[
i
+
ram_block
]
]
.
is_mapped
,
ESP_ERR_INVALID_STATE
,
TAG
,
"ram already mapped"
)
;
esp_himem.c:315
esp_himem_map()
assert
(
ramblock_idx_valid
(
handle
->
block
[
i
+
ram_block
]
)
)
;
esp_himem.c:322
esp_himem_map()
s_ram_descriptor
[
handle
->
block
[
i
+
ram_block
]
]
.
is_mapped
=
1
;
esp_himem.c:323
esp_himem_map()
s_range_descriptor
[
range
->
block_start
+
i
+
range_block
]
.
ram_block
=
handle
->
block
[
i
+
ram_block
]
;
esp_himem.c:325
esp_himem_map()
set_bank
(
VIRT_HIMEM_RANGE_BLOCKSTART
+
range
->
block_start
+
i
+
range_block
,
handle
->
block
[
i
+
ram_block
]
+
PHYS_HIMEM_BLOCKSTART
,
1
)
;
esp_himem.c:329
esp_himem_map()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_himem_ramdata_t::block
is written by 1 function and is read by 3 functions:
esp_himem_alloc()
All items filtered out
esp_himem_ramdata_t::block
esp_himem_alloc()
esp_himem_free()
esp_himem_map()
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