2010-02-03 17:47:41 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Boot Loader
|
|
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
2015-11-05 18:07:00 +00:00
|
|
|
* FILE: win32ss/drivers/miniport/vmx_svga/precomp.h
|
2010-02-03 17:47:41 +00:00
|
|
|
* PURPOSE: VMWARE SVGA-II Driver Header
|
|
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
|
|
*/
|
2010-03-03 08:08:07 +00:00
|
|
|
|
|
|
|
#include <ntdef.h>
|
2010-02-03 17:47:41 +00:00
|
|
|
#include <dderror.h>
|
|
|
|
#include <miniport.h>
|
|
|
|
#include <video.h>
|
|
|
|
#include "vmx_regs.h"
|
|
|
|
|
|
|
|
typedef struct _HW_DEVICE_EXTENSION
|
|
|
|
{
|
|
|
|
USHORT Version;
|
|
|
|
PHYSICAL_ADDRESS FrameBuffer;
|
|
|
|
LARGE_INTEGER VramSize;
|
|
|
|
PHYSICAL_ADDRESS VramBase;
|
|
|
|
ULONG MemSize;
|
2010-03-03 05:21:00 +00:00
|
|
|
PULONG IndexPort;
|
|
|
|
PULONG ValuePort;
|
2010-02-03 17:47:41 +00:00
|
|
|
PVOID FrameBufferBase;
|
|
|
|
PVOID Fifo;
|
|
|
|
ULONG InterruptPort;
|
|
|
|
ULONG InterruptState;
|
2010-03-03 05:21:00 +00:00
|
|
|
PENG_EVENT SyncEvent;
|
2010-02-03 17:47:41 +00:00
|
|
|
VIDEO_MODE_INFORMATION CurrentMode;
|
|
|
|
ULONG VideoModeCount;
|
|
|
|
ULONG Capabilities;
|
|
|
|
USHORT Flags;
|
|
|
|
USHORT DisplayIndex;
|
|
|
|
ULONG YOrigin;
|
|
|
|
ULONG XOrigin;
|
|
|
|
} HW_DEVICE_EXTENSION, *PHW_DEVICE_EXTENSION;
|