OpenOCD
MSTATUS_MPP
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
MSTATUS_MPP
MSTATUS_MPP macro
Syntax
from
encoding.h:23
#define
MSTATUS_MPP
0x00001800
References
Location
Text
encoding.h:23
#define
MSTATUS_MPP
0x00001800
riscv-013.c:2573
*
mstatus
=
set_field
(
*
mstatus
,
MSTATUS_MPP
,
get_field
(
dcsr
,
DCSR_PRV
)
)
;
riscv.c:1545
if
(
(
get_field
(
mstatus
,
MSTATUS_MPRV
)
?
get_field
(
mstatus
,
MSTATUS_MPP
)
:
priv
)
==
PRV_M
)
{