![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | EXTRACT_FIELD(val, which) (((val) & (which)) / ((which) & ~((which)-1))) |
#define | INSERT_FIELD(val, which, fieldval) (((val) & ~(which)) | ((fieldval) * ((which) & ~((which)-1)))) |
#define | DEFINE_MPRV_READ_FLAGS(name, type, insn, flags) |
#define | DEFINE_MPRV_READ(name, type, insn) DEFINE_MPRV_READ_FLAGS(name, type, insn, MSTATUS_MPRV) |
#define | DEFINE_MPRV_READ_MXR(name, type, insn) DEFINE_MPRV_READ_FLAGS(name, type, insn, MSTATUS_MPRV | MSTATUS_MXR) |
#define | DEFINE_MPRV_WRITE(name, type, insn) |
Functions | |
void | mstatus_init (void) |
#define DEFINE_MPRV_READ | ( | name, | |
type, | |||
insn | |||
) | DEFINE_MPRV_READ_FLAGS(name, type, insn, MSTATUS_MPRV) |
#define DEFINE_MPRV_READ_MXR | ( | name, | |
type, | |||
insn | |||
) | DEFINE_MPRV_READ_FLAGS(name, type, insn, MSTATUS_MPRV | MSTATUS_MXR) |
Definition at line 29 of file virtual_memory.c.
References delegate, MIP_MTIP, MIP_SSIP, MIP_STIP, and supports_extension().