1*61046927SAndroid Build Coastguard Worker /************************************************************************** 2*61046927SAndroid Build Coastguard Worker * 3*61046927SAndroid Build Coastguard Worker * Copyright 2012-2021 VMware, Inc. 4*61046927SAndroid Build Coastguard Worker * All Rights Reserved. 5*61046927SAndroid Build Coastguard Worker * 6*61046927SAndroid Build Coastguard Worker * Permission is hereby granted, free of charge, to any person obtaining a 7*61046927SAndroid Build Coastguard Worker * copy of this software and associated documentation files (the 8*61046927SAndroid Build Coastguard Worker * "Software"), to deal in the Software without restriction, including 9*61046927SAndroid Build Coastguard Worker * without limitation the rights to use, copy, modify, merge, publish, 10*61046927SAndroid Build Coastguard Worker * distribute, sub license, and/or sell copies of the Software, and to 11*61046927SAndroid Build Coastguard Worker * permit persons to whom the Software is furnished to do so, subject to 12*61046927SAndroid Build Coastguard Worker * the following conditions: 13*61046927SAndroid Build Coastguard Worker * 14*61046927SAndroid Build Coastguard Worker * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15*61046927SAndroid Build Coastguard Worker * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16*61046927SAndroid Build Coastguard Worker * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17*61046927SAndroid Build Coastguard Worker * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, 18*61046927SAndroid Build Coastguard Worker * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 19*61046927SAndroid Build Coastguard Worker * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 20*61046927SAndroid Build Coastguard Worker * USE OR OTHER DEALINGS IN THE SOFTWARE. 21*61046927SAndroid Build Coastguard Worker * 22*61046927SAndroid Build Coastguard Worker * The above copyright notice and this permission notice (including the 23*61046927SAndroid Build Coastguard Worker * next paragraph) shall be included in all copies or substantial portions 24*61046927SAndroid Build Coastguard Worker * of the Software. 25*61046927SAndroid Build Coastguard Worker * 26*61046927SAndroid Build Coastguard Worker **************************************************************************/ 27*61046927SAndroid Build Coastguard Worker 28*61046927SAndroid Build Coastguard Worker /* 29*61046927SAndroid Build Coastguard Worker * DriverIncludes.h -- 30*61046927SAndroid Build Coastguard Worker * Basic DDK includes for building the client driver. 31*61046927SAndroid Build Coastguard Worker */ 32*61046927SAndroid Build Coastguard Worker 33*61046927SAndroid Build Coastguard Worker #ifndef DRIVER_INCLUDES_H 34*61046927SAndroid Build Coastguard Worker #define DRIVER_INCLUDES_H 35*61046927SAndroid Build Coastguard Worker 36*61046927SAndroid Build Coastguard Worker #ifdef __MINGW32__ 37*61046927SAndroid Build Coastguard Worker #undef WIN32_LEAN_AND_MEAN /* for DEFINE_GUID macro */ 38*61046927SAndroid Build Coastguard Worker #define _NO_OLDNAMES /* avoid defining ssize_t */ 39*61046927SAndroid Build Coastguard Worker #include <stdio.h> /* for vsnprintf */ 40*61046927SAndroid Build Coastguard Worker #undef fileno /* we redefine this in vm_basic_defs.h */ 41*61046927SAndroid Build Coastguard Worker #endif 42*61046927SAndroid Build Coastguard Worker 43*61046927SAndroid Build Coastguard Worker 44*61046927SAndroid Build Coastguard Worker #include <windows.h> 45*61046927SAndroid Build Coastguard Worker 46*61046927SAndroid Build Coastguard Worker #include "winddk_compat.h" 47*61046927SAndroid Build Coastguard Worker 48*61046927SAndroid Build Coastguard Worker //typedef LARGE_INTEGER PHYSICAL_ADDRESS; 49*61046927SAndroid Build Coastguard Worker //typedef __success(return >= 0) LONG NTSTATUS; 50*61046927SAndroid Build Coastguard Worker 51*61046927SAndroid Build Coastguard Worker #define D3D10DDI_MINOR_HEADER_VERSION 2 52*61046927SAndroid Build Coastguard Worker 53*61046927SAndroid Build Coastguard Worker /* Unfortunately WinDDK's d3d10umddi.h defines D3D10.x constants as global 54*61046927SAndroid Build Coastguard Worker * const variables instead of preprocessor defines, causing LINK to fail due 55*61046927SAndroid Build Coastguard Worker * to duplicate symbols. Include d3d10_1.h to avoid the issue. 56*61046927SAndroid Build Coastguard Worker */ 57*61046927SAndroid Build Coastguard Worker #ifdef _MSC_VER 58*61046927SAndroid Build Coastguard Worker #include <d3d10_1.h> 59*61046927SAndroid Build Coastguard Worker #endif 60*61046927SAndroid Build Coastguard Worker 61*61046927SAndroid Build Coastguard Worker #include <d3d10umddi.h> 62*61046927SAndroid Build Coastguard Worker 63*61046927SAndroid Build Coastguard Worker #include "Debug.h" 64*61046927SAndroid Build Coastguard Worker 65*61046927SAndroid Build Coastguard Worker #include "pipe/p_screen.h" 66*61046927SAndroid Build Coastguard Worker #include "pipe/p_context.h" 67*61046927SAndroid Build Coastguard Worker #include "util/format/u_formats.h" 68*61046927SAndroid Build Coastguard Worker #include "pipe/p_defines.h" 69*61046927SAndroid Build Coastguard Worker 70*61046927SAndroid Build Coastguard Worker #include "util/u_debug.h" 71*61046927SAndroid Build Coastguard Worker #include "util/u_inlines.h" 72*61046927SAndroid Build Coastguard Worker 73*61046927SAndroid Build Coastguard Worker 74*61046927SAndroid Build Coastguard Worker #endif /* DRIVER_INCLUDES_H */ 75