![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | smm_save_state_ops |
Macros | |
#define | SMM_REV_INVALID 0xffffffff |
Enumerations | |
enum | cpu_reg { RAX , RBX , RCX , RDX } |
Functions | |
int | get_apmc_node (u8 cmd) |
int | get_save_state_reg (const enum cpu_reg reg, const int node, void *out, const uint8_t length) |
int | set_save_state_reg (const enum cpu_reg reg, const int node, void *in, const uint8_t length) |
#define SMM_REV_INVALID 0xffffffff |
Definition at line 15 of file save_state.h.
enum cpu_reg |
Enumerator | |
---|---|
RAX | |
RBX | |
RCX | |
RDX |
Definition at line 8 of file save_state.h.
int get_apmc_node | ( | u8 | cmd | ) |
Definition at line 49 of file save_state.c.
References smm_save_state_ops::apmc_node, init_save_state(), and save_state.
Definition at line 57 of file save_state.c.
References smm_save_state_ops::get_reg, init_save_state(), length, and save_state.
Definition at line 68 of file save_state.c.
References init_save_state(), length, save_state, and smm_save_state_ops::set_reg.