Commit | Line | Data |
---|---|---|
d7636e0b | 1 | #ifndef _VBEXT_ |
2 | #define _VBEXT_ | |
3 | ||
4 | struct DWORDREGS { | |
82d6eb5b | 5 | unsigned long Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp; |
d7636e0b | 6 | }; |
7 | ||
8 | struct WORDREGS { | |
82d6eb5b BP |
9 | unsigned short ax, hi_ax, bx, hi_bx, cx, hi_cx, dx, hi_dx, si, |
10 | hi_si, di, hi_di, bp, hi_bp; | |
d7636e0b | 11 | }; |
12 | ||
13 | struct BYTEREGS { | |
108afbf8 BP |
14 | unsigned char al, ah, hi_al, hi_ah, bl, bh, hi_bl, hi_bh, cl, ch, |
15 | hi_cl, hi_ch, dl, dh, hi_dl, hi_dh; | |
d7636e0b | 16 | }; |
17 | ||
18 | typedef union _X86_REGS { | |
19 | struct DWORDREGS e; | |
20 | struct WORDREGS x; | |
21 | struct BYTEREGS h; | |
22 | } X86_REGS, *PX86_REGS; | |
23 | ||
e4147abe BP |
24 | extern void XGI_XG21Fun14(struct xgi_hw_device_info *pXGIHWDE, PX86_REGS pBiosArguments); |
25 | extern void XGISetDPMS(struct xgi_hw_device_info *pXGIHWDE, | |
82d6eb5b | 26 | unsigned long VESA_POWER_STATE); |
80adad85 BP |
27 | extern void XGI_GetSenseStatus(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo); |
28 | extern void XGINew_SetModeScratch(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) ; | |
108afbf8 | 29 | extern void ReadVBIOSTablData(unsigned char ChipType, |
80adad85 | 30 | struct vb_device_info *pVBInfo); |
e4147abe | 31 | extern unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *, |
80adad85 | 32 | struct vb_device_info *pVBInfo); |
d7636e0b | 33 | |
34 | #endif |