VirtualBox

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

Last change on this file since 17448 was 17448, checked in by vboxsync, 16 years ago

Additions/x11: added a full header set for X.Org server 1.5 and 1.6

  • Property svn:eol-style set to native
File size: 1008 bytes
Line 
1
2#include "xf86RamDac.h"
3
4RamDacHelperRecPtr BTramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs);
5void BTramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
6void BTramdacRestore(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
7void 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