]> Joshua Wise's Git repositories - netwatch.git/blob - include/smram.h
6c4ac69be6d6d1edd34cc19794d6294eeab8e6a6
[netwatch.git] / include / smram.h
1 #ifndef __SMRAM_H
2 #define __SMRAM_H
3
4 #include "../ich2/smram-ich2.h"
5
6 extern int smram_locked();
7 extern smram_state_t smram_save_state();
8 extern void smram_restore_state(smram_state_t state);
9 extern int smram_aseg_set_state (int open);
10
11 #define SMRAM_ASEG_CLOSED 0     /* SMRAM is not readable. */
12 #define SMRAM_ASEG_OPEN 1       /* SMRAM is readable by everybody. */
13 #define SMRAM_ASEG_SMMCODE 2    /* SMRAM is readable as SMM code only. */
14 #define SMRAM_ASEG_SMMONLY 3    /* SMRAM is readable as SMM code and data only. */
15
16 #endif
This page took 0.020849 seconds and 2 git commands to generate.