OpenOCD
csrw()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
csrw()
csrw() function
Syntax
from
opcodes.h:128
static
uint32_t
csrw
(
unsigned
int
source
,
unsigned
int
csr
)
__attribute__
(
(
unused
)
)
;
Implemented in
opcodes.h:129
Arguments
source
csr
References
Location
Referrer
Text
opcodes.h:129
static
uint32_t
csrw
(
unsigned
int
source
,
unsigned
int
csr
)
opcodes.h:128
static
uint32_t
csrw
(
unsigned
int
source
,
unsigned
int
csr
)
__attribute__
(
(
unused
)
)
;
riscv-011.c:1063
write_remote_csr()
cache_set32
(
target
,
1
,
csrw
(
S0
,
csr
)
)
;
riscv-011.c:1121
execute_resume()
cache_set32
(
target
,
1
,
csrw
(
S0
,
CSR_DPC
)
)
;
riscv-011.c:1132
execute_resume()
cache_set32
(
target
,
1
,
csrw
(
S0
,
CSR_MSTATUS
)
)
;
riscv-011.c:1152
execute_resume()
dram_write32
(
target
,
1
,
csrw
(
S0
,
CSR_DCSR
)
,
false
)
;
riscv-011.c:1283
register_write()
cache_set32
(
target
,
1
,
csrw
(
S0
,
CSR_DSCRATCH0
)
)
;
riscv-011.c:1303
register_write()
cache_set32
(
target
,
i
++
,
csrw
(
S0
,
CSR_MSTATUS
)
)
;
riscv-011.c:1314
register_write()
cache_set32
(
target
,
1
,
csrw
(
S0
,
number
-
GDB_REGNO_CSR0
)
)
;
riscv-011.c:1359
get_register()
cache_set32
(
target
,
i
++
,
csrw
(
S0
,
CSR_MSTATUS
)
)
;
riscv-011.c:1967
assert_reset()
dram_write32
(
target
,
1
,
csrw
(
S0
,
CSR_DCSR
)
,
false
)
;
Call Tree
Functions calling
csrw()
Functions called by
csrw()
write_remote_csr()
execute_resume()
register_write()
get_register()
assert_reset()
all items filtered out
csrw()
inst_rs1()
imm_i()
all items filtered out
Data read by
csrw()
csrw()::source
csrw()::csr
all items filtered out
csrw()
Type of
csrw()
csrw()
uint32_t
all items filtered out