]> Joshua Wise's Git repositories - netwatch.git/blobdiff - include/smram.h
SMRAM interface changes, and a few misc. header changes.
[netwatch.git] / include / smram.h
diff --git a/include/smram.h b/include/smram.h
new file mode 100644 (file)
index 0000000..6c4ac69
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef __SMRAM_H
+#define __SMRAM_H
+
+#include "../ich2/smram-ich2.h"
+
+extern int smram_locked();
+extern smram_state_t smram_save_state();
+extern void smram_restore_state(smram_state_t state);
+extern int smram_aseg_set_state (int open);
+
+#define SMRAM_ASEG_CLOSED 0    /* SMRAM is not readable. */
+#define SMRAM_ASEG_OPEN 1      /* SMRAM is readable by everybody. */
+#define SMRAM_ASEG_SMMCODE 2   /* SMRAM is readable as SMM code only. */
+#define SMRAM_ASEG_SMMONLY 3   /* SMRAM is readable as SMM code and data only. */
+
+#endif
This page took 0.026817 seconds and 4 git commands to generate.