Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[linux-btrfs-devel.git] / drivers / staging / xgifb / vb_ext.h
blob814a446b70c80ea21e98f1765317af94e227bd27
1 #ifndef _VBEXT_
2 #define _VBEXT_
4 struct DWORDREGS {
5 unsigned long Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp;
6 };
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;
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;
18 typedef union _X86_REGS {
19 struct DWORDREGS e;
20 struct WORDREGS x;
21 struct BYTEREGS h;
22 } X86_REGS, *PX86_REGS;
24 extern void XGI_GetSenseStatus(struct xgi_hw_device_info *HwDeviceExtension,
25 struct vb_device_info *pVBInfo);
26 extern unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *,
27 struct vb_device_info *pVBInfo);
29 #endif