7555bc1f1eafb711055ea2727913e5189f2ce07e
[reactos.git] / reactos / drivers / video / miniport / vmx_svga / precomp.h
1 /*
2 * PROJECT: ReactOS Boot Loader
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: drivers/video/miniport/vmx_svga/precomp.h
5 * PURPOSE: VMWARE SVGA-II Driver Header
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9 #include <ntddk.h>
10 #include <dderror.h>
11 #include <miniport.h>
12 #include <ntddvdeo.h>
13 #include <video.h>
14 #include "vmx_regs.h"
15
16 typedef struct _HW_DEVICE_EXTENSION
17 {
18 USHORT Version;
19 PHYSICAL_ADDRESS FrameBuffer;
20 LARGE_INTEGER VramSize;
21 PHYSICAL_ADDRESS VramBase;
22 ULONG MemSize;
23 PULONG IndexPort;
24 PULONG ValuePort;
25 PVOID FrameBufferBase;
26 PVOID Fifo;
27 ULONG InterruptPort;
28 ULONG InterruptState;
29 PENG_EVENT SyncEvent;
30 VIDEO_MODE_INFORMATION CurrentMode;
31 ULONG VideoModeCount;
32 ULONG Capabilities;
33 USHORT Flags;
34 USHORT DisplayIndex;
35 ULONG YOrigin;
36 ULONG XOrigin;
37 } HW_DEVICE_EXTENSION, *PHW_DEVICE_EXTENSION;