VirtualBox

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

最後變更 在這個檔案從66940是 45134,由 vboxsync 提交於 12 年 前

Additions/X11: build vboxvideo_drv.so for X.Org Server 1.14.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.3 KB
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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