ESP-IDF
s_semhost_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_semhost_ctx
s_semhost_ctx variable
Syntax
Show:
Summary
Declaration
from
vfs_semihost.c:82
static
vfs_semihost_ctx_t
s_semhost_ctx
[
CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS
]
;
Examples
References
from
examples
Code
Location
Referrer
static
vfs_semihost_ctx_t
s_semhost_ctx
[
CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS
]
;
vfs_semihost.c:82
if
(
ctx_is_unused
(
&
s_semhost_ctx
[
i
]
)
)
{
vfs_semihost.c:468
esp_vfs_semihost_register()
if
(
strcmp
(
base_path
,
s_semhost_ctx
[
i
]
.
base_path
)
==
0
)
{
vfs_semihost.c:471
esp_vfs_semihost_register()
strlcpy
(
s_semhost_ctx
[
i
]
.
base_path
,
base_path
,
sizeof
(
s_semhost_ctx
[
i
]
.
base_path
)
-
1
)
;
vfs_semihost.c:478
esp_vfs_semihost_register()
ESP_LOGD
(
TAG
,
"Register semihosting driver %d %p"
,
i
,
&
s_semhost_ctx
[
i
]
)
;
vfs_semihost.c:480
esp_vfs_semihost_register()
err
=
vfs_semihost_drvinfo
(
&
s_semhost_ctx
[
i
]
)
;
// define semihosting version
vfs_semihost.c:484
esp_vfs_semihost_register()
err
=
esp_vfs_register_fs
(
base_path
,
&
s_vfs_semihost
,
ESP_VFS_FLAG_STATIC
|
ESP_VFS_FLAG_CONTEXT_PTR
,
&
s_semhost_ctx
[
i
]
)
;
vfs_semihost.c:489
esp_vfs_semihost_register()
if
(
s_semhost_ctx
[
i
]
.
base_path
[
0
]
!=
0
&&
strcmp
(
base_path
,
s_semhost_ctx
[
i
]
.
base_path
)
==
0
)
{
vfs_semihost.c:504
esp_vfs_semihost_unregister()
esp_err_t
ret
=
esp_vfs_unregister
(
s_semhost_ctx
[
i
]
.
base_path
)
;
vfs_semihost.c:511
esp_vfs_semihost_unregister()
s_semhost_ctx
[
i
]
.
base_path
[
0
]
=
0
;
vfs_semihost.c:515
esp_vfs_semihost_unregister()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
s_semhost_ctx
is read by 2 functions:
All items filtered out
s_semhost_ctx
esp_vfs_semihost_register()
esp_vfs_semihost_unregister()
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