2011-04-23 00:27:48 +00:00
|
|
|
#ifndef _VBEXT_
|
|
|
|
#define _VBEXT_
|
2010-05-19 08:44:14 +00:00
|
|
|
|
|
|
|
struct DWORDREGS {
|
2011-04-23 00:27:48 +00:00
|
|
|
unsigned long Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp;
|
2010-05-19 08:44:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct WORDREGS {
|
2011-04-23 00:27:48 +00:00
|
|
|
unsigned short ax, hi_ax, bx, hi_bx, cx, hi_cx, dx, hi_dx, si,
|
|
|
|
hi_si, di, hi_di, bp, hi_bp;
|
2010-05-19 08:44:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct BYTEREGS {
|
2011-04-23 00:27:48 +00:00
|
|
|
unsigned char al, ah, hi_al, hi_ah, bl, bh, hi_bl, hi_bh, cl, ch,
|
|
|
|
hi_cl, hi_ch, dl, dh, hi_dl, hi_dh;
|
2010-05-19 08:44:14 +00:00
|
|
|
};
|
|
|
|
|
2011-04-23 00:27:48 +00:00
|
|
|
typedef union _X86_REGS {
|
|
|
|
struct DWORDREGS e;
|
|
|
|
struct WORDREGS x;
|
|
|
|
struct BYTEREGS h;
|
2010-05-19 08:44:14 +00:00
|
|
|
} X86_REGS, *PX86_REGS;
|
|
|
|
|
2011-04-23 00:27:48 +00:00
|
|
|
extern void XGI_GetSenseStatus(struct xgi_hw_device_info *HwDeviceExtension,
|
|
|
|
struct vb_device_info *pVBInfo);
|
2010-06-17 17:10:50 +00:00
|
|
|
extern unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *,
|
2010-06-17 17:10:51 +00:00
|
|
|
struct vb_device_info *pVBInfo);
|
2010-05-19 08:44:14 +00:00
|
|
|
|
|
|
|
#endif
|