aboutsummaryrefslogtreecommitdiff
path: root/vgasrc/geodevga.h
diff options
context:
space:
mode:
authorNils <njacobs8@adsltotaal.nl>2012-01-14 12:15:14 -0500
committerKevin O'Connor <kevin@koconnor.net>2012-01-14 12:15:14 -0500
commit24ddd8678cacab4268e8cd8209f30e3e69f12852 (patch)
treec1e59b9898627a23d79d36a26184343b9e5b1c59 /vgasrc/geodevga.h
parente8b184fe576e5b1263f2e72f0c71b3f4bb158e82 (diff)
downloadseabios-hppa-24ddd8678cacab4268e8cd8209f30e3e69f12852.zip
seabios-hppa-24ddd8678cacab4268e8cd8209f30e3e69f12852.tar.gz
seabios-hppa-24ddd8678cacab4268e8cd8209f30e3e69f12852.tar.bz2
vgabios: Add the geode GX2 functionality.
Signed-off-by: Nils Jacobs <njacobs8 at adsltotaal.nl>
Diffstat (limited to 'vgasrc/geodevga.h')
-rw-r--r--vgasrc/geodevga.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/vgasrc/geodevga.h b/vgasrc/geodevga.h
index 65e698c..ec019a4 100644
--- a/vgasrc/geodevga.h
+++ b/vgasrc/geodevga.h
@@ -37,11 +37,13 @@
/* LX MSRs */
#define MSR_GLIU0 (1 << 28)
-#define MSR_GLIU0_BASE4 (MSR_GLIU0 + 0x23)
+#define MSR_GLIU0_BASE4 (MSR_GLIU0 + 0x23) /* LX */
+#define GLIU0_P2D_BM_4 (MSR_GLIU0 + 0x24) /* GX2 */
#define GLIU0_IOD_BM_0 (MSR_GLIU0 + 0xE0)
#define GLIU0_IOD_BM_1 (MSR_GLIU0 + 0xE1)
#define DC_SPARE 0x80000011
-#define VP_MSR_CONFIG 0x48002001
+#define VP_MSR_CONFIG_GX2 0xc0002001 /* GX2 */
+#define VP_MSR_CONFIG_LX 0x48002001 /* LX */
/* DC REG OFFSET */
#define DC_UNLOCK 0x0