OpenOCD
scratch_mem_t::hart_address
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
scratch_mem_t::hart_address
scratch_mem_t::hart_address field
Syntax
from
riscv-013.c:1125
riscv_addr_t
hart_address
;
References
Location
Referrer
Text
riscv-013.c:1125
riscv_addr_t
hart_address
;
riscv-013.c:1150
scratch_reserve()
scratch
->
hart_address
=
info
->
dataaddr
;
riscv-013.c:1152
scratch_reserve()
scratch
->
hart_address
|=
0xfffffffffffff000ULL
;
riscv-013.c:1154
scratch_reserve()
scratch
->
hart_address
=
(
scratch
->
hart_address
+
alignment
-
1
)
&
~
(
alignment
-
1
)
;
riscv-013.c:1156
scratch_reserve()
if
(
(
size_bytes
+
scratch
->
hart_address
-
info
->
dataaddr
+
3
)
/
4
>=
riscv-013.c:1159
scratch_reserve()
scratch
->
debug_address
=
(
scratch
->
hart_address
-
info
->
dataaddr
)
/
4
;
riscv-013.c:1170
scratch_reserve()
scratch
->
hart_address
=
(
info
->
progbuf_address
+
program_size
+
alignment
-
1
)
&
riscv-013.c:1173
scratch_reserve()
(
(
size_bytes
+
scratch
->
hart_address
-
info
->
progbuf_address
+
3
)
/
4
>=
riscv-013.c:1176
scratch_reserve()
scratch
->
debug_address
=
(
scratch
->
hart_address
-
info
->
progbuf_address
)
/
4
;
riscv-013.c:1183
scratch_reserve()
scratch
->
hart_address
=
(
scratch
->
area
->
address
+
alignment
-
1
)
&
riscv-013.c:1186
scratch_reserve()
scratch
->
debug_address
=
scratch
->
hart_address
;
riscv-013.c:1332
register_write_direct()
if
(
register_write_direct
(
target
,
GDB_REGNO_S0
,
scratch
.
hart_address
)
riscv-013.c:1448
register_read_direct()
scratch
.
hart_address
)
!=
ERROR_OK
)
{
Data Use
Functions writing
scratch_mem_t::hart_address
Functions reading
scratch_mem_t::hart_address
scratch_reserve()
all items filtered out
scratch_mem_t::hart_address
scratch_reserve()
register_write_direct()
register_read_direct()
all items filtered out
Type of
scratch_mem_t::hart_address
scratch_mem_t::hart_address
riscv_addr_t
all items filtered out