summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/smm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index b6d778b4c9..7283a6b4b6 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -165,6 +165,12 @@ void restore_default_smm_area(void *smm_save_area);
*/
void smm_region(uintptr_t *start, size_t *size);
+static inline void aseg_region(uintptr_t *start, size_t *size)
+{
+ *start = SMM_BASE;
+ *size = SMM_DEFAULT_SIZE; /* SMM_CODE_SEGMENT_SIZE ? */
+}
+
enum {
/* SMM handler area. */
SMM_SUBREGION_HANDLER,