VirtualBox

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

Last change on this file since 78293 was 58634, checked in by vboxsync, 9 years ago

Additions/x11: added header files for building X.Org video driver against X.Org Server 1.18.

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