summaryrefslogtreecommitdiff
path: root/src/ast_vgatool.h
diff options
context:
space:
mode:
authorY.C. Chen <yc_chen@aspeedtech.com>2008-08-22 12:01:18 +0800
committerY.C. Chen <yc_chen@aspeedtech.com>2008-08-22 12:01:18 +0800
commit241d411e770c36b725cc72c1cd5e52932a8cf460 (patch)
treef97b611ad8b27e9b18a0b91013d3544f5daf2495 /src/ast_vgatool.h
parent35f09b08456177f837df9b965cec1019ea8f6238 (diff)
Support AST1100/2050/2100xf86-video-ast-0.87.0
Diffstat (limited to 'src/ast_vgatool.h')
-rw-r--r--src/ast_vgatool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast_vgatool.h b/src/ast_vgatool.h
index 8a4f683..9ce00fb 100644
--- a/src/ast_vgatool.h
+++ b/src/ast_vgatool.h
@@ -25,6 +25,7 @@
#define VIDEOMEM_SIZE_16M 0x01000000
#define VIDEOMEM_SIZE_32M 0x02000000
#define VIDEOMEM_SIZE_64M 0x04000000
+#define VIDEOMEM_SIZE_128M 0x08000000
#define AR_PORT_WRITE (pAST->RelocateIO + 0x40)
#define MISC_PORT_WRITE (pAST->RelocateIO + 0x42)
@@ -34,6 +35,7 @@
#define GR_PORT (pAST->RelocateIO + 0x4E)
#define CRTC_PORT (pAST->RelocateIO + 0x54)
#define INPUT_STATUS1_READ (pAST->RelocateIO + 0x5A)
+#define MISC_PORT_READ (pAST->RelocateIO + 0x4C)
#define GetReg(base) inb(base)
#define SetReg(base,val) outb(base,val)