summaryrefslogtreecommitdiff
path: root/src/regsmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regsmi.h')
-rw-r--r--src/regsmi.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/regsmi.h b/src/regsmi.h
index 2626f2e..35344c3 100644
--- a/src/regsmi.h
+++ b/src/regsmi.h
@@ -138,18 +138,6 @@ VGAOUT8(SMIPtr pSmi, int port, CARD8 data)
} while (0)
#define READ_SCR(pSmi, scr) MMIO_IN32(pSmi->SCRBase, scr)
-#define CHECK_SECONDARY(pSmi) \
- if(IS_MSOC(pSmi)){ \
- if ((pSmi)->IsSecondary) { \
- WRITE_DPR(pSmi, 0x40, pScrn->fbOffset / 16 << 4); \
- WRITE_DPR(pSmi, 0x44, pScrn->fbOffset / 16 << 4); \
- } \
- else { \
- WRITE_DPR(pSmi, 0x40, 0); \
- WRITE_DPR(pSmi, 0x44, 0); \
- } \
- }
-
/* 2D Engine commands */
#define SMI_TRANSPARENT_SRC 0x00000100
#define SMI_TRANSPARENT_DEST 0x00000300