summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/include/arch/vga.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/vga.h b/src/arch/x86/include/arch/vga.h
new file mode 100644
index 0000000000..b82d63530b
--- /dev/null
+++ b/src/arch/x86/include/arch/vga.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef ARCH_X86_VGA_H
+#define ARCH_X86_VGA_H
+
+/* VGA MMIO and SMM ASEG share the same address range */
+#define VGA_MMIO_BASE 0xa0000
+#define VGA_MMIO_SIZE 0x20000
+#define VGA_MMIO_LIMIT (VGA_MMIO_BASE + VGA_MMIO_SIZE - 1)
+
+#endif /* ARCH_X86_VGA_H */