mhartid
Machine Hart ID
Reports the unique hart-specific ID in the system.
Attributes
Defining Extension |
|
||||
---|---|---|---|---|---|
CSR Address |
0xf14 |
||||
Length |
|
||||
Privilege Mode |
M |
Software read
This CSR may return a value that is different from what is stored in hardware.
return hartid();