4 * Type definitions for miniport drivers
6 * This file is part of the w32api package.
9 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27 #pragma GCC system_header
36 #define EMULATOR_READ_ACCESS 0x01
37 #define EMULATOR_WRITE_ACCESS 0x02
39 typedef enum _EMULATOR_PORT_ACCESS_TYPE
{
43 } EMULATOR_PORT_ACCESS_TYPE
, *PEMULATOR_PORT_ACCESS_TYPE
;
46 typedef struct _EMULATOR_ACCESS_ENTRY
{
48 ULONG NumConsecutivePorts
;
49 EMULATOR_PORT_ACCESS_TYPE AccessType
;
53 } EMULATOR_ACCESS_ENTRY
, *PEMULATOR_ACCESS_ENTRY
;
55 #ifndef VIDEO_ACCESS_RANGE_DEFINED /* also in video.h */
56 #define VIDEO_ACCESS_RANGE_DEFINED
57 typedef struct _VIDEO_ACCESS_RANGE
{
58 PHYSICAL_ADDRESS RangeStart
;
64 } VIDEO_ACCESS_RANGE
, *PVIDEO_ACCESS_RANGE
;
68 (*PBANKED_SECTION_ROUTINE
)(
69 /*IN*/ ULONG ReadBank
,
70 /*IN*/ ULONG WriteBank
,
71 /*IN*/ PVOID Context
);
77 #endif /* __MINIPORT_H */