Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

hal.h File Reference

#include "pshpack1.h"
#include "poppack.h"

Go to the source code of this file.

Classes

struct  _OEM_FONT_FILE_HEADER
struct  _DEVICE_DESCRIPTION
struct  _PARTITION_DESCRIPTOR
struct  _DEVICE_CONTROL_CONTEXT
struct  _HAL_DEVICE_CONTROL
struct  _SUPPORTED_RANGE
struct  _SUPPORTED_RANGES
struct  _BUS_HANDLER
struct  _PM_DISPATCH_TABLE
struct  HAL_DISPATCH
struct  HAL_PRIVATE_DISPATCH
struct  _HAL_BUS_INFORMATION
struct  _HAL_PROFILE_SOURCE_INFORMATION
struct  _HAL_PROFILE_SOURCE_INTERVAL
struct  _HAL_POWER_INFORMATION
struct  _HAL_PROCESSOR_SPEED_INFO
struct  _HAL_CALLBACKS
struct  _HAL_PROCESSOR_FEATURE
struct  _SCATTER_GATHER_ELEMENT
struct  _SCATTER_GATHER_LIST
struct  _DMA_ADAPTER
struct  _DMA_OPERATIONS

Defines

#define OEM_FONT_VERSION   0x200
#define OEM_FONT_TYPE   0
#define OEM_FONT_ITALIC   0
#define OEM_FONT_UNDERLINE   0
#define OEM_FONT_STRIKEOUT   0
#define OEM_FONT_CHARACTER_SET   255
#define OEM_FONT_FAMILY   (3 << 4)
#define DEVICE_DESCRIPTION_VERSION   0
#define DEVICE_DESCRIPTION_VERSION1   1
#define NUM_PARTITION_TABLE_ENTRIES   4
#define PARTITION_TABLE_OFFSET   (0x1be / 2)
#define BOOT_SIGNATURE_OFFSET   ((0x200 / 2) - 1)
#define BOOT_RECORD_SIGNATURE   (0xaa55)
#define PARTITION_BUFFER_SIZE   2048
#define PARTITION_ACTIVE_FLAG   0x80
#define BUS_SUPPORTED_RANGE_VERSION   1
#define BUS_HANDLER_VERSION   1
#define HALDISPATCH   (&HalDispatchTable)
#define HAL_DISPATCH_VERSION   2
#define HalDispatchTableVersion   HALDISPATCH->Version
#define HalQuerySystemInformation   HALDISPATCH->HalQuerySystemInformation
#define HalSetSystemInformation   HALDISPATCH->HalSetSystemInformation
#define HalQueryBusSlots   HALDISPATCH->HalQueryBusSlots
#define HalExamineMBR   HALDISPATCH->HalExamineMBR
#define HalIoAssignDriveLetters   HALDISPATCH->HalIoAssignDriveLetters
#define HalIoReadPartitionTable   HALDISPATCH->HalIoReadPartitionTable
#define HalIoSetPartitionInformation   HALDISPATCH->HalIoSetPartitionInformation
#define HalIoWritePartitionTable   HALDISPATCH->HalIoWritePartitionTable
#define HalReferenceHandlerForBus   HALDISPATCH->HalReferenceHandlerForBus
#define HalReferenceBusHandler   HALDISPATCH->HalReferenceBusHandler
#define HalDereferenceBusHandler   HALDISPATCH->HalDereferenceBusHandler
#define HalInitPnpDriver   HALDISPATCH->HalInitPnpDriver
#define HalInitPowerManagement   HALDISPATCH->HalInitPowerManagement
#define HalGetDmaAdapter   HALDISPATCH->HalGetDmaAdapter
#define HalGetInterruptTranslator   HALDISPATCH->HalGetInterruptTranslator
#define HALPDISPATCH   (&HalPrivateDispatchTable)
#define HAL_PRIVATE_DISPATCH_VERSION   1
#define HalRegisterBusHandler   HALPDISPATCH->HalRegisterBusHandler
#define HalHandlerForBus   HALPDISPATCH->HalHandlerForBus
#define HalHandlerForConfigSpace   HALPDISPATCH->HalHandlerForConfigSpace
#define HalLocateHiberRanges   HALPDISPATCH->HalLocateHiberRanges
#define HalSetWakeEnable   HALPDISPATCH->HalSetWakeEnable
#define HalSetWakeAlarm   HALPDISPATCH->HalSetWakeAlarm
#define HalHaltSystem   HALPDISPATCH->HalHaltSystem
#define HalResetDisplay   HALPDISPATCH->HalResetDisplay

Typedefs

typedef _OEM_FONT_FILE_HEADER OEM_FONT_FILE_HEADER
typedef _OEM_FONT_FILE_HEADERPOEM_FONT_FILE_HEADER
typedef _DEVICE_DESCRIPTION DEVICE_DESCRIPTION
typedef _DEVICE_DESCRIPTIONPDEVICE_DESCRIPTION
typedef _PARTITION_DESCRIPTOR PARTITION_DESCRIPTOR
typedef _PARTITION_DESCRIPTORPPARTITION_DESCRIPTOR
typedef BOOLEAN(* PHAL_RESET_DISPLAY_PARAMETERS )(IN ULONG Columns, IN ULONG Rows)
typedef VOID(* PDEVICE_CONTROL_COMPLETION )(IN struct _DEVICE_CONTROL_CONTEXT *ControlContext)
typedef _DEVICE_CONTROL_CONTEXT DEVICE_CONTROL_CONTEXT
typedef _DEVICE_CONTROL_CONTEXTPDEVICE_CONTROL_CONTEXT
typedef _HAL_DEVICE_CONTROL HAL_DEVICE_CONTROL_CONTEXT
typedef _HAL_DEVICE_CONTROLPHAL_DEVICE_CONTROL_CONTEXT
typedef ULONG(* PGETSETBUSDATA )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
typedef ULONG(* PGETINTERRUPTVECTOR )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG BusInterruptLevel, IN ULONG BusInterruptVector, OUT PKIRQL Irql, OUT PKAFFINITY Affinity)
typedef BOOLEAN(* PTRANSLATEBUSADDRESS )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress)
typedef NTSTATUS(* PADJUSTRESOURCELIST )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *pResourceList)
typedef PDEVICE_HANDLER_OBJECT(* PREFERENCE_DEVICE_HANDLER )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG SlotNumber)
typedef NTSTATUS(* PASSIGNSLOTRESOURCES )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING DriverClassName OPTIONAL, IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject OPTIONAL, IN ULONG SlotNumber, IN OUT PCM_RESOURCE_LIST *AllocatedResources)
typedef NTSTATUS(* PQUERY_BUS_SLOTS )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG BufferSize, OUT PULONG SlotNumbers, OUT PULONG ReturnedLength)
typedef ULONG(* PGET_SET_DEVICE_INSTANCE_DATA )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN PDEVICE_HANDLER_OBJECT DeviceHandler, IN ULONG DataType, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
typedef NTSTATUS(* PDEVICE_CONTROL )(IN PHAL_DEVICE_CONTROL_CONTEXT Context)
typedef NTSTATUS(* PHIBERNATEBRESUMEBUS )(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler)
typedef _SUPPORTED_RANGE SUPPORTED_RANGE
typedef _SUPPORTED_RANGEPSUPPORTED_RANGE
typedef _SUPPORTED_RANGES SUPPORTED_RANGES
typedef _SUPPORTED_RANGESPSUPPORTED_RANGES
typedef _BUS_HANDLER BUS_HANDLER
typedef _BUS_HANDLERPBUS_HANDLER
typedef NTSTATUS(* PINSTALL_BUS_HANDLER )(IN PBUS_HANDLER Bus)
typedef NTSTATUS(* pHalRegisterBusHandler )(IN INTERFACE_TYPE InterfaceType, IN BUS_DATA_TYPE AssociatedConfigurationSpace, IN ULONG BusNumber, IN INTERFACE_TYPE ParentBusType, IN ULONG ParentBusNumber, IN ULONG SizeofBusExtensionData, IN PINSTALL_BUS_HANDLER InstallBusHandlers, OUT PBUS_HANDLER *BusHandler)
typedef IN ULONG BusNumber
typedef VOID(* pHalSetWakeEnable )(IN BOOLEAN Enable)
typedef VOID(* pHalSetWakeAlarm )(IN ULONGLONG WakeTime, IN PTIME_FIELDS WakeTimeFields)
typedef VOID(* pHalLocateHiberRanges )(IN PVOID MemoryMap)
typedef enum _HAL_QUERY_INFORMATION_CLASS HAL_QUERY_INFORMATION_CLASS
typedef enum _HAL_QUERY_INFORMATION_CLASSPHAL_QUERY_INFORMATION_CLASS
typedef enum _HAL_SET_INFORMATION_CLASS HAL_SET_INFORMATION_CLASS
typedef enum _HAL_SET_INFORMATION_CLASSPHAL_SET_INFORMATION_CLASS
typedef NTSTATUS(* pHalQuerySystemInformation )(IN HAL_QUERY_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, IN OUT PVOID Buffer, OUT PULONG ReturnedLength)
typedef NTSTATUS(* pHalSetSystemInformation )(IN HAL_SET_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, IN PVOID Buffer)
typedef VOID(FASTCALL * pHalExamineMBR )(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG MBRTypeIdentifier, OUT PVOID *Buffer)
typedef VOID(FASTCALL * pHalIoAssignDriveLetters )(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock, IN PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString)
typedef NTSTATUS(FASTCALL * pHalIoReadPartitionTable )(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN BOOLEAN ReturnRecognizedPartitions, OUT struct _DRIVE_LAYOUT_INFORMATION **PartitionBuffer)
typedef NTSTATUS(FASTCALL * pHalIoSetPartitionInformation )(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG PartitionNumber, IN ULONG PartitionType)
typedef NTSTATUS(FASTCALL * pHalIoWritePartitionTable )(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG SectorsPerTrack, IN ULONG NumberOfHeads, IN struct _DRIVE_LAYOUT_INFORMATION *PartitionBuffer)
typedef NTSTATUS(* pHalQueryBusSlots )(IN PBUS_HANDLER BusHandler, IN ULONG BufferSize, OUT PULONG SlotNumbers, OUT PULONG ReturnedLength)
typedef NTSTATUS(* pHalInitPnpDriver )(VOID)
typedef _PM_DISPATCH_TABLE PM_DISPATCH_TABLE
typedef _PM_DISPATCH_TABLEPPM_DISPATCH_TABLE
typedef NTSTATUS(* pHalInitPowerManagement )(IN PPM_DISPATCH_TABLE PmDriverDispatchTable, OUT PPM_DISPATCH_TABLE *PmHalDispatchTable)
typedef _DMA_ADAPTER *(* pHalGetDmaAdapter )(IN PVOID Context, IN struct _DEVICE_DESCRIPTION *DeviceDescriptor, OUT PULONG NumberOfMapRegisters)
typedef NTSTATUS(* 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)
typedef BOOLEAN(* pHalTranslateBusAddress )(IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber, IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress)
typedef NTSTATUS(* pHalAssignSlotResources )(IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING DriverClassName OPTIONAL, IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject, IN INTERFACE_TYPE BusType, IN ULONG BusNumber, IN ULONG SlotNumber, IN OUT PCM_RESOURCE_LIST *AllocatedResources)
typedef VOID(* pHalHaltSystem )(VOID)
typedef VOID(* pHalResetDisplay )(VOID)
typedef BOOLEAN(* pHalFindBusAddressTranslation )(IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress, IN OUT PULONG_PTR Context, IN BOOLEAN NextBus)
typedef * PHAL_DISPATCH
typedef * PHAL_PRIVATE_DISPATCH
typedef _HAL_BUS_INFORMATION HAL_BUS_INFORMATION
typedef _HAL_BUS_INFORMATIONPHAL_BUS_INFORMATION
typedef _HAL_PROFILE_SOURCE_INFORMATION HAL_PROFILE_SOURCE_INFORMATION
typedef _HAL_PROFILE_SOURCE_INFORMATIONPHAL_PROFILE_SOURCE_INFORMATION
typedef _HAL_PROFILE_SOURCE_INTERVAL HAL_PROFILE_SOURCE_INTERVAL
typedef _HAL_PROFILE_SOURCE_INTERVALPHAL_PROFILE_SOURCE_INTERVAL
typedef enum _HAL_DISPLAY_BIOS_INFORMATION HAL_DISPLAY_BIOS_INFORMATION
typedef enum _HAL_DISPLAY_BIOS_INFORMATIONPHAL_DISPLAY_BIOS_INFORMATION
typedef _HAL_POWER_INFORMATION HAL_POWER_INFORMATION
typedef _HAL_POWER_INFORMATIONPHAL_POWER_INFORMATION
typedef _HAL_PROCESSOR_SPEED_INFO HAL_PROCESSOR_SPEED_INFORMATION
typedef _HAL_PROCESSOR_SPEED_INFOPHAL_PROCESSOR_SPEED_INFORMATION
typedef _HAL_CALLBACKS HAL_CALLBACKS
typedef _HAL_CALLBACKSPHAL_CALLBACKS
typedef _HAL_PROCESSOR_FEATURE HAL_PROCESSOR_FEATURE
typedef _SCATTER_GATHER_ELEMENT SCATTER_GATHER_ELEMENT
typedef _SCATTER_GATHER_ELEMENTPSCATTER_GATHER_ELEMENT
typedef _SCATTER_GATHER_LIST SCATTER_GATHER_LIST
typedef _SCATTER_GATHER_LISTPSCATTER_GATHER_LIST
typedef _DMA_OPERATIONSPDMA_OPERATIONS
typedef _DMA_ADAPTER DMA_ADAPTER
typedef _DMA_ADAPTERPDMA_ADAPTER
typedef VOID(* PPUT_DMA_ADAPTER )(PDMA_ADAPTER DmaAdapter)
typedef PVOID(* PALLOCATE_COMMON_BUFFER )(IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, OUT PPHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled)
typedef VOID(* PFREE_COMMON_BUFFER )(IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, IN PHYSICAL_ADDRESS LogicalAddress, IN PVOID VirtualAddress, IN BOOLEAN CacheEnabled)
typedef NTSTATUS(* PALLOCATE_ADAPTER_CHANNEL )(IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, IN ULONG NumberOfMapRegisters, IN PDRIVER_CONTROL ExecutionRoutine, IN PVOID Context)
typedef BOOLEAN(* PFLUSH_ADAPTER_BUFFERS )(IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, IN PVOID MapRegisterBase, IN PVOID CurrentVa, IN ULONG Length, IN BOOLEAN WriteToDevice)
typedef VOID(* PFREE_ADAPTER_CHANNEL )(IN PDMA_ADAPTER DmaAdapter)
typedef VOID(* PFREE_MAP_REGISTERS )(IN PDMA_ADAPTER DmaAdapter, PVOID MapRegisterBase, ULONG NumberOfMapRegisters)
typedef PHYSICAL_ADDRESS(* PMAP_TRANSFER )(IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, IN PVOID MapRegisterBase, IN PVOID CurrentVa, IN OUT PULONG Length, IN BOOLEAN WriteToDevice)
typedef ULONG(* PGET_DMA_ALIGNMENT )(IN PDMA_ADAPTER DmaAdapter)
typedef ULONG(* PREAD_DMA_COUNTER )(IN PDMA_ADAPTER DmaAdapter)
typedef VOID(* PDRIVER_LIST_CONTROL )(IN struct _DEVICE_OBJECT *DeviceObject, IN struct _IRP *Irp, IN PSCATTER_GATHER_LIST ScatterGather, IN PVOID Context)
typedef NTSTATUS(* PGET_SCATTER_GATHER_LIST )(IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, IN PMDL Mdl, IN PVOID CurrentVa, IN ULONG Length, IN PDRIVER_LIST_CONTROL ExecutionRoutine, IN PVOID Context, IN BOOLEAN WriteToDevice)
typedef VOID(* PPUT_SCATTER_GATHER_LIST )(IN PDMA_ADAPTER DmaAdapter, IN PSCATTER_GATHER_LIST ScatterGather, IN BOOLEAN WriteToDevice)
typedef _DMA_OPERATIONS DMA_OPERATIONS

Enumerations

enum  _HAL_QUERY_INFORMATION_CLASS {
  HalInstalledBusInformation, HalProfileSourceInformation, HalInformationClassUnused1, HalPowerInformation,
  HalProcessorSpeedInformation, HalCallbackInformation, HalMapRegisterInformation, HalMcaLogInformation,
  HalFrameBufferCachingInformation, HalDisplayBiosInformation, HalProcessorFeatureInformation
}
enum  _HAL_SET_INFORMATION_CLASS { HalProfileSourceInterval, HalProfileSourceInterruptHandler, HalMcaRegisterDriver }
enum  _HAL_DISPLAY_BIOS_INFORMATION { HalDisplayInt10Bios, HalDisplayEmulatedBios, HalDisplayNoBios }

Functions

NTHALAPI VOID HalAcquireDisplayOwnership (IN PHAL_RESET_DISPLAY_PARAMETERS ResetDisplayParameters)
NTHALAPI VOID HalDisplayString (PUCHAR String)
NTHALAPI VOID HalQueryDisplayParameters (OUT PULONG WidthInCharacters, OUT PULONG HeightInLines, OUT PULONG CursorColumn, OUT PULONG CursorRow)
NTHALAPI VOID HalSetDisplayParameters (IN ULONG CursorColumn, IN ULONG CursorRow)
NTHALAPI BOOLEAN HalInitSystem (IN ULONG Phase, IN PLOADER_PARAMETER_BLOCK LoaderBlock)
NTHALAPI VOID HalProcessorIdle (VOID)
NTHALAPI VOID HalReportResourceUsage (VOID)
NTHALAPI ULONG HalSetTimeIncrement (IN ULONG DesiredIncrement)
NTHALAPI ARC_STATUS HalGetEnvironmentVariable (IN PCHAR Variable, IN USHORT Length, OUT PCHAR Buffer)
NTHALAPI ARC_STATUS HalSetEnvironmentVariable (IN PCHAR Variable, IN PCHAR Value)
NTHALAPI VOID KeFlushWriteBuffer (VOID)
NTHALAPI BOOLEAN HalCallBios (IN ULONG BiosCommand, IN OUT PULONG Eax, IN OUT PULONG Ebx, IN OUT PULONG Ecx, IN OUT PULONG Edx, IN OUT PULONG Esi, IN OUT PULONG Edi, IN OUT PULONG Ebp)
NTHALAPI VOID HalCalibratePerformanceCounter (IN volatile PLONG Number, IN ULONGLONG NewCount)
NTHALAPI ULONG_PTR HalSetProfileInterval (IN ULONG_PTR Interval)
NTHALAPI VOID HalStartProfileInterrupt (KPROFILE_SOURCE ProfileSource)
NTHALAPI VOID HalStopProfileInterrupt (KPROFILE_SOURCE ProfileSource)
NTHALAPI BOOLEAN HalQueryRealTimeClock (OUT PTIME_FIELDS TimeFields)
NTHALAPI BOOLEAN HalSetRealTimeClock (IN PTIME_FIELDS TimeFields)
NTHALAPI VOID HalReturnToFirmware (IN FIRMWARE_REENTRY Routine)
NTHALAPI VOID HalDisableSystemInterrupt (IN ULONG Vector, IN KIRQL Irql)
NTHALAPI BOOLEAN HalEnableSystemInterrupt (IN ULONG Vector, IN KIRQL Irql, IN KINTERRUPT_MODE InterruptMode)
NTHALAPI NTSTATUS HalAssignSlotResources (IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING DriverClassName OPTIONAL, IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject, IN INTERFACE_TYPE BusType, IN ULONG BusNumber, IN ULONG SlotNumber, IN OUT PCM_RESOURCE_LIST *AllocatedResources)
NTHALAPI ULONG HalGetInterruptVector (IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber, IN ULONG BusInterruptLevel, IN ULONG BusInterruptVector, OUT PKIRQL Irql, OUT PKAFFINITY Affinity)
NTHALAPI ULONG HalSetBusData (IN BUS_DATA_TYPE BusDataType, IN ULONG BusNumber, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Length)
NTHALAPI ULONG HalSetBusDataByOffset (IN BUS_DATA_TYPE BusDataType, IN ULONG BusNumber, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
NTHALAPI BOOLEAN HalTranslateBusAddress (IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber, IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress)
NTHALAPI PVOID HalAllocateCrashDumpRegisters (IN PADAPTER_OBJECT AdapterObject, IN OUT PULONG NumberOfMapRegisters)
NTHALAPI ULONG HalGetBusData (IN BUS_DATA_TYPE BusDataType, IN ULONG BusNumber, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Length)
NTHALAPI ULONG HalGetBusDataByOffset (IN BUS_DATA_TYPE BusDataType, IN ULONG BusNumber, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
NTHALAPI PADAPTER_OBJECT HalGetAdapter (IN PDEVICE_DESCRIPTION DeviceDescription, IN OUT PULONG NumberOfMapRegisters)
NTHALAPI NTSTATUS HalAdjustResourceList (IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *pResourceList)
NTHALAPI BOOLEAN HalMakeBeep (IN ULONG Frequency)
NTHALAPI VOID IoAssignDriveLetters (PLOADER_PARAMETER_BLOCK LoaderBlock, PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString)
NTHALAPI NTSTATUS IoReadPartitionTable (IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN BOOLEAN ReturnRecognizedPartitions, OUT struct _DRIVE_LAYOUT_INFORMATION **PartitionBuffer)
NTHALAPI NTSTATUS IoSetPartitionInformation (IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG PartitionNumber, IN ULONG PartitionType)
NTHALAPI NTSTATUS IoWritePartitionTable (IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG SectorsPerTrack, IN ULONG NumberOfHeads, IN struct _DRIVE_LAYOUT_INFORMATION *PartitionBuffer)
NTHALAPI BOOLEAN HalAllProcessorsStarted (VOID)
NTHALAPI VOID HalInitializeProcessor (IN ULONG Number, IN PLOADER_PARAMETER_BLOCK LoaderBlock)
NTHALAPI BOOLEAN HalStartNextProcessor (IN PLOADER_PARAMETER_BLOCK LoaderBlock, IN PKPROCESSOR_STATE ProcessorState)
NTHALAPI VOID HalRequestIpi (IN ULONG Mask)
NTHALAPI BOOLEAN KdPortInitialize (PDEBUG_PARAMETERS DebugParameters, PLOADER_PARAMETER_BLOCK LoaderBlock, BOOLEAN Initialize)
NTHALAPI ULONG KdPortGetByte (OUT PUCHAR Input)
NTHALAPI ULONG KdPortPollByte (OUT PUCHAR Input)
NTHALAPI VOID KdPortPutByte (IN UCHAR Output)
NTHALAPI VOID KdPortRestore (VOID)
NTHALAPI VOID KdPortSave (VOID)
NTHALAPI LARGE_INTEGER KeQueryPerformanceCounter (IN PLARGE_INTEGER PerformanceFrequency OPTIONAL)
NTHALAPI VOID KeStallExecutionProcessor (IN ULONG MicroSeconds)
VOID HalpInitBusHandler (VOID)
NTSTATUS HaliRegisterBusHandler (IN INTERFACE_TYPE InterfaceType, IN BUS_DATA_TYPE AssociatedConfigurationSpace, IN ULONG BusNumber, IN INTERFACE_TYPE ParentBusType, IN ULONG ParentBusNumber, IN ULONG SizeofBusExtensionData, IN PINSTALL_BUS_HANDLER InstallBusHandlers, OUT PBUS_HANDLER *BusHandler)
typedef PBUS_HANDLER (FASTCALL *pHalHandlerForBus)(IN INTERFACE_TYPE InterfaceType
PBUS_HANDLER FASTCALL HaliReferenceHandlerForBus (IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber)
PBUS_HANDLER FASTCALL HaliHandlerForBus (IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber)
typedef VOID (FASTCALL *pHalRefernceBusHandler)(IN PBUS_HANDLER BusHandler)
VOID FASTCALL HaliDerefernceBusHandler (IN PBUS_HANDLER BusHandler)
PBUS_HANDLER FASTCALL HaliHandlerForConfigSpace (IN BUS_DATA_TYPE ConfigSpace, IN ULONG BusNumber)
VOID FASTCALL HaliReferenceBusHandler (IN PBUS_HANDLER BusHandler)
VOID FASTCALL HaliDereferenceBusHandler (IN PBUS_HANDLER BusHandler)
NTSTATUS HaliQueryBusSlots (IN PBUS_HANDLER BusHandler, IN ULONG BufferSize, OUT PULONG SlotNumbers, OUT PULONG ReturnedLength)
NTSTATUS HaliAdjustResourceListRange (IN PSUPPORTED_RANGES SupportedRanges, IN PSUPPORTED_RANGE InterruptRanges, IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *pResourceList)
VOID HaliLocateHiberRanges (IN PVOID MemoryMap)
NTSTATUS HaliQuerySystemInformation (IN HAL_SET_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, IN OUT PVOID Buffer, OUT PULONG ReturnedLength)
NTSTATUS HaliSetSystemInformation (IN HAL_SET_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, IN PVOID Buffer)
NTSTATUS HaliInitPnpDriver (VOID)
NTSTATUS HaliInitPowerManagement (IN PPM_DISPATCH_TABLE PmDriverDispatchTable, IN OUT PPM_DISPATCH_TABLE *PmHalDispatchTable)
_DMA_ADAPTERHaliGetDmaAdapter (IN PVOID Context, IN struct _DEVICE_DESCRIPTION *DeviceDescriptor, OUT PULONG NumberOfMapRegisters)
NTSTATUS HaliGetInterruptTranslator (IN INTERFACE_TYPE ParentInterfaceType, IN ULONG ParentBusNumber, IN INTERFACE_TYPE BridgeInterfaceType, IN USHORT Size, IN USHORT Version, OUT PTRANSLATOR_INTERFACE Translator, OUT PULONG BridgeBusNumber)
NTHALAPI NTSTATUS HalAllocateAdapterChannel (IN PADAPTER_OBJECT AdapterObject, IN PWAIT_CONTEXT_BLOCK Wcb, IN ULONG NumberOfMapRegisters, IN PDRIVER_CONTROL ExecutionRoutine)
NTHALAPI PVOID HalAllocateCommonBuffer (IN PADAPTER_OBJECT AdapterObject, IN ULONG Length, OUT PPHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled)
NTHALAPI VOID HalFreeCommonBuffer (IN PADAPTER_OBJECT AdapterObject, IN ULONG Length, IN PHYSICAL_ADDRESS LogicalAddress, IN PVOID VirtualAddress, IN BOOLEAN CacheEnabled)
NTHALAPI ULONG HalReadDmaCounter (IN PADAPTER_OBJECT AdapterObject)
NTHALAPI BOOLEAN IoFlushAdapterBuffers (IN PADAPTER_OBJECT AdapterObject, IN PMDL Mdl, IN PVOID MapRegisterBase, IN PVOID CurrentVa, IN ULONG Length, IN BOOLEAN WriteToDevice)
NTHALAPI VOID IoFreeAdapterChannel (IN PADAPTER_OBJECT AdapterObject)
NTHALAPI VOID IoFreeMapRegisters (IN PADAPTER_OBJECT AdapterObject, IN PVOID MapRegisterBase, IN ULONG NumberOfMapRegisters)
NTHALAPI PHYSICAL_ADDRESS IoMapTransfer (IN PADAPTER_OBJECT AdapterObject, IN PMDL Mdl, IN PVOID MapRegisterBase, IN PVOID CurrentVa, IN OUT PULONG Length, IN BOOLEAN WriteToDevice)
NTSTATUS HalGetScatterGatherList (IN PADAPTER_OBJECT DmaAdapter, IN PDEVICE_OBJECT DeviceObject, IN PMDL Mdl, IN PVOID CurrentVa, IN ULONG Length, IN PDRIVER_LIST_CONTROL ExecutionRoutine, IN PVOID Context, IN BOOLEAN WriteToDevice)
VOID HalPutScatterGatherList (IN PADAPTER_OBJECT DmaAdapter, IN PSCATTER_GATHER_LIST ScatterGather, IN BOOLEAN WriteToDevice)
VOID HalPutDmaAdapter (IN PADAPTER_OBJECT DmaAdapter)

Variables

HAL_DISPATCH HalDispatchTable
HAL_PRIVATE_DISPATCH HalPrivateDispatchTable


Define Documentation

#define BOOT_RECORD_SIGNATURE   (0xaa55)
 

Definition at line 157 of file hal.h.

Referenced by LowGetDiskLayout(), LowSetDiskLayout(), xHalExamineMBR(), xHalIoClearPartitionTable(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), and xHalIoWritePartitionTable().

#define BOOT_SIGNATURE_OFFSET   ((0x200 / 2) - 1)
 

Definition at line 151 of file hal.h.

Referenced by LowGetDiskLayout(), LowSetDiskLayout(), xHalExamineMBR(), xHalIoClearPartitionTable(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), and xHalIoWritePartitionTable().

#define BUS_HANDLER_VERSION   1
 

Definition at line 1051 of file hal.h.

#define BUS_SUPPORTED_RANGE_VERSION   1
 

Definition at line 1019 of file hal.h.

#define DEVICE_DESCRIPTION_VERSION   0
 

Definition at line 112 of file hal.h.

#define DEVICE_DESCRIPTION_VERSION1   1
 

Definition at line 113 of file hal.h.

#define HAL_DISPATCH_VERSION   2
 

Definition at line 1539 of file hal.h.

#define HAL_PRIVATE_DISPATCH_VERSION   1
 

Definition at line 1598 of file hal.h.

#define HalDereferenceBusHandler   HALDISPATCH->HalDereferenceBusHandler
 

Definition at line 1553 of file hal.h.

#define HALDISPATCH   (&HalDispatchTable)
 

Definition at line 1535 of file hal.h.

#define HalDispatchTableVersion   HALDISPATCH->Version
 

Definition at line 1541 of file hal.h.

#define HalExamineMBR   HALDISPATCH->HalExamineMBR
 

Definition at line 1545 of file hal.h.

Referenced by IopCreateArcNames(), xHalIoClearPartitionTable(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), and xHalIoWritePartitionTable().

#define HalGetDmaAdapter   HALDISPATCH->HalGetDmaAdapter
 

Definition at line 1558 of file hal.h.

Referenced by IoGetDmaAdapter().

#define HalGetInterruptTranslator   HALDISPATCH->HalGetInterruptTranslator
 

Definition at line 1559 of file hal.h.

#define HalHaltSystem   HALPDISPATCH->HalHaltSystem
 

Definition at line 1606 of file hal.h.

Referenced by KiBugCheckDebugBreak().

#define HalHandlerForBus   HALPDISPATCH->HalHandlerForBus
 

Definition at line 1601 of file hal.h.

#define HalHandlerForConfigSpace   HALPDISPATCH->HalHandlerForConfigSpace
 

Definition at line 1602 of file hal.h.

#define HalInitPnpDriver   HALDISPATCH->HalInitPnpDriver
 

Definition at line 1555 of file hal.h.

Referenced by IoInitSystem().

#define HalInitPowerManagement   HALDISPATCH->HalInitPowerManagement
 

Definition at line 1556 of file hal.h.

#define HalIoAssignDriveLetters   HALDISPATCH->HalIoAssignDriveLetters
 

Definition at line 1546 of file hal.h.

#define HalIoReadPartitionTable   HALDISPATCH->HalIoReadPartitionTable
 

Definition at line 1547 of file hal.h.

#define HalIoSetPartitionInformation   HALDISPATCH->HalIoSetPartitionInformation
 

Definition at line 1548 of file hal.h.

#define HalIoWritePartitionTable   HALDISPATCH->HalIoWritePartitionTable
 

Definition at line 1549 of file hal.h.

#define HalLocateHiberRanges   HALPDISPATCH->HalLocateHiberRanges
 

Definition at line 1603 of file hal.h.

#define HALPDISPATCH   (&HalPrivateDispatchTable)
 

Definition at line 1594 of file hal.h.

#define HalQueryBusSlots   HALDISPATCH->HalQueryBusSlots
 

Definition at line 1544 of file hal.h.

#define HalQuerySystemInformation   HALDISPATCH->HalQuerySystemInformation
 

Definition at line 1542 of file hal.h.

Referenced by IopDetermineDefaultInterfaceType(), KeQueryIntervalProfile(), and KiInitMachineDependent().

#define HalReferenceBusHandler   HALDISPATCH->HalReferenceBusHandler
 

Definition at line 1552 of file hal.h.

#define HalReferenceHandlerForBus   HALDISPATCH->HalReferenceHandlerForBus
 

Definition at line 1551 of file hal.h.

#define HalRegisterBusHandler   HALPDISPATCH->HalRegisterBusHandler
 

Definition at line 1600 of file hal.h.

#define HalResetDisplay   HALPDISPATCH->HalResetDisplay
 

Definition at line 1607 of file hal.h.

#define HalSetSystemInformation   HALDISPATCH->HalSetSystemInformation
 

Definition at line 1543 of file hal.h.

Referenced by KeSetIntervalProfile().

#define HalSetWakeAlarm   HALPDISPATCH->HalSetWakeAlarm
 

Definition at line 1605 of file hal.h.

#define HalSetWakeEnable   HALPDISPATCH->HalSetWakeEnable
 

Definition at line 1604 of file hal.h.

#define NUM_PARTITION_TABLE_ENTRIES   4
 

Definition at line 144 of file hal.h.

Referenced by LowGetDiskLayout(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), and xHalIoWritePartitionTable().

#define OEM_FONT_CHARACTER_SET   255
 

Definition at line 35 of file hal.h.

#define OEM_FONT_FAMILY   (3 << 4)
 

Definition at line 36 of file hal.h.

#define OEM_FONT_ITALIC   0
 

Definition at line 32 of file hal.h.

#define OEM_FONT_STRIKEOUT   0
 

Definition at line 34 of file hal.h.

#define OEM_FONT_TYPE   0
 

Definition at line 31 of file hal.h.

#define OEM_FONT_UNDERLINE   0
 

Definition at line 33 of file hal.h.

#define OEM_FONT_VERSION   0x200
 

Definition at line 30 of file hal.h.

#define PARTITION_ACTIVE_FLAG   0x80
 

Definition at line 169 of file hal.h.

Referenced by xHalIoReadPartitionTable(), and xHalIoWritePartitionTable().

#define PARTITION_BUFFER_SIZE   2048
 

Definition at line 163 of file hal.h.

Referenced by xHalIoReadPartitionTable().

#define PARTITION_TABLE_OFFSET   (0x1be / 2)
 

Definition at line 150 of file hal.h.

Referenced by LowGetDiskLayout(), LowSetDiskLayout(), xHalExamineMBR(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), and xHalIoWritePartitionTable().


Typedef Documentation

typedef struct _BUS_HANDLER BUS_HANDLER
 

typedef IN ULONG BusNumber
 

Definition at line 1170 of file hal.h.

Referenced by CmpInitializeRegistryNode(), CmpSetupConfigurationTree(), FsVgaPeripheralCallout(), IopChildToRootTranslation(), IopCreateCmResourceList(), IopDuplicateDetection(), IopFindBusDeviceNode(), IopFindBusDeviceNodeInternal(), IopIsRemoteBootCard(), IopQueryLegacyBusInformation(), IopQueryPnpBusInformation(), IopReserveLegacyBootResources(), IoQueryDeviceDescription(), IoReportDetectedDevice(), KdpReadIoSpace(), KdpReadIoSpaceExtended(), KdpWriteIoSpace(), KdpWriteIoSpaceExtended(), and MapperCallback().

typedef struct _DEVICE_CONTROL_CONTEXT DEVICE_CONTROL_CONTEXT
 

typedef struct _DEVICE_DESCRIPTION DEVICE_DESCRIPTION
 

typedef struct _DMA_ADAPTER DMA_ADAPTER
 

typedef struct _DMA_OPERATIONS DMA_OPERATIONS
 

typedef struct _HAL_BUS_INFORMATION HAL_BUS_INFORMATION
 

typedef struct _HAL_CALLBACKS HAL_CALLBACKS
 

typedef struct _HAL_DEVICE_CONTROL HAL_DEVICE_CONTROL_CONTEXT
 

typedef enum _HAL_DISPLAY_BIOS_INFORMATION HAL_DISPLAY_BIOS_INFORMATION
 

typedef struct _HAL_POWER_INFORMATION HAL_POWER_INFORMATION
 

typedef struct _HAL_PROCESSOR_FEATURE HAL_PROCESSOR_FEATURE
 

typedef struct _HAL_PROCESSOR_SPEED_INFO HAL_PROCESSOR_SPEED_INFORMATION
 

typedef struct _HAL_PROFILE_SOURCE_INFORMATION HAL_PROFILE_SOURCE_INFORMATION
 

Referenced by KeQueryIntervalProfile().

typedef struct _HAL_PROFILE_SOURCE_INTERVAL HAL_PROFILE_SOURCE_INTERVAL
 

Referenced by KeSetIntervalProfile().

typedef enum _HAL_QUERY_INFORMATION_CLASS HAL_QUERY_INFORMATION_CLASS
 

typedef enum _HAL_SET_INFORMATION_CLASS HAL_SET_INFORMATION_CLASS
 

typedef struct _OEM_FONT_FILE_HEADER OEM_FONT_FILE_HEADER
 

typedef NTSTATUS(* PADJUSTRESOURCELIST)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *pResourceList)
 

Definition at line 949 of file hal.h.

typedef NTSTATUS(* PALLOCATE_ADAPTER_CHANNEL)(IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, IN ULONG NumberOfMapRegisters, IN PDRIVER_CONTROL ExecutionRoutine, IN PVOID Context)
 

Definition at line 1782 of file hal.h.

typedef PVOID(* PALLOCATE_COMMON_BUFFER)(IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, OUT PPHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled)
 

Definition at line 1767 of file hal.h.

typedef struct _PARTITION_DESCRIPTOR PARTITION_DESCRIPTOR
 

typedef NTSTATUS(* PASSIGNSLOTRESOURCES)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING DriverClassName OPTIONAL, IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject OPTIONAL, IN ULONG SlotNumber, IN OUT PCM_RESOURCE_LIST *AllocatedResources)
 

Definition at line 968 of file hal.h.

typedef PBUS_HANDLER
 

typedef NTSTATUS(* PDEVICE_CONTROL)(IN PHAL_DEVICE_CONTROL_CONTEXT Context)
 

Definition at line 1003 of file hal.h.

typedef VOID(* PDEVICE_CONTROL_COMPLETION)(IN struct _DEVICE_CONTROL_CONTEXT *ControlContext)
 

Definition at line 869 of file hal.h.

typedef struct _DEVICE_CONTROL_CONTEXT * PDEVICE_CONTROL_CONTEXT
 

typedef struct _DEVICE_DESCRIPTION * PDEVICE_DESCRIPTION
 

typedef struct _DMA_ADAPTER * PDMA_ADAPTER
 

Referenced by IopGetDumpStack().

typedef struct _DMA_OPERATIONS* PDMA_OPERATIONS
 

Definition at line 1754 of file hal.h.

typedef VOID(* PDRIVER_LIST_CONTROL)(IN struct _DEVICE_OBJECT *DeviceObject, IN struct _IRP *Irp, IN PSCATTER_GATHER_LIST ScatterGather, IN PVOID Context)
 

Definition at line 1827 of file hal.h.

typedef BOOLEAN(* PFLUSH_ADAPTER_BUFFERS)(IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, IN PVOID MapRegisterBase, IN PVOID CurrentVa, IN ULONG Length, IN BOOLEAN WriteToDevice)
 

Definition at line 1790 of file hal.h.

typedef VOID(* PFREE_ADAPTER_CHANNEL)(IN PDMA_ADAPTER DmaAdapter)
 

Definition at line 1799 of file hal.h.

typedef VOID(* PFREE_COMMON_BUFFER)(IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, IN PHYSICAL_ADDRESS LogicalAddress, IN PVOID VirtualAddress, IN BOOLEAN CacheEnabled)
 

Definition at line 1774 of file hal.h.

typedef VOID(* PFREE_MAP_REGISTERS)(IN PDMA_ADAPTER DmaAdapter, PVOID MapRegisterBase, ULONG NumberOfMapRegisters)
 

Definition at line 1803 of file hal.h.

typedef ULONG(* PGET_DMA_ALIGNMENT)(IN PDMA_ADAPTER DmaAdapter)
 

Definition at line 1818 of file hal.h.

typedef NTSTATUS(* PGET_SCATTER_GATHER_LIST)(IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, IN PMDL Mdl, IN PVOID CurrentVa, IN ULONG Length, IN PDRIVER_LIST_CONTROL ExecutionRoutine, IN PVOID Context, IN BOOLEAN WriteToDevice)
 

Definition at line 1835 of file hal.h.

typedef ULONG(* PGET_SET_DEVICE_INSTANCE_DATA)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN PDEVICE_HANDLER_OBJECT DeviceHandler, IN ULONG DataType, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
 

Definition at line 990 of file hal.h.

typedef ULONG(* PGETINTERRUPTVECTOR)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG BusInterruptLevel, IN ULONG BusInterruptVector, OUT PKIRQL Irql, OUT PKAFFINITY Affinity)
 

Definition at line 929 of file hal.h.

typedef ULONG(* PGETSETBUSDATA)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
 

Definition at line 918 of file hal.h.

typedef struct _HAL_BUS_INFORMATION * PHAL_BUS_INFORMATION
 

typedef struct _HAL_CALLBACKS * PHAL_CALLBACKS
 

typedef struct _HAL_DEVICE_CONTROL * PHAL_DEVICE_CONTROL_CONTEXT
 

typedef * PHAL_DISPATCH
 

typedef enum _HAL_DISPLAY_BIOS_INFORMATION * PHAL_DISPLAY_BIOS_INFORMATION
 

typedef struct _HAL_POWER_INFORMATION * PHAL_POWER_INFORMATION
 

typedef * PHAL_PRIVATE_DISPATCH
 

typedef struct _HAL_PROCESSOR_SPEED_INFO * PHAL_PROCESSOR_SPEED_INFORMATION
 

typedef struct _HAL_PROFILE_SOURCE_INFORMATION * PHAL_PROFILE_SOURCE_INFORMATION
 

typedef struct _HAL_PROFILE_SOURCE_INTERVAL * PHAL_PROFILE_SOURCE_INTERVAL
 

typedef enum _HAL_QUERY_INFORMATION_CLASS * PHAL_QUERY_INFORMATION_CLASS
 

typedef BOOLEAN(* PHAL_RESET_DISPLAY_PARAMETERS)(IN ULONG Columns, IN ULONG Rows)
 

Definition at line 181 of file hal.h.

typedef enum _HAL_SET_INFORMATION_CLASS * PHAL_SET_INFORMATION_CLASS
 

typedef NTSTATUS(* pHalAssignSlotResources)(IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING DriverClassName OPTIONAL, IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject, IN INTERFACE_TYPE BusType, IN ULONG BusNumber, IN ULONG SlotNumber, IN OUT PCM_RESOURCE_LIST *AllocatedResources)
 

Definition at line 1471 of file hal.h.

typedef VOID(FASTCALL * pHalExamineMBR)(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG MBRTypeIdentifier, OUT PVOID *Buffer)
 

Definition at line 1338 of file hal.h.

typedef BOOLEAN(* pHalFindBusAddressTranslation)(IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress, IN OUT PULONG_PTR Context, IN BOOLEAN NextBus)
 

Definition at line 1496 of file hal.h.

typedef struct _DMA_ADAPTER*(* pHalGetDmaAdapter)(IN PVOID Context, IN struct _DEVICE_DESCRIPTION *DeviceDescriptor, OUT PULONG NumberOfMapRegisters)
 

Definition at line 1423 of file hal.h.

typedef NTSTATUS(* 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 at line 1438 of file hal.h.

typedef VOID(* pHalHaltSystem)(VOID)
 

Definition at line 1484 of file hal.h.

typedef NTSTATUS(* pHalInitPnpDriver)(VOID)
 

Definition at line 1393 of file hal.h.

typedef NTSTATUS(* pHalInitPowerManagement)(IN PPM_DISPATCH_TABLE PmDriverDispatchTable, OUT PPM_DISPATCH_TABLE *PmHalDispatchTable)
 

Definition at line 1410 of file hal.h.

typedef VOID(FASTCALL * pHalIoAssignDriveLetters)(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock, IN PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString)
 

Definition at line 1347 of file hal.h.

typedef NTSTATUS(FASTCALL * pHalIoReadPartitionTable)(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN BOOLEAN ReturnRecognizedPartitions, OUT struct _DRIVE_LAYOUT_INFORMATION **PartitionBuffer)
 

Definition at line 1356 of file hal.h.

typedef NTSTATUS(FASTCALL * pHalIoSetPartitionInformation)(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG PartitionNumber, IN ULONG PartitionType)
 

Definition at line 1365 of file hal.h.

typedef NTSTATUS(FASTCALL * pHalIoWritePartitionTable)(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG SectorsPerTrack, IN ULONG NumberOfHeads, IN struct _DRIVE_LAYOUT_INFORMATION *PartitionBuffer)
 

Definition at line 1374 of file hal.h.

typedef VOID(* pHalLocateHiberRanges)(IN PVOID MemoryMap)
 

Definition at line 1270 of file hal.h.

typedef NTSTATUS(* pHalQueryBusSlots)(IN PBUS_HANDLER BusHandler, IN ULONG BufferSize, OUT PULONG SlotNumbers, OUT PULONG ReturnedLength)
 

Definition at line 1384 of file hal.h.

typedef NTSTATUS(* pHalQuerySystemInformation)(IN HAL_QUERY_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, IN OUT PVOID Buffer, OUT PULONG ReturnedLength)
 

Definition at line 1306 of file hal.h.

typedef NTSTATUS(* pHalRegisterBusHandler)(IN INTERFACE_TYPE InterfaceType, IN BUS_DATA_TYPE AssociatedConfigurationSpace, IN ULONG BusNumber, IN INTERFACE_TYPE ParentBusType, IN ULONG ParentBusNumber, IN ULONG SizeofBusExtensionData, IN PINSTALL_BUS_HANDLER InstallBusHandlers, OUT PBUS_HANDLER *BusHandler)
 

Definition at line 1141 of file hal.h.

typedef VOID(* pHalResetDisplay)(VOID)
 

Definition at line 1490 of file hal.h.

typedef NTSTATUS(* pHalSetSystemInformation)(IN HAL_SET_INFORMATION_CLASS InformationClass, IN ULONG BufferSize, IN PVOID Buffer)
 

Definition at line 1323 of file hal.h.

typedef VOID(* pHalSetWakeAlarm)(IN ULONGLONG WakeTime, IN PTIME_FIELDS WakeTimeFields)
 

Definition at line 1263 of file hal.h.

typedef VOID(* pHalSetWakeEnable)(IN BOOLEAN Enable)
 

Definition at line 1256 of file hal.h.

typedef BOOLEAN(* pHalTranslateBusAddress)(IN INTERFACE_TYPE InterfaceType, IN ULONG BusNumber, IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress)
 

Definition at line 1461 of file hal.h.

typedef NTSTATUS(* PHIBERNATEBRESUMEBUS)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler)
 

Definition at line 1010 of file hal.h.

typedef NTSTATUS(* PINSTALL_BUS_HANDLER)(IN PBUS_HANDLER Bus)
 

Definition at line 1135 of file hal.h.

typedef struct _PM_DISPATCH_TABLE PM_DISPATCH_TABLE
 

typedef PHYSICAL_ADDRESS(* PMAP_TRANSFER)(IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, IN PVOID MapRegisterBase, IN PVOID CurrentVa, IN OUT PULONG Length, IN BOOLEAN WriteToDevice)
 

Definition at line 1809 of file hal.h.

typedef struct _OEM_FONT_FILE_HEADER * POEM_FONT_FILE_HEADER
 

typedef struct _PARTITION_DESCRIPTOR * PPARTITION_DESCRIPTOR
 

typedef struct _PM_DISPATCH_TABLE * PPM_DISPATCH_TABLE
 

typedef VOID(* PPUT_DMA_ADAPTER)(PDMA_ADAPTER DmaAdapter)
 

Definition at line 1763 of file hal.h.

typedef VOID(* PPUT_SCATTER_GATHER_LIST)(IN PDMA_ADAPTER DmaAdapter, IN PSCATTER_GATHER_LIST ScatterGather, IN BOOLEAN WriteToDevice)
 

Definition at line 1847 of file hal.h.

typedef NTSTATUS(* PQUERY_BUS_SLOTS)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG BufferSize, OUT PULONG SlotNumbers, OUT PULONG ReturnedLength)
 

Definition at line 981 of file hal.h.

typedef ULONG(* PREAD_DMA_COUNTER)(IN PDMA_ADAPTER DmaAdapter)
 

Definition at line 1822 of file hal.h.

typedef PDEVICE_HANDLER_OBJECT(* PREFERENCE_DEVICE_HANDLER)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN ULONG SlotNumber)
 

Definition at line 956 of file hal.h.

typedef struct _SCATTER_GATHER_ELEMENT * PSCATTER_GATHER_ELEMENT
 

typedef struct _SCATTER_GATHER_LIST * PSCATTER_GATHER_LIST
 

typedef struct _SUPPORTED_RANGE * PSUPPORTED_RANGE
 

typedef struct _SUPPORTED_RANGES * PSUPPORTED_RANGES
 

typedef BOOLEAN(* PTRANSLATEBUSADDRESS)(IN struct _BUS_HANDLER *BusHandler, IN struct _BUS_HANDLER *RootHandler, IN PHYSICAL_ADDRESS BusAddress, IN OUT PULONG AddressSpace, OUT PPHYSICAL_ADDRESS TranslatedAddress)
 

Definition at line 940 of file hal.h.

typedef struct _SCATTER_GATHER_ELEMENT SCATTER_GATHER_ELEMENT
 

typedef struct _SCATTER_GATHER_LIST SCATTER_GATHER_LIST
 

typedef struct _SUPPORTED_RANGE SUPPORTED_RANGE
 

typedef struct _SUPPORTED_RANGES SUPPORTED_RANGES
 


Enumeration Type Documentation

enum _HAL_DISPLAY_BIOS_INFORMATION
 

Enumeration values:
HalDisplayInt10Bios 
HalDisplayEmulatedBios 
HalDisplayNoBios 

Definition at line 1637 of file hal.h.

enum _HAL_QUERY_INFORMATION_CLASS
 

Enumeration values:
HalInstalledBusInformation 
HalProfileSourceInformation 
HalInformationClassUnused1 
HalPowerInformation 
HalProcessorSpeedInformation 
HalCallbackInformation 
HalMapRegisterInformation 
HalMcaLogInformation 
HalFrameBufferCachingInformation 
HalDisplayBiosInformation 
HalProcessorFeatureInformation 

Definition at line 1281 of file hal.h.

enum _HAL_SET_INFORMATION_CLASS
 

Enumeration values:
HalProfileSourceInterval 
HalProfileSourceInterruptHandler 
HalMcaRegisterDriver 

Definition at line 1297 of file hal.h.


Function Documentation

NTHALAPI VOID HalAcquireDisplayOwnership IN PHAL_RESET_DISPLAY_PARAMETERS  ResetDisplayParameters  ) 
 

NTHALAPI NTSTATUS HalAdjustResourceList IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *  pResourceList  ) 
 

NTHALAPI NTSTATUS HalAllocateAdapterChannel IN PADAPTER_OBJECT  AdapterObject,
IN PWAIT_CONTEXT_BLOCK  Wcb,
IN ULONG  NumberOfMapRegisters,
IN PDRIVER_CONTROL  ExecutionRoutine
 

Referenced by IoAllocateAdapterChannel().

NTHALAPI PVOID HalAllocateCommonBuffer IN PADAPTER_OBJECT  AdapterObject,
IN ULONG  Length,
OUT PPHYSICAL_ADDRESS  LogicalAddress,
IN BOOLEAN  CacheEnabled
 

Referenced by IopGetDumpStack().

NTHALAPI PVOID HalAllocateCrashDumpRegisters IN PADAPTER_OBJECT  AdapterObject,
IN OUT PULONG  NumberOfMapRegisters
 

NTHALAPI BOOLEAN HalAllProcessorsStarted VOID   ) 
 

NTHALAPI NTSTATUS HalAssignSlotResources IN PUNICODE_STRING  RegistryPath,
IN PUNICODE_STRING DriverClassName  OPTIONAL,
IN PDRIVER_OBJECT  DriverObject,
IN PDEVICE_OBJECT  DeviceObject,
IN INTERFACE_TYPE  BusType,
IN ULONG  BusNumber,
IN ULONG  SlotNumber,
IN OUT PCM_RESOURCE_LIST *  AllocatedResources
 

NTHALAPI VOID HalCalibratePerformanceCounter IN volatile PLONG  Number,
IN ULONGLONG  NewCount
 

Referenced by KiCalibrateTimeAdjustment().

NTHALAPI BOOLEAN HalCallBios IN ULONG  BiosCommand,
IN OUT PULONG  Eax,
IN OUT PULONG  Ebx,
IN OUT PULONG  Ecx,
IN OUT PULONG  Edx,
IN OUT PULONG  Esi,
IN OUT PULONG  Edi,
IN OUT PULONG  Ebp
 

NTHALAPI VOID HalDisableSystemInterrupt IN ULONG  Vector,
IN KIRQL  Irql
 

Referenced by KeDisconnectInterrupt(), and KeDumpMachineState().

NTHALAPI VOID HalDisplayString PUCHAR  String  ) 
 

Referenced by KeDumpMachineState(), and KiDisplayString().

NTHALAPI BOOLEAN HalEnableSystemInterrupt IN ULONG  Vector,
IN KIRQL  Irql,
IN KINTERRUPT_MODE  InterruptMode
 

Referenced by KeConnectInterrupt().

NTHALAPI VOID HalFreeCommonBuffer IN PADAPTER_OBJECT  AdapterObject,
IN ULONG  Length,
IN PHYSICAL_ADDRESS  LogicalAddress,
IN PVOID  VirtualAddress,
IN BOOLEAN  CacheEnabled
 

Referenced by IoFreeDumpStack().

NTHALAPI PADAPTER_OBJECT HalGetAdapter IN PDEVICE_DESCRIPTION  DeviceDescription,
IN OUT PULONG  NumberOfMapRegisters
 

NTHALAPI ULONG HalGetBusData IN BUS_DATA_TYPE  BusDataType,
IN ULONG  BusNumber,
IN ULONG  SlotNumber,
IN PVOID  Buffer,
IN ULONG  Length
 

NTHALAPI ULONG HalGetBusDataByOffset IN BUS_DATA_TYPE  BusDataType,
IN ULONG  BusNumber,
IN ULONG  SlotNumber,
IN PVOID  Buffer,
IN ULONG  Offset,
IN ULONG  Length
 

Referenced by KdpGetBusData().

NTHALAPI ARC_STATUS HalGetEnvironmentVariable IN PCHAR  Variable,
IN USHORT  Length,
OUT PCHAR  Buffer
 

Referenced by NtQuerySystemEnvironmentValue().

NTHALAPI ULONG HalGetInterruptVector IN INTERFACE_TYPE  InterfaceType,
IN ULONG  BusNumber,
IN ULONG  BusInterruptLevel,
IN ULONG  BusInterruptVector,
OUT PKIRQL  Irql,
OUT PKAFFINITY  Affinity
 

Referenced by FstubTranslateRequirement(), FstubTranslateResource(), and IopIrqTranslateOrdering().

NTSTATUS HalGetScatterGatherList IN PADAPTER_OBJECT  DmaAdapter,
IN PDEVICE_OBJECT  DeviceObject,
IN PMDL  Mdl,
IN PVOID  CurrentVa,
IN ULONG  Length,
IN PDRIVER_LIST_CONTROL  ExecutionRoutine,
IN PVOID  Context,
IN BOOLEAN  WriteToDevice
 

NTSTATUS HaliAdjustResourceListRange IN PSUPPORTED_RANGES  SupportedRanges,
IN PSUPPORTED_RANGE  InterruptRanges,
IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *  pResourceList
 

VOID FASTCALL HaliDereferenceBusHandler IN PBUS_HANDLER  BusHandler  ) 
 

VOID FASTCALL HaliDerefernceBusHandler IN PBUS_HANDLER  BusHandler  ) 
 

struct _DMA_ADAPTER* HaliGetDmaAdapter IN PVOID  Context,
IN struct _DEVICE_DESCRIPTION DeviceDescriptor,
OUT PULONG  NumberOfMapRegisters
 

NTSTATUS HaliGetInterruptTranslator IN INTERFACE_TYPE  ParentInterfaceType,
IN ULONG  ParentBusNumber,
IN INTERFACE_TYPE  BridgeInterfaceType,
IN USHORT  Size,
IN USHORT  Version,
OUT PTRANSLATOR_INTERFACE  Translator,
OUT PULONG  BridgeBusNumber
 

PBUS_HANDLER FASTCALL HaliHandlerForBus IN INTERFACE_TYPE  InterfaceType,
IN ULONG  BusNumber
 

PBUS_HANDLER FASTCALL HaliHandlerForConfigSpace IN BUS_DATA_TYPE  ConfigSpace,
IN ULONG  BusNumber
 

NTSTATUS HaliInitPnpDriver VOID   ) 
 

NTSTATUS HaliInitPowerManagement IN PPM_DISPATCH_TABLE  PmDriverDispatchTable,
IN OUT PPM_DISPATCH_TABLE PmHalDispatchTable
 

VOID HaliLocateHiberRanges IN PVOID  MemoryMap  ) 
 

NTHALAPI VOID HalInitializeProcessor IN ULONG  Number,
IN PLOADER_PARAMETER_BLOCK  LoaderBlock
 

Referenced by KiInitializeKernel().

NTHALAPI BOOLEAN HalInitSystem IN ULONG  Phase,
IN PLOADER_PARAMETER_BLOCK  LoaderBlock
 

NTSTATUS HaliQueryBusSlots IN PBUS_HANDLER  BusHandler,
IN ULONG  BufferSize,
OUT PULONG  SlotNumbers,
OUT PULONG  ReturnedLength
 

NTSTATUS HaliQuerySystemInformation IN HAL_SET_INFORMATION_CLASS  InformationClass,
IN ULONG  BufferSize,
IN OUT PVOID  Buffer,
OUT PULONG  ReturnedLength
 

VOID FASTCALL HaliReferenceBusHandler IN PBUS_HANDLER  BusHandler  ) 
 

PBUS_HANDLER FASTCALL HaliReferenceHandlerForBus IN INTERFACE_TYPE  InterfaceType,
IN ULONG  BusNumber
 

NTSTATUS HaliRegisterBusHandler IN INTERFACE_TYPE  InterfaceType,
IN BUS_DATA_TYPE  AssociatedConfigurationSpace,
IN ULONG  BusNumber,
IN INTERFACE_TYPE  ParentBusType,
IN ULONG  ParentBusNumber,
IN ULONG  SizeofBusExtensionData,
IN PINSTALL_BUS_HANDLER  InstallBusHandlers,
OUT PBUS_HANDLER BusHandler
 

NTSTATUS HaliSetSystemInformation IN HAL_SET_INFORMATION_CLASS  InformationClass,
IN ULONG  BufferSize,
IN PVOID  Buffer
 

NTHALAPI BOOLEAN HalMakeBeep IN ULONG  Frequency  ) 
 

VOID HalpInitBusHandler VOID   ) 
 

NTHALAPI VOID HalProcessorIdle VOID   ) 
 

VOID HalPutDmaAdapter IN PADAPTER_OBJECT  DmaAdapter  ) 
 

VOID HalPutScatterGatherList IN PADAPTER_OBJECT  DmaAdapter,
IN PSCATTER_GATHER_LIST  ScatterGather,
IN BOOLEAN  WriteToDevice
 

NTHALAPI VOID HalQueryDisplayParameters OUT PULONG  WidthInCharacters,
OUT PULONG  HeightInLines,
OUT PULONG  CursorColumn,
OUT PULONG  CursorRow
 

Referenced by KeDumpMachineState().

NTHALAPI BOOLEAN HalQueryRealTimeClock OUT PTIME_FIELDS  TimeFields  ) 
 

NTHALAPI ULONG HalReadDmaCounter IN PADAPTER_OBJECT  AdapterObject  ) 
 

NTHALAPI VOID HalReportResourceUsage VOID   ) 
 

NTHALAPI VOID HalRequestIpi IN ULONG  Mask  ) 
 

Referenced by KiIpiSend(), and KiIpiSendPacket().

NTHALAPI VOID HalReturnToFirmware IN FIRMWARE_REENTRY  Routine  ) 
 

Referenced by CmBootLastKnownGood(), KdpReboot(), KeBugCheckEx(), and KeReturnToFirmware().

NTHALAPI ULONG HalSetBusData IN BUS_DATA_TYPE  BusDataType,
IN ULONG  BusNumber,
IN ULONG  SlotNumber,
IN PVOID  Buffer,
IN ULONG  Length
 

NTHALAPI ULONG HalSetBusDataByOffset IN BUS_DATA_TYPE  BusDataType,
IN ULONG  BusNumber,
IN ULONG  SlotNumber,
IN PVOID  Buffer,
IN ULONG  Offset,
IN ULONG  Length
 

Referenced by KdpSetBusData().

NTHALAPI VOID HalSetDisplayParameters IN ULONG  CursorColumn,
IN ULONG  CursorRow
 

Referenced by KeDumpMachineState(), and KiDisplayString().

NTHALAPI ARC_STATUS HalSetEnvironmentVariable IN PCHAR  Variable,
IN PCHAR  Value
 

Referenced by CmBootLastKnownGood(), and NtSetSystemEnvironmentValue().

NTHALAPI ULONG_PTR HalSetProfileInterval IN ULONG_PTR  Interval  ) 
 

Referenced by KeSetIntervalProfile().

NTHALAPI BOOLEAN HalSetRealTimeClock IN PTIME_FIELDS  TimeFields  ) 
 

Referenced by KeSetSystemTime().

NTHALAPI ULONG HalSetTimeIncrement IN ULONG  DesiredIncrement  ) 
 

NTHALAPI BOOLEAN HalStartNextProcessor IN PLOADER_PARAMETER_BLOCK  LoaderBlock,
IN PKPROCESSOR_STATE  ProcessorState
 

Referenced by KeStartAllProcessors().

NTHALAPI VOID HalStartProfileInterrupt KPROFILE_SOURCE  ProfileSource  ) 
 

Referenced by KeStartProfile(), and KiStartProfileInterrupt().

NTHALAPI VOID HalStopProfileInterrupt KPROFILE_SOURCE  ProfileSource  ) 
 

Referenced by KeStopProfile(), and KiStopProfileInterrupt().

NTHALAPI BOOLEAN HalTranslateBusAddress IN INTERFACE_TYPE  InterfaceType,
IN ULONG  BusNumber,
IN PHYSICAL_ADDRESS  BusAddress,
IN OUT PULONG  AddressSpace,
OUT PPHYSICAL_ADDRESS  TranslatedAddress
 

Referenced by DriverEntry(), IopIsDuplicatedDevices(), IopTranslateBusAddress(), KdpReadIoSpace(), KdpReadIoSpaceExtended(), KdpWriteIoSpace(), and KdpWriteIoSpaceExtended().

NTHALAPI VOID IoAssignDriveLetters PLOADER_PARAMETER_BLOCK  LoaderBlock,
PSTRING  NtDeviceName,
OUT PUCHAR  NtSystemPath,
OUT PSTRING  NtSystemPathString
 

Referenced by IoInitSystem().

NTHALAPI BOOLEAN IoFlushAdapterBuffers IN PADAPTER_OBJECT  AdapterObject,
IN PMDL  Mdl,
IN PVOID  MapRegisterBase,
IN PVOID  CurrentVa,
IN ULONG  Length,
IN BOOLEAN  WriteToDevice
 

NTHALAPI VOID IoFreeAdapterChannel IN PADAPTER_OBJECT  AdapterObject  ) 
 

NTHALAPI VOID IoFreeMapRegisters IN PADAPTER_OBJECT  AdapterObject,
IN PVOID  MapRegisterBase,
IN ULONG  NumberOfMapRegisters
 

NTHALAPI PHYSICAL_ADDRESS IoMapTransfer IN PADAPTER_OBJECT  AdapterObject,
IN PMDL  Mdl,
IN PVOID  MapRegisterBase,
IN PVOID  CurrentVa,
IN OUT PULONG  Length,
IN BOOLEAN  WriteToDevice
 

NTHALAPI NTSTATUS IoReadPartitionTable IN PDEVICE_OBJECT  DeviceObject,
IN ULONG  SectorSize,
IN BOOLEAN  ReturnRecognizedPartitions,
OUT struct _DRIVE_LAYOUT_INFORMATION **  PartitionBuffer
 

Referenced by HalpQueryDriveLayout(), IoGetBootDiskInformation(), and IopCreateArcNames().

NTHALAPI NTSTATUS IoSetPartitionInformation IN PDEVICE_OBJECT  DeviceObject,
IN ULONG  SectorSize,
IN ULONG  PartitionNumber,
IN ULONG  PartitionType
 

NTHALAPI NTSTATUS IoWritePartitionTable IN PDEVICE_OBJECT  DeviceObject,
IN ULONG  SectorSize,
IN ULONG  SectorsPerTrack,
IN ULONG  NumberOfHeads,
IN struct _DRIVE_LAYOUT_INFORMATION *  PartitionBuffer
 

NTHALAPI ULONG KdPortGetByte OUT PUCHAR  Input  ) 
 

Referenced by KdpReceivePacket(), KdpReceivePacketLeader(), and KdpReceiveString().

NTHALAPI BOOLEAN KdPortInitialize PDEBUG_PARAMETERS  DebugParameters,
PLOADER_PARAMETER_BLOCK  LoaderBlock,
BOOLEAN  Initialize
 

Referenced by KdInitSystem().

NTHALAPI ULONG KdPortPollByte OUT PUCHAR  Input  ) 
 

Referenced by KdPollBreakIn(), and KdpPollBreakInWithPortLock().

NTHALAPI VOID KdPortPutByte IN UCHAR  Output  ) 
 

Referenced by KdpSendPacket(), and KdpSendString().

NTHALAPI VOID KdPortRestore VOID   ) 
 

Referenced by KdExitDebugger(), KdpSendWaitContinue(), and KdpSwitchProcessor().

NTHALAPI VOID KdPortSave VOID   ) 
 

Referenced by KdEnterDebugger(), KdpSendWaitContinue(), and KdpSwitchProcessor().

NTHALAPI VOID KeFlushWriteBuffer VOID   ) 
 

Referenced by NtFlushWriteBuffer().

NTHALAPI LARGE_INTEGER KeQueryPerformanceCounter IN PLARGE_INTEGER PerformanceFrequency  OPTIONAL  ) 
 

Referenced by EnterCrit(), ExpAllocateUuids(), KdExitDebugger(), KdInitSystem(), KdpQueryPerformanceCounter(), KiCalibrateTimeAdjustment(), KiInitMachineDependent(), LeaveCrit(), MiInitializeDriverVerifierList(), and NtQueryPerformanceCounter().

NTHALAPI VOID KeStallExecutionProcessor IN ULONG  MicroSeconds  ) 
 

Referenced by ExLockHandleTableEntry(), IopGetDumpStack(), KeBugCheckEx(), and KeFreezeExecution().

typedef PBUS_HANDLER FASTCALL *  pHalHandlerForBus  ) 
 

typedef VOID FASTCALL *  pHalRefernceBusHandler  ) 
 

Referenced by _ClientCopyDDEIn2(), _ClientToScreen(), _fptrap(), _GetClientRect(), _GetWindowRect(), _InitializeImmEntryTable(), _LoadCursorsAndIcons(), _QueryUserHandles(), _ResetDblClk(), _ScreenToClient(), _SetRipFlags(), _WOWCleanup(), _WOWModuleUnload(), AbandonTransaction(), AccessTimeOutReset(), AddHmodDependency(), AddImeHotKey(), AdjustPushStateForKL(), ApplyFunctionToObjects(), BestSetLastDDEMLError(), BltColor(), BltMe4Times(), BoundCursor(), CalculateMouseTable(), CancelInputState(), CaretBlinkProc(), CcDeallocateVacbLevel(), CcPinFileData(), CcPrepareMdlWrite(), CcPurgeCacheSection(), CcUnmapAndPurge(), ChangeAcquireResourceType(), ChangeDibColors(), ChangeForegroundKeyboardTable(), ChangeMemberState(), CharHandlerFromConsole(), CharHandlerToConsole(), CheckAppStarting(), CheckPlacementBounds(), CheckValidLayoutName(), CheckWHFBits(), ClassFree(), CleanupDirtyDesktops(), CleanupGDI(), CleanUpInstances(), CleanupResources(), ClearHungFlag(), ClearWakeBit(), ClearWakeMask(), CliGetPreloadKeyboardLayouts(), CliImmInitializeHotKeys(), CliSetDefaultImeHotKeys(), CloseDevice(), CloseProtectedHandle(), ClrFTrueVis(), CommonCreateWindowStation(), ConsolePlaySound(), CProfileAssociationPage::ConstructAssociations(), ConvertImeProWtoA(), ConvertRedirectionDCs(), CopyOutputString(), CreateSpb(), CtxBadAppDelay(), DecCursorLevel(), DecPaintCount(), DecrementFreeDCECount(), DecrementRedirectedCount(), DecTimerCount(), DecVisWindows(), DelayedDestroyCacheDC(), DeleteHrgnClip(), DeleteLinkCount(), DeleteMaybeSpecialRgn(), DeleteRedirectionBitmap(), DereferenceClass(), DestroyBitmap(), DestroyBrush(), DestroyC1Window(), DestroyCacheDCEntries(), DestroyDC(), DestroyEmptyCursorObject(), DestroyFont(), DestroyHandleTableObjects(), DestroyImeModeSaver(), DestroyIMEUI(), DestroyKL(), DestroyProcessesClasses(), DestroyProcessesObjects(), DestroyRegion(), DestroyThreadsHotKeys(), DestroyThreadsMessages(), DestroyThreadsObjects(), DestroyThreadsTimers(), DestroyWindowsHotKeys(), DestroyWindowStation(), DestroyWindowsTimers(), CProfileAssociationPage::DeviceListChanged(), DirectedScheduleTask(), CPropertyPage::DisableApplyButton(), DisconnectConv(), DisownClipboard(), DoClientOutStuff(), DoHTColorAdjust(), DoQueuedSyncPaint(), DrawCaptionIcon(), DrawIconCallBack(), DrawPushButton(), DrawSwitchWndHilite(), DumpAllocatedPool(), DumpDDEMessage(), DumpIt(), ECEnableDisableIME(), ECImmSetCompositionFont(), ECImmSetCompositionWindow(), ECInitInsert(), CPropertyPage::EnableApplyButton(), EnterMediaCrit(), EnterPowerCrit(), EnterWowCritSect(), ErrorExit(), ExAllocatePool(), ExceptionTest(), ExFreePool(), ExLockHandleTableExclusive(), ExLockHandleTableShared(), ExUnlockHandleTableExclusive(), ExUnlockHandleTableShared(), fakeImm_v1(), fakeImm_v2(), fakeImm_wv1(), FixupCallbackPointers(), FixupDlgFaceName(), FKActivationTimer(), FKBounceKeyTimer(), FocusSetIMCContext(), ForceEmptyClipboard(), CBufferAllocator::Free(), FreeAllSpbs(), FreeCachedQueues(), FreeConversationResources(), FreeDdeConv(), FreeDDEData(), FreeDDEHandle(), FreeDdeXact(), FreeDesktop(), FreeHook(), FreeImeHotKeys(), FreeInputContext(), FreeKernelEvent(), FreeListFree(), FreeMessageList(), FreeQEntry(), FreeQueue(), FreeSpb(), FreeThreadsWindowHooks(), FreeTimer(), FreeView(), FreeWindowStation(), FsRecGetDeviceSectors(), FsRecGetDeviceSectorSize(), FsRecReadBlock(), FsRtlCopyRead(), FsRtlCopyWrite(), FsRtlInitializeTunnels(), FsRtlMdlReadDev(), FsRtlPrepareMdlWriteDev(), FsRtlProcessFileLock(), FsRtlpSetSymbolicLink(), FsRtlRegisterUncProvider(), FsRtlWorkerThread(), FtCreateKey(), FtOpenKey(), FujitsuOyayubiControl(), GetActiveKeyboardName(), GetConvContext(), GetDefaultWallpaperName(), GetFlashWindowState(), GetImmFileName(), GetMouseCoord(), GetSoftKeyboardDimension(), GetSystemPathName(), GetTimeouts(), GetWindowNCMetrics(), HalpGetFullGeometry(), HandleMediaChangeEvent(), HardErrorHandler(), HardErrorInsert(), HardErrorRemove(), HMChangeOwnerPheProcess(), HMChangeOwnerThread(), HvFreeCell(), IdleTimerProc(), ImeCheckTopmost(), ImeMarkUsedContext(), ImeOpenClose(), ImeSetFutureOwner(), ImeSetImc(), ImeSetTopmost(), ImeSetTopmostChild(), ImmSendNotification(), ImmUnlockClientImc(), ImmUnlockImeDpi(), IncCursorLevel(), IncPaintCount(), IncrementFreeDCECount(), IncrementRedirectedCount(), IncVisWindows(), InitDst8(), InitExtendedEditKeys(), InitFunctionTables(), InitializeImmEntryTable(), InitKeyboard(), InitLoadResources(), InitMessageTables(), InitMice(), InitSKC1Bitmap(), InitSKC1ButtonPos(), InitWindowMsgTable(), InputApc(), InternalInvalidate3(), InternalOpenColorProfile(), InvalidateDce(), InvalidateGDIWindows(), IoAttachDevice(), IoCancelFileOpen(), IoCreateController(), IoCreateDevice(), IoCreateNotificationEvent(), IoCreateSynchronizationEvent(), IoFreeDumpStack(), IoGetDeviceObjectPointer(), IoInitSystem(), IopCancelAlertedRequest(), IopCheckBackupRestorePrivilege(), IopCloseFile(), IopCompleteRequest(), IopCompleteUnloadOrDelete(), IopCreateRootDirectories(), IopDeleteFile(), IopFilterResourceRequirementsCall(), IopGetDumpStack(), IopGetFileName(), IopGetSetSecurityObject(), IopHardErrorThread(), IopInitializeBootDrivers(), IopInitializePlugPlayServices(), IopInvalidateVolumesForDevice(), IopLoadFileSystemDriver(), IopLoadUnloadDriver(), IopMountVolume(), IopParseDevice(), IopQueryXxxInformation(), IopRaiseInformationalHardError(), IopSendMessageToTrackService(), IopSynchronousCall(), IoRaiseHardError(), IoRaiseInformationalHardError(), IoRegisterFileSystem(), IoSetInformation(), IoShutdownSystem(), IoUnregisterFileSystem(), IovAttachDeviceToDeviceStack(), IovDeleteDevice(), IovDetachDevice(), IoVerifyVolume(), IovInitializeIrp(), IovpCompleteRequest(), IovpThrowBogusSynchronousIrp(), JournalTimer(), keybd_event(), KiInitializeKernel(), LeaveDeviceInfoListCrit(), LeaveMediaCrit(), LeaveMouseCrit(), LeavePowerCrit(), LFontAtoLFontW(), LFontWtoLFontA(), LinkCursor(), LinkTransaction(), LoadAppDlls(), LoadLinkInfo(), LoadPreloadKeyboardLayouts(), LockObjectAssignment(), LW_DriversInit(), LW_LoadProfileInitData(), LW_LoadResources(), LW_LoadSomeStrings(), main(), MapDesktop(), MarkDCEInvalid(), MDIActivateDlgInit(), MDIActivateDlgSize(), MiCheckPageFilePath(), MiDereferenceSegmentThread(), MiFlushDirtyBitsToPfn(), MiFreeNonPagedPool(), MiInsertPageInList(), MiMappedPageWriter(), MiModifiedPageWriter(), MiModifiedPageWriterWorker(), MiProtectVirtualMemory(), MiSetPageModified(), MiSetProtectionOnSection(), MiUnmapLockedPagesInUserSpace(), MKHideMouseCursor(), MKShowMouseCursor(), MmMapUserAddressesToPage(), MmSetAddressRangeModified(), MNFreePopup(), MonCloseEventLog(), MonitorConv(), MonitorLink(), MonitorStringHandle(), mouse_event(), MungeClipData(), NlsClearKeyStateToggle(), NlsKbdInitializePerSystem(), NlsKbdSendIMENotification(), NlsKbdSendIMEProc(), NlsSetKeyStateToggle(), NotepadPrint(), NotificationThread(), NtAlertThread(), NtCancelIoFile(), NtLockVirtualMemory(), NtMapUserPhysicalPages(), NtMapUserPhysicalPagesScatter(), NtUnloadDriver(), NtUserAlterWindowStyle(), NtUserModifyUserStartupInfoFlags(), NtUserNotifyIMEStatus(), NtUserNotifyWinEvent(), NtUserSetDbgTag(), NtUserSetRipFlags(), NtUserSetThreadLayoutHandles(), NtUserSetThreadState(), ObpAcquireDescriptorCacheReadLock(), ObpAcquireDescriptorCacheWriteLock(), ObpIncrementHandleCount(), ObpIncrementUnnamedHandleCount(), ObpReleaseDescriptorCacheLock(), OffsetChildren(), ParkIcon(), PasteScreenPalette(), PatchThreadWindows(), PixieHack(), PlayEventSound(), PnPGetDevnodeExcludeList(), PopState(), PostMove(), PostQuitMessage(), ProcessAsyncDDEMsg(), ProcessDDEMLInitiate(), ProcessDeviceChanges(), ProcessKeyboardInput(), ProcessMouseInput(), PseudoDestroyClassWindows(), PspCreateThread(), PspExitThread(), putc(), QueueMouseEvent(), RawInputThread(), Reader(), ReaderTurnedWriter(), ReceiverDied(), RecolorDeskPattern(), RegisterLPK(), RegisterService(), RegisterSystemThread(), ReleaseEditDS(), RemoveHmodDependency(), RemoveKeyboardLayoutFile(), RemoveRedirectionBitmap(), ReorderKeyboardLayouts(), RequestDeviceChange(), ResetOrg(), ResetSharedDesktops(), ResetSystemColors(), RtlAbortRXact(), RtlApplyRXact(), RtlDestroyHeap(), RtlInitializeHeapManager(), RtlInitLargeAnsiString(), RtlInitLargeUnicodeString(), RtlpValidateCurrentDirectory(), Scale2424(), Scale424(), Scale48(), Scale824(), Scale88(), ScrollChildren(), SeFilterToken(), SeImpersonateClient(), SelectInputContext(), SendMsgCleanup(), SendOpenStatusNotify(), SendRegisterMessageToClass(), SetAccessEnabledFlag(), SetCommonStateFlags(), SetConvContext(), SetConvMode(), SetDbgTag(), SetDebugErrorLevel(), SetDebugHotKeys(), SetDialogPointer(), SetFeKeyboardFlags(), SetForegroundPriority(), SetForegroundPriorityProcess(), SetForegroundThread(), SetGlobalCursorLevel(), SetHandleData(), SetHandleInUse(), SetHungFlag(), SetKeyboardRate(), SetLastDDEMLError(), SetLastErrorEx(), SetMinimize(), SetMinMetrics(), SetRipFlags(), SetSysColor(), CPropertyPage::SettingChanged(), SetTopmost(), SetVDMCursorBounds(), SetVisible(), SetWakeBit(), ShowSKC1Window(), ShutdownConversation(), SKC1ButtonDown(), SKC1DrawBitmap(), SKC1DrawConvexRect(), SKC1DrawDragBorder(), SKC1DrawLabel(), SKC1InvertButton(), SmbTraceStart(), SoundSentryTimer(), SpbCheck(), SpbCheckDce(), SpbCheckPwnd(), SpbCheckRect(), SplFreeResource(), StopFilterKeysTimers(), StubFreeSMS(), SwitchToThisWindow(), SwitchWndCleanup(), TellWOWThehDlg(), TerminateConsole(), TimersProc(), TrackFullscreenMode(), TurnOffMouseKeys(), UdfAddVmcbMapping(), UdfLoadSparingTables(), UdfMultipleAsync(), UdfPerformDevIoCtrl(), UdfPnpCancelRemove(), UdfRemoveVmcbMapping(), UdfSingleAsync(), UdfVerifyVcb(), UdfVmcbLbnToVbn(), UdfVmcbVbnToLbn(), UIntToStr(), UnblockWriteConsole(), UnlinkConvFromOthers(), UnlinkCursor(), UnlinkTransaction(), UnlinkWindow(), UnloadCursorsAndIcons(), UnloadIME(), UnlockAndFreeCPDs(), UnlockConsole(), UnlockNotifyWindow(), UnlockObjectAssignment(), UnmapDesktop(), CProfileAssociationPage::UpdateDeviceListBox(), UpdateJob(), UpdateKeyLights(), UpdateLayeredSprite(), UserAssociateHwnd(), UserDeleteW32Process(), UserDeleteW32Thread(), UserDereferenceObject(), UserEnterUserCritSec(), UserHardError(), UserHardErrorEx(), UserKillTimer(), UserLeaveUserCritSec(), UserRedrawDesktop(), UserRemoveRedirectionBitmap(), UserRtlFreeMem(), UserRtlRaiseStatus(), UserSetDCVisRgn(), UserSetDelayedChangeBroadcastForAllDesktops(), UserSleep(), UT_FreeCBFormat(), vAddLocalType1Font(), vAddRemoteType1Font(), vAddType1Font(), vCheckMMInstance(), vCleanConvertedTTFs(), vFontSweep(), vLoadLocalT1Fonts(), vLoadRemoteT1Fonts(), vLoadT1Fonts(), vMoveFileFromSystemToFontsDir(), vNullTermWideString(), vProcessFontEntry(), vProcessType1FontEntry(), vSweepFonts(), Win32KDriverUnload(), WMCSCallback(), Writer(), xHalExamineMBR(), xHalGetPartialGeometry(), xHalIoClearPartitionTable(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), xHalIoWritePartitionTable(), xxxAccessTimeOutTimer(), xxxAnimateCaption(), xxxBroadcastImeShowStatusChange(), xxxBroadcastPaletteChanged(), xxxButtonEvent(), xxxCancelCoolSwitch(), xxxCancelTracking(), xxxCancelTrackingForThread(), xxxCapture(), xxxChangeMonitorFlags(), xxxCheckImeShowStatusInThread(), xxxContScroll(), xxxCreateClassSmIcon(), xxxDDETrackGetMessageHook(), xxxDDETrackWindowDying(), xxxDesktopThread(), xxxDestroyThreadDDEObject(), xxxDestroyThreadInfo(), xxxDoButtonEvent(), xxxDoSyncPaint(), xxxDoSysExpunge(), xxxDrawCaptionBar(), xxxDrawClipboard(), xxxDrawDragRect(), xxxDWP_DoNCActivate(), xxxFKAcceptanceDelayTimer(), xxxFKRepeatRateTimer(), xxxFlushPalette(), xxxFocusSetInputContext(), xxxFreeImeKeyboardLayouts(), xxxFreeKeyboardLayouts(), xxxFreeListFree(), xxxFreeWindow(), xxxHandleWindowPosChanged(), xxxHardwareMouseKeyUp(), xxxHelpLoop(), xxxHungAppDemon(), xxxImmActivateAndUnloadThreadsLayout(), xxxImmActivateLayout(), xxxImmUnloadLayout(), xxxImmUnloadThreadsLayout(), xxxInternalDoSyncPaint(), xxxInternalInvalidate(), xxxInternalKeyEventDirect(), xxxKeyEvent(), xxxLBoxCaretBlinker(), xxxLW_LoadFonts(), xxxMessageEvent(), xxxMKMoveAccelCursorTimer(), xxxMKMoveConstCursorTimer(), xxxMouseEventDirect(), xxxMoveEvent(), xxxMoveEventAbsolute(), xxxMoveSize(), xxxMS_FlushWigglies(), xxxNextAniIconStep(), xxxNextWindow(), xxxNotifyImeShowStatus(), xxxNotifyIMEStatus(), xxxODI_ColorInit(), xxxOldNextWindow(), xxxPaintIconsInSwitchWindow(), xxxPaintSwitchWindow(), xxxProcessEventMessage(), xxxProcessKeyEvent(), xxxProcessSetWindowPosEvent(), xxxPushKeyEvent(), xxxRealizeDesktop(), xxxReceiveMessage(), xxxRecreateSmallIcons(), xxxRedrawHungWindow(), xxxRedrawHungWindowFrame(), xxxResetDisplayDevice(), xxxSBTrackLoop(), xxxSendChangedMsgs(), xxxSendChildNCPaint(), xxxSendClipboardMessage(), xxxSendNCPaint(), xxxSendOpenStatusNotify(), xxxSetConsoleCaretInfo(), xxxSetPKLinThreads(), xxxSimpleDoSyncPaint(), xxxSimulateShiftF10(), xxxStaticLoadImage(), xxxSwitchToThisWindow(), xxxSystemBroadcastMessage(), xxxSystemTimerProc(), xxxTM_MoveDragRect(), xxxToggleKeysTimer(), xxxTurnOffStickyKeys(), xxxUnlatchStickyKeys(), xxxUpdateModifierState(), xxxUpdateOtherThreadsWindows(), xxxUpdateSystemCursorsFromRegistry(), xxxUpdateSystemIconsFromRegistry(), xxxUpdateThreadsWindows(), xxxUserResetDisplayDevice(), ZapActiveAndFocus(), ZombieCursor(), zzzAnimateCursor(), zzzChangeStates(), zzzInternalSetCursorPos(), zzzRegisterSystemThread(), zzzSetDesktop(), zzzSetFMouseMoved(), and zzzUpdateCursorImage().


Variable Documentation

HAL_DISPATCH HalDispatchTable
 

Definition at line 1534 of file hal.h.

HAL_PRIVATE_DISPATCH HalPrivateDispatchTable
 

Definition at line 1593 of file hal.h.


Generated on Sat May 15 19:43:55 2004 for test by doxygen 1.3.7