VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.12.0/BT.h@ 78293

Last change on this file since 78293 was 40349, checked in by vboxsync, 13 years ago

Additions/xorg: support X.Org Server 1.12.

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1
2#include "xf86RamDac.h"
3
4extern _X_EXPORT RamDacHelperRecPtr BTramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs);
5extern _X_EXPORT void BTramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
6extern _X_EXPORT void BTramdacRestore(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
7extern _X_EXPORT void BTramdacSetBpp(ScrnInfoPtr pScrn, RamDacRegRecPtr RamDacRegRec);
8
9#define ATT20C504_RAMDAC (VENDOR_BT << 16) | 0x00
10#define ATT20C505_RAMDAC (VENDOR_BT << 16) | 0x01
11#define BT485_RAMDAC (VENDOR_BT << 16) | 0x02
12
13/*
14 * BT registers
15 */
16
17#define BT_WRITE_ADDR 0x00
18#define BT_RAMDAC_DATA 0x01
19#define BT_PIXEL_MASK 0x02
20#define BT_READ_ADDR 0x03
21#define BT_CURS_WR_ADDR 0x04
22#define BT_CURS_DATA 0x05
23#define BT_COMMAND_REG_0 0x06
24#define BT_CURS_RD_ADDR 0x07
25#define BT_COMMAND_REG_1 0x08
26#define BT_COMMAND_REG_2 0x09
27#define BT_STATUS_REG 0x0A
28#define BT_CURS_RAM_DATA 0x0B
29#define BT_CURS_X_LOW 0x0C
30#define BT_CURS_X_HIGH 0x0D
31#define BT_CURS_Y_LOW 0x0E
32#define BT_CURS_Y_HIGH 0x0F
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette