VirtualBox

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

最後變更 在這個檔案從37801是 36308,由 vboxsync 提交於 14 年 前

fix OSE

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

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