1 #ifndef _VBEXT_ 2 #define _VBEXT_ 3 4 struct DWORDREGS { 5 unsigned long Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp; 6 }; 7 8 struct WORDREGS { 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; 11 }; 12 13 struct BYTEREGS { 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; 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 24 extern void XGI_GetSenseStatus(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo); 25 extern unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *, 26 struct vb_device_info *pVBInfo); 27 28 #endif 29