ReactOS  0.4.13-dev-79-gcd489d8
haltypes.h
Go to the documentation of this file.
1 /* Hardware Abstraction Layer Types */
2 
3 $if (_NTDDK_)
4 typedef BOOLEAN
5 (NTAPI *PHAL_RESET_DISPLAY_PARAMETERS)(
8 
9 typedef PBUS_HANDLER
13 
14 typedef VOID
16  _In_ PBUS_HANDLER BusHandler);
17 
47 
63 
64 typedef NTSTATUS
70 
71 typedef NTSTATUS
75  _In_ PVOID Buffer);
76 
77 typedef VOID
82  _Out_ PVOID *Buffer);
83 
84 typedef NTSTATUS
90 
91 typedef NTSTATUS
97 
98 typedef NTSTATUS
105 
106 typedef NTSTATUS
108  _In_ PBUS_HANDLER BusHandler,
110  _Out_ PULONG SlotNumbers,
112 
113 typedef NTSTATUS
115 
116 typedef struct _PM_DISPATCH_TABLE {
121 
122 typedef NTSTATUS
124  _In_ PPM_DISPATCH_TABLE PmDriverDispatchTable,
125  _Out_ PPM_DISPATCH_TABLE *PmHalDispatchTable);
126 
127 typedef struct _DMA_ADAPTER*
132 
133 typedef NTSTATUS
135  _In_ INTERFACE_TYPE ParentInterfaceType,
136  _In_ ULONG ParentBusNumber,
137  _In_ INTERFACE_TYPE BridgeInterfaceType,
138  _In_ USHORT Size,
140  _Out_ PTRANSLATOR_INTERFACE Translator,
141  _Out_ PULONG BridgeBusNumber);
142 
143 typedef NTSTATUS
145 
146 typedef NTSTATUS
148  _In_ ULONG PassNumber);
149 
150 typedef NTSTATUS
154 
155 typedef NTSTATUS
159 
160 typedef BOOLEAN
162  _In_ INTERFACE_TYPE InterfaceType,
167 
168 typedef NTSTATUS
178 
179 typedef VOID
181 
182 typedef BOOLEAN
184 
185 typedef struct _MAP_REGISTER_ENTRY {
189 
190 typedef UCHAR
192  ULONG Vector);
193 
194 typedef BOOLEAN
200  _In_ BOOLEAN NextBus);
201 
202 typedef VOID
204 
205 typedef PVOID
208  _In_opt_ PCSTR OemId,
209  _In_opt_ PCSTR OemTableId);
210 
211 #if defined(_IA64_)
212 typedef NTSTATUS
213 (*pHalGetErrorCapList)(
214  _Inout_ PULONG CapsListLength,
215  _Inout_updates_bytes_(*CapsListLength) PUCHAR ErrorCapList);
216 
217 typedef NTSTATUS
218 (*pHalInjectError)(
221 #endif
222 
223 typedef VOID
225 
226 typedef VOID
229 
230 #if 1 /* Not present in WDK 7600 */
231 typedef VOID
233  _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
234  _In_ PSTRING NtDeviceName,
235  _Out_ PUCHAR NtSystemPath,
236  _Out_ PSTRING NtSystemPathString);
237 #endif
238 
239 typedef struct {
246 #if 1 /* Not present in WDK 7600 */
248 #endif
266 #if defined(_IA64_)
267  pHalGetErrorCapList HalGetErrorCapList;
268  pHalInjectError HalInjectError;
269 #endif
271 
272 #ifdef _NTSYSTEM_
274 #define HALDISPATCH (&HalDispatchTable)
275 #else
278 #define HALDISPATCH HalDispatchTable
279 #endif
280 
281 #define HAL_DISPATCH_VERSION 3 /* FIXME: when to use 4? */
282 #define HalDispatchTableVersion HALDISPATCH->Version
283 #define HalQuerySystemInformation HALDISPATCH->HalQuerySystemInformation
284 #define HalSetSystemInformation HALDISPATCH->HalSetSystemInformation
285 #define HalQueryBusSlots HALDISPATCH->HalQueryBusSlots
286 #define HalReferenceHandlerForBus HALDISPATCH->HalReferenceHandlerForBus
287 #define HalReferenceBusHandler HALDISPATCH->HalReferenceBusHandler
288 #define HalDereferenceBusHandler HALDISPATCH->HalDereferenceBusHandler
289 #define HalInitPnpDriver HALDISPATCH->HalInitPnpDriver
290 #define HalInitPowerManagement HALDISPATCH->HalInitPowerManagement
291 #define HalGetDmaAdapter HALDISPATCH->HalGetDmaAdapter
292 #define HalGetInterruptTranslator HALDISPATCH->HalGetInterruptTranslator
293 #define HalStartMirroring HALDISPATCH->HalStartMirroring
294 #define HalEndMirroring HALDISPATCH->HalEndMirroring
295 #define HalMirrorPhysicalMemory HALDISPATCH->HalMirrorPhysicalMemory
296 #define HalEndOfBoot HALDISPATCH->HalEndOfBoot
297 #define HalMirrorVerify HALDISPATCH->HalMirrorVerify
298 #define HalGetCachedAcpiTable HALDISPATCH->HalGetCachedAcpiTable
299 #define HalSetPciErrorHandlerCallback HALDISPATCH->HalSetPciErrorHandlerCallback
300 #if defined(_IA64_)
301 #define HalGetErrorCapList HALDISPATCH->HalGetErrorCapList
302 #define HalInjectError HALDISPATCH->HalInjectError
303 #endif
304 
305 typedef struct _HAL_BUS_INFORMATION {
311 
317 
326 
331 
332 typedef struct _HAL_PROFILE_SOURCE_LIST {
336 
342 
343 typedef struct _HAL_POWER_INFORMATION {
346 
350 
351 typedef struct _HAL_CALLBACKS {
355 
356 typedef struct _HAL_PROCESSOR_FEATURE {
359 
360 typedef NTSTATUS
362  _In_ BOOLEAN fRead,
363  _In_ ULONG dwAddr,
364  _In_ ULONG dwSize,
365  _Inout_ PULONG pdwData);
366 
373 
374 #if defined(_X86_) || defined(_IA64_) || defined(_AMD64_)
375 
376 typedef VOID
377 (NTAPI *PHALMCAINTERFACELOCK)(VOID);
378 
379 typedef VOID
380 (NTAPI *PHALMCAINTERFACEUNLOCK)(VOID);
381 
382 typedef NTSTATUS
383 (NTAPI *PHALMCAINTERFACEREADREGISTER)(
384  _In_ UCHAR BankNumber,
385  _Inout_ PVOID Exception);
386 
387 typedef struct _HAL_MCA_INTERFACE {
388  PHALMCAINTERFACELOCK Lock;
389  PHALMCAINTERFACEUNLOCK Unlock;
390  PHALMCAINTERFACEREADREGISTER ReadRegister;
391 } HAL_MCA_INTERFACE;
392 
393 typedef enum {
394  ApicDestinationModePhysical = 1,
395  ApicDestinationModeLogicalFlat,
396  ApicDestinationModeLogicalClustered,
397  ApicDestinationModeUnknown
398 } HAL_APIC_DESTINATION_MODE, *PHAL_APIC_DESTINATION_MODE;
399 
400 #if defined(_AMD64_)
401 
402 struct _KTRAP_FRAME;
403 struct _KEXCEPTION_FRAME;
404 
405 typedef ERROR_SEVERITY
406 (NTAPI *PDRIVER_EXCPTN_CALLBACK)(
408  _In_ struct _KTRAP_FRAME *TrapFrame,
409  _In_ struct _KEXCEPTION_FRAME *ExceptionFrame,
410  _In_ PMCA_EXCEPTION Exception);
411 
412 #endif
413 
414 #if defined(_X86_) || defined(_IA64_)
415 typedef
416 #if defined(_IA64_)
417 ERROR_SEVERITY
418 #else
419 VOID
420 #endif
421 (NTAPI *PDRIVER_EXCPTN_CALLBACK)(
423  _In_ PMCA_EXCEPTION BankLog);
424 #endif
425 
426 typedef PDRIVER_EXCPTN_CALLBACK PDRIVER_MCA_EXCEPTION_CALLBACK;
427 
428 typedef struct _MCA_DRIVER_INFO {
429  PDRIVER_MCA_EXCEPTION_CALLBACK ExceptionCallback;
430  PKDEFERRED_ROUTINE DpcCallback;
432 } MCA_DRIVER_INFO, *PMCA_DRIVER_INFO;
433 
434 typedef struct _HAL_ERROR_INFO {
435  ULONG Version;
436  ULONG InitMaxSize;
437  ULONG McaMaxSize;
438  ULONG McaPreviousEventsCount;
439  ULONG McaCorrectedEventsCount;
440  ULONG McaKernelDeliveryFails;
441  ULONG McaDriverDpcQueueFails;
442  ULONG McaReserved;
443  ULONG CmcMaxSize;
444  ULONG CmcPollingInterval;
445  ULONG CmcInterruptsCount;
446  ULONG CmcKernelDeliveryFails;
447  ULONG CmcDriverDpcQueueFails;
448  ULONG CmcGetStateFails;
449  ULONG CmcClearStateFails;
450  ULONG CmcReserved;
451  ULONGLONG CmcLogId;
452  ULONG CpeMaxSize;
453  ULONG CpePollingInterval;
454  ULONG CpeInterruptsCount;
455  ULONG CpeKernelDeliveryFails;
456  ULONG CpeDriverDpcQueueFails;
457  ULONG CpeGetStateFails;
458  ULONG CpeClearStateFails;
459  ULONG CpeInterruptSources;
460  ULONGLONG CpeLogId;
461  ULONGLONG KernelReserved[4];
462 } HAL_ERROR_INFO, *PHAL_ERROR_INFO;
463 
464 #define HAL_MCE_INTERRUPTS_BASED ((ULONG)-1)
465 #define HAL_MCE_DISABLED ((ULONG)0)
466 
467 #define HAL_CMC_INTERRUPTS_BASED HAL_MCE_INTERRUPTS_BASED
468 #define HAL_CMC_DISABLED HAL_MCE_DISABLED
469 
470 #define HAL_CPE_INTERRUPTS_BASED HAL_MCE_INTERRUPTS_BASED
471 #define HAL_CPE_DISABLED HAL_MCE_DISABLED
472 
473 #define HAL_MCA_INTERRUPTS_BASED HAL_MCE_INTERRUPTS_BASED
474 #define HAL_MCA_DISABLED HAL_MCE_DISABLED
475 
476 typedef VOID
477 (NTAPI *PDRIVER_CMC_EXCEPTION_CALLBACK)(
479  _In_ PCMC_EXCEPTION CmcLog);
480 
481 typedef VOID
482 (NTAPI *PDRIVER_CPE_EXCEPTION_CALLBACK)(
484  _In_ PCPE_EXCEPTION CmcLog);
485 
486 typedef struct _CMC_DRIVER_INFO {
487  PDRIVER_CMC_EXCEPTION_CALLBACK ExceptionCallback;
488  PKDEFERRED_ROUTINE DpcCallback;
490 } CMC_DRIVER_INFO, *PCMC_DRIVER_INFO;
491 
492 typedef struct _CPE_DRIVER_INFO {
493  PDRIVER_CPE_EXCEPTION_CALLBACK ExceptionCallback;
494  PKDEFERRED_ROUTINE DpcCallback;
496 } CPE_DRIVER_INFO, *PCPE_DRIVER_INFO;
497 
498 #endif // defined(_X86_) || defined(_IA64_) || defined(_AMD64_)
499 
500 #if defined(_IA64_)
501 
502 typedef NTSTATUS
503 (*HALSENDCROSSPARTITIONIPI)(
504  _In_ USHORT ProcessorID,
505  _In_ UCHAR HardwareVector);
506 
507 typedef NTSTATUS
508 (*HALRESERVECROSSPARTITIONINTERRUPTVECTOR)(
510  _Out_ PKIRQL Irql,
512  _Out_ PUCHAR HardwareVector);
513 
514 typedef VOID
515 (*HALFREECROSSPARTITIONINTERRUPTVECTOR)(
516  _In_ ULONG Vector,
518 
519 typedef struct _HAL_CROSS_PARTITION_IPI_INTERFACE {
520  HALSENDCROSSPARTITIONIPI HalSendCrossPartitionIpi;
521  HALRESERVECROSSPARTITIONINTERRUPTVECTOR HalReserveCrossPartitionInterruptVector;
522  HALFREECROSSPARTITIONINTERRUPTVECTOR HalFreeCrossPartitionInterruptVector;
523 } HAL_CROSS_PARTITION_IPI_INTERFACE;
524 
525 #define HAL_CROSS_PARTITION_IPI_INTERFACE_MINIMUM_SIZE \
526  FIELD_OFFSET(HAL_CROSS_PARTITION_IPI_INTERFACE, \
527  HalFreeCrossPartitionInterruptVector)
528 
529 #endif /* defined(_IA64_) */
530 
534 
535 #define HAL_PLATFORM_DISABLE_WRITE_COMBINING 0x01L
536 #define HAL_PLATFORM_DISABLE_PTCG 0x04L
537 #define HAL_PLATFORM_DISABLE_UC_MAIN_MEMORY 0x08L
538 #define HAL_PLATFORM_ENABLE_WRITE_COMBINING_MMIO 0x10L
539 #define HAL_PLATFORM_ACPI_TABLES_CACHED 0x20L
540 
541 $endif (_NTDDK_)
#define _Inout_updates_bytes_(size)
Definition: no_sal2.h:287
pHalQuerySystemInformation HalQuerySystemInformation
Definition: haltypes.h:241
enum _KPROFILE_SOURCE KPROFILE_SOURCE
BOOLEAN(NTAPI * pHalResetDisplay)(VOID)
Definition: haltypes.h:183
#define __CREATE_NTOS_DATA_IMPORT_ALIAS(_Name)
NTSTATUS(NTAPI * pHalInitPowerManagement)(_In_ PPM_DISPATCH_TABLE PmDriverDispatchTable, _Out_ PPM_DISPATCH_TABLE *PmHalDispatchTable)
Definition: haltypes.h:123
_In_ ULONG _In_ PHYSICAL_ADDRESS BusAddress
Definition: iofuncs.h:2268
ULONG Version
Definition: haltypes.h:240
IN PVOID IN PVOID IN USHORT Version
Definition: pci.h:359
enum _HAL_SET_INFORMATION_CLASS * PHAL_SET_INFORMATION_CLASS
enum _INTERFACE_TYPE INTERFACE_TYPE
_Out_ PULONG NumberOfMapRegisters
Definition: halfuncs.h:209
pHalIoWritePartitionTable HalIoWritePartitionTable
Definition: haltypes.h:251
NTSTATUS(NTAPI * pHalMirrorPhysicalMemory)(_In_ PHYSICAL_ADDRESS PhysicalAddress, _In_ LARGE_INTEGER NumberOfBytes)
Definition: haltypes.h:151
_Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PCM_RESOURCE_LIST * AllocatedResources
Definition: ndis.h:4622
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE BusType
Definition: halfuncs.h:156
uint16_t * PWSTR
Definition: typedefs.h:54
enum _BUS_DATA_TYPE BUS_DATA_TYPE
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG AddressSpace
Definition: iofuncs.h:2268
unsigned char * PUCHAR
Definition: retypes.h:3
struct _HAL_PLATFORM_INFORMATION * PHAL_PLATFORM_INFORMATION
struct _HAL_POWER_INFORMATION * PHAL_POWER_INFORMATION
NTSTATUS(FASTCALL * pHalIoWritePartitionTable)(_In_ PDEVICE_OBJECT DeviceObject, _In_ ULONG SectorSize, _In_ ULONG SectorsPerTrack, _In_ ULONG NumberOfHeads, _In_ struct _DRIVE_LAYOUT_INFORMATION *PartitionBuffer)
Definition: haltypes.h:99
struct _HAL_AMLI_BAD_IO_ADDRESS_LIST * PHAL_AMLI_BAD_IO_ADDRESS_LIST
pHalEndOfBoot HalEndOfBoot
Definition: haltypes.h:262
BUS_DATA_TYPE ConfigurationType
Definition: haltypes.h:307
PBUS_HANDLER(FASTCALL * pHalHandlerForBus)(_In_ INTERFACE_TYPE InterfaceType, _In_ ULONG BusNumber)
Definition: haltypes.h:10
struct _HAL_PROFILE_SOURCE_LIST HAL_PROFILE_SOURCE_LIST
pHalHandlerForBus HalReferenceHandlerForBus
Definition: haltypes.h:252
_In_ ULONG _In_ ULONG _In_ ULONG NumberOfHeads
Definition: iofuncs.h:2066
NTSTATUS(NTAPI * PHALIOREADWRITEHANDLER)(_In_ BOOLEAN fRead, _In_ ULONG dwAddr, _In_ ULONG dwSize, _Inout_ PULONG pdwData)
Definition: haltypes.h:361
_In_ ULONG _In_ ULONG PartitionNumber
Definition: iofuncs.h:2056
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG _Out_ PPHYSICAL_ADDRESS TranslatedAddress
Definition: iofuncs.h:2268
PVOID(NTAPI * pHalGetAcpiTable)(_In_ ULONG Signature, _In_opt_ PCSTR OemId, _In_opt_ PCSTR OemTableId)
Definition: haltypes.h:206
#define FASTCALL
Definition: nt_native.h:50
NTSTATUS(NTAPI * pHalQuerySystemInformation)(_In_ HAL_QUERY_INFORMATION_CLASS InformationClass, _In_ ULONG BufferSize, _Inout_updates_bytes_to_(BufferSize, *ReturnedLength) PVOID Buffer, _Out_ PULONG ReturnedLength)
Definition: haltypes.h:65
_Out_ PKIRQL Irql
Definition: csq.h:179
BOOLEAN WriteToDevice
Definition: haltypes.h:187
#define _In_opt_
Definition: no_sal2.h:213
struct _PM_DISPATCH_TABLE PM_DISPATCH_TABLE
_In_opt_ PUNICODE_STRING DriverClassName
Definition: halfuncs.h:156
BOOLEAN(NTAPI * pHalTranslateBusAddress)(_In_ INTERFACE_TYPE InterfaceType, _In_ ULONG BusNumber, _In_ PHYSICAL_ADDRESS BusAddress, _Inout_ PULONG AddressSpace, _Out_ PPHYSICAL_ADDRESS TranslatedAddress)
Definition: haltypes.h:161
uint32_t ULONG_PTR
Definition: typedefs.h:63
$if(_NTDDK_) typedef BOOLEAN(NTAPI *PHAL_RESET_DISPLAY_PARAMETERS)(_In_ ULONG Columns
Definition: ke.h:167
Definition: haltypes.h:185
pHalIoSetPartitionInformation HalIoSetPartitionInformation
Definition: haltypes.h:250
INTERFACE_TYPE BusType
Definition: haltypes.h:306
NTSTATUS(NTAPI * pHalStartMirroring)(VOID)
Definition: haltypes.h:144
BOOLEAN(NTAPI * pHalFindBusAddressTranslation)(_In_ PHYSICAL_ADDRESS BusAddress, _Inout_ PULONG AddressSpace, _Out_ PPHYSICAL_ADDRESS TranslatedAddress, _Inout_ PULONG_PTR Context, _In_ BOOLEAN NextBus)
Definition: haltypes.h:195
_HAL_SET_INFORMATION_CLASS
Definition: haltypes.h:48
NTSTATUS(FASTCALL * pHalIoReadPartitionTable)(_In_ PDEVICE_OBJECT DeviceObject, _In_ ULONG SectorSize, _In_ BOOLEAN ReturnRecognizedPartitions, _Out_ struct _DRIVE_LAYOUT_INFORMATION **PartitionBuffer)
Definition: haltypes.h:85
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
_In_ ULONG _In_ ULONG SectorsPerTrack
Definition: iofuncs.h:2066
NTSTATUS(FASTCALL * pHalIoSetPartitionInformation)(_In_ PDEVICE_OBJECT DeviceObject, _In_ ULONG SectorSize, _In_ ULONG PartitionNumber, _In_ ULONG PartitionType)
Definition: haltypes.h:92
PCALLBACK_OBJECT SetSystemInformation
Definition: haltypes.h:352
PCALLBACK_OBJECT BusCheck
Definition: haltypes.h:353
_In_ ULONG BufferLength
Definition: usbdlib.h:225
struct _HAL_PLATFORM_INFORMATION HAL_PLATFORM_INFORMATION
_In_ ULONG _In_ BOOLEAN _Out_ struct _DRIVE_LAYOUT_INFORMATION ** PartitionBuffer
Definition: iofuncs.h:2048
NTSTATUS(NTAPI * pHalGetInterruptTranslator)(_In_ INTERFACE_TYPE ParentInterfaceType, _In_ ULONG ParentBusNumber, _In_ INTERFACE_TYPE BridgeInterfaceType, _In_ USHORT Size, _In_ USHORT Version, _Out_ PTRANSLATOR_INTERFACE Translator, _Out_ PULONG BridgeBusNumber)
Definition: haltypes.h:134
unsigned char BOOLEAN
struct _HAL_CALLBACKS HAL_CALLBACKS
_In_ ULONG Rows
Definition: haltypes.h:7
struct _HAL_PROCESSOR_FEATURE HAL_PROCESSOR_FEATURE
#define _Out_
Definition: no_sal2.h:323
static PDRIVER_OBJECT DriverObject
Definition: template.c:42
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
struct _DMA_ADAPTER *NTAPI * pHalGetDmaAdapter(_In_ PVOID Context, _In_ struct _DEVICE_DESCRIPTION *DeviceDescriptor, _Out_ PULONG NumberOfMapRegisters)
Definition: haltypes.h:128
enum _HAL_DISPLAY_BIOS_INFORMATION HAL_DISPLAY_BIOS_INFORMATION
VOID(FASTCALL * pHalIoAssignDriveLetters)(_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ PSTRING NtDeviceName, _Out_ PUCHAR NtSystemPath, _Out_ PSTRING NtSystemPathString)
Definition: haltypes.h:232
void * PVOID
Definition: retypes.h:9
struct _HAL_PROFILE_SOURCE_INFORMATION * PHAL_PROFILE_SOURCE_INFORMATION
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber
Definition: halfuncs.h:156
NTSTATUS(NTAPI * pHalInitPnpDriver)(VOID)
Definition: haltypes.h:114
enum _HAL_QUERY_INFORMATION_CLASS HAL_QUERY_INFORMATION_CLASS
NTSTATUS(NTAPI * pHalEndMirroring)(_In_ ULONG PassNumber)
Definition: haltypes.h:147
const KSDEVICE_DESCRIPTOR DeviceDescriptor
Definition: splitter.c:257
struct _HAL_PROFILE_SOURCE_INTERVAL HAL_PROFILE_SOURCE_INTERVAL
struct _HAL_PROFILE_SOURCE_INFORMATION_EX HAL_PROFILE_SOURCE_INFORMATION_EX
struct _HAL_CALLBACKS * PHAL_CALLBACKS
#define _Inout_updates_bytes_to_(size, count)
Definition: no_sal2.h:291
struct _HAL_PROFILE_SOURCE_INTERVAL * PHAL_PROFILE_SOURCE_INTERVAL
struct _HAL_PROCESSOR_SPEED_INFO * PHAL_PROCESSOR_SPEED_INFORMATION
PVOID Function[1]
Definition: haltypes.h:119
uint64_t ULONGLONG
Definition: typedefs.h:65
#define BufferSize
Definition: classpnp.h:419
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
Definition: halfuncs.h:170
PHAL_DISPATCH HalDispatchTable
Definition: halstub.c:49
#define _Inout_
Definition: no_sal2.h:244
KPROFILE_SOURCE Source
Definition: haltypes.h:333
VOID(FASTCALL * pHalReferenceBusHandler)(_In_ PBUS_HANDLER BusHandler)
Definition: haltypes.h:15
VOID(NTAPI * pHalSetPciErrorHandlerCallback)(_In_ PCI_ERROR_HANDLER_CALLBACK Callback)
Definition: haltypes.h:227
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG _In_ ULONG SlotNumber
Definition: halfuncs.h:156
struct _HAL_POWER_INFORMATION HAL_POWER_INFORMATION
enum _HAL_SET_INFORMATION_CLASS HAL_SET_INFORMATION_CLASS
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1060
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _HAL_PROFILE_SOURCE_LIST * PHAL_PROFILE_SOURCE_LIST
struct _HAL_PROCESSOR_SPEED_INFO HAL_PROCESSOR_SPEED_INFORMATION
_In_ PNDIS_STRING _In_opt_ NDIS_HANDLE DeviceContext
Definition: ndis.h:5227
pHalIoReadPartitionTable HalIoReadPartitionTable
Definition: haltypes.h:249
KDEFERRED_ROUTINE * PKDEFERRED_ROUTINE
Definition: ketypes.h:678
#define NTSTATUS
Definition: precomp.h:20
NTSTATUS(NTAPI * pHalMirrorVerify)(_In_ PHYSICAL_ADDRESS PhysicalAddress, _In_ LARGE_INTEGER NumberOfBytes)
Definition: haltypes.h:156
#define VOID
Definition: acefi.h:82
_In_ ULONG _In_ BOOLEAN ReturnRecognizedPartitions
Definition: iofuncs.h:2046
_In_ ULONG _In_ BATTERY_QUERY_INFORMATION_LEVEL _In_ LONG _In_ ULONG _Out_ PULONG ReturnedLength
Definition: batclass.h:187
KPROFILE_SOURCE Source
Definition: haltypes.h:328
KIRQL * PKIRQL
Definition: env_spec_w32.h:592
pHalGetDmaAdapter HalGetDmaAdapter
Definition: haltypes.h:257
VOID(FASTCALL * pHalExamineMBR)(_In_ PDEVICE_OBJECT DeviceObject, _In_ ULONG SectorSize, _In_ ULONG MBRTypeIdentifier, _Out_ PVOID *Buffer)
Definition: haltypes.h:78
pHalQueryBusSlots HalQueryBusSlots
Definition: haltypes.h:243
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock
Definition: CrNtStubs.h:75
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
VOID(NTAPI * pHalEndOfBoot)(VOID)
Definition: haltypes.h:203
#define _In_reads_bytes_(size)
Definition: no_sal2.h:229
pHalInitPowerManagement HalInitPowerManagement
Definition: haltypes.h:256
struct _HAL_BUS_INFORMATION HAL_BUS_INFORMATION
NTSTATUS(NTAPI * pHalSetSystemInformation)(_In_ HAL_SET_INFORMATION_CLASS InformationClass, _In_ ULONG BufferSize, _In_ PVOID Buffer)
Definition: haltypes.h:72
struct _PM_DISPATCH_TABLE * PPM_DISPATCH_TABLE
pHalStartMirroring HalStartMirroring
Definition: haltypes.h:259
#define _In_
Definition: no_sal2.h:204
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
pHalEndMirroring HalEndMirroring
Definition: haltypes.h:260
VOID(NTAPI * pHalHaltSystem)(VOID)
Definition: haltypes.h:180
static const COLUMN_LIST Columns[]
Definition: listview.c:19
struct _MAP_REGISTER_ENTRY MAP_REGISTER_ENTRY
pHalSetPciErrorHandlerCallback HalSetPciErrorHandlerCallback
Definition: haltypes.h:265
pHalInitPnpDriver HalInitPnpDriver
Definition: haltypes.h:255
pHalIoAssignDriveLetters HalIoAssignDriveLetters
Definition: haltypes.h:247
pHalGetInterruptTranslator HalGetInterruptTranslator
Definition: haltypes.h:258
_In_ ULONG _In_ ULONG MBRTypeIdentifier
Definition: halfuncs.h:291
struct _HAL_AMLI_BAD_IO_ADDRESS_LIST HAL_AMLI_BAD_IO_ADDRESS_LIST
struct HAL_DISPATCH * PHAL_DISPATCH
pHalMirrorVerify HalMirrorVerify
Definition: haltypes.h:263
unsigned short USHORT
Definition: pedump.c:61
UCHAR(NTAPI * pHalVectorToIDTEntry)(ULONG Vector)
Definition: haltypes.h:191
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG Vector
Definition: iofuncs.h:798
unsigned int * PULONG
Definition: retypes.h:1
struct _HAL_BUS_INFORMATION * PHAL_BUS_INFORMATION
pHalExamineMBR HalExamineMBR
Definition: haltypes.h:245
pHalReferenceBusHandler HalDereferenceBusHandler
Definition: haltypes.h:254
#define BOOLEAN
Definition: pedump.c:73
INTERFACE_TYPE InterfaceType
Definition: haltypes.h:224
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes
Definition: iotypes.h:997
CHAR PartitionType
Definition: part_xbox.c:33
pHalSetSystemInformation HalSetSystemInformation
Definition: haltypes.h:242
struct tagContext Context
Definition: acpixf.h:1012
unsigned int ULONG
Definition: retypes.h:1
VOID(NTAPI * PCI_ERROR_HANDLER_CALLBACK)(VOID)
Definition: haltypes.h:224
uint32_t * PULONG_PTR
Definition: typedefs.h:63
_In_ PUNICODE_STRING RegistryPath
Definition: wmip.h:27
struct _BUS_HANDLER * PBUS_HANDLER
Definition: nt_native.h:37
NTSTATUS(NTAPI * pHalQueryBusSlots)(_In_ PBUS_HANDLER BusHandler, _In_ ULONG BufferSize, _Out_ PULONG SlotNumbers, _Out_ PULONG ReturnedLength)
Definition: haltypes.h:107
enum _HAL_QUERY_INFORMATION_CLASS * PHAL_QUERY_INFORMATION_CLASS
const char * PCSTR
Definition: typedefs.h:51
_In_ ULONG SectorSize
Definition: halfuncs.h:291
struct _HAL_PROFILE_SOURCE_INFORMATION HAL_PROFILE_SOURCE_INFORMATION
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1714
NTSTATUS(NTAPI * pHalAssignSlotResources)(_In_ PUNICODE_STRING RegistryPath, _In_opt_ PUNICODE_STRING DriverClassName, _In_ PDRIVER_OBJECT DriverObject, _In_ PDEVICE_OBJECT DeviceObject, _In_ INTERFACE_TYPE BusType, _In_ ULONG BusNumber, _In_ ULONG SlotNumber, _Inout_ PCM_RESOURCE_LIST *AllocatedResources)
Definition: haltypes.h:169
IN BOOLEAN OUT PSTR Buffer
Definition: progress.h:34
struct _MAP_REGISTER_ENTRY * PMAP_REGISTER_ENTRY
static const WCHAR Signature[]
Definition: parser.c:141
_HAL_QUERY_INFORMATION_CLASS
Definition: haltypes.h:18
LPFNPSPCALLBACK Callback
Definition: desk.c:111
struct _HAL_PROFILE_SOURCE_INFORMATION_EX * PHAL_PROFILE_SOURCE_INFORMATION_EX
enum _HAL_DISPLAY_BIOS_INFORMATION * PHAL_DISPLAY_BIOS_INFORMATION
pHalMirrorPhysicalMemory HalMirrorPhysicalMemory
Definition: haltypes.h:261
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:54
#define _NTDDK_
PVOID MapRegister
Definition: haltypes.h:186
UINT64 TrapFrame
Definition: ketypes.h:368
pHalReferenceBusHandler HalReferenceBusHandler
Definition: haltypes.h:253
pHalGetAcpiTable HalGetCachedAcpiTable
Definition: haltypes.h:264
_HAL_DISPLAY_BIOS_INFORMATION
Definition: haltypes.h:337
ULONG Spare1
Definition: haltypes.h:244
PHALIOREADWRITEHANDLER IOHandler
Definition: haltypes.h:371