]> Joshua Wise's Git repositories - netwatch.git/blame - include/smram.h
More ICH2-specific code diked out.
[netwatch.git] / include / smram.h
CommitLineData
81148fa1
JW
1#ifndef __SMRAM_H
2#define __SMRAM_H
3
399b9324 4#include "smram-hardware.h"
81148fa1
JW
5
6extern int smram_locked();
7extern smram_state_t smram_save_state();
8extern void smram_restore_state(smram_state_t state);
f2b87dd6
JW
9extern int smram_aseg_set_state(int open);
10extern int smram_tseg_set_state(int open);
81148fa1
JW
11
12#define SMRAM_ASEG_CLOSED 0 /* SMRAM is not readable. */
13#define SMRAM_ASEG_OPEN 1 /* SMRAM is readable by everybody. */
14#define SMRAM_ASEG_SMMCODE 2 /* SMRAM is readable as SMM code only. */
15#define SMRAM_ASEG_SMMONLY 3 /* SMRAM is readable as SMM code and data only. */
16
f2b87dd6
JW
17#define SMRAM_TSEG_OPEN 0
18
81148fa1 19#endif
This page took 0.032138 seconds and 5 git commands to generate.