; --------------------------------------------------------------------------------------------------
;                             hal.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF HAL_INC
HAL_INC equ <1>

HalAcquireDisplayOwnership PROTO STDCALL :DWORD
HalAdjustResourceList PROTO STDCALL :DWORD
HalAllProcessorsStarted PROTO STDCALL
HalAllocateAdapterChannel PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
HalAllocateCommonBuffer PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
HalAllocateCrashDumpRegisters PROTO STDCALL :DWORD,:DWORD
HalAssignSlotResources PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalBeginSystemInterrupt PROTO STDCALL :DWORD,:DWORD,:DWORD
HalCalibratePerformanceCounter PROTO STDCALL :DWORD,:DWORD,:DWORD
HalDisableSystemInterrupt PROTO STDCALL :DWORD,:DWORD
HalDisplayString PROTO STDCALL :DWORD
HalEnableSystemInterrupt PROTO STDCALL :DWORD,:DWORD,:DWORD
HalEndSystemInterrupt PROTO STDCALL :DWORD,:DWORD
HalFlushCommonBuffer PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalFreeCommonBuffer PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalGetAdapter PROTO STDCALL :DWORD,:DWORD
HalGetBusData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalGetBusDataByOffset PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalGetEnvironmentVariable PROTO STDCALL :DWORD,:DWORD,:DWORD
HalGetInterruptVector PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalHandleNMI PROTO STDCALL :DWORD
HalInitSystem PROTO STDCALL :DWORD,:DWORD
HalInitializeProcessor PROTO STDCALL :DWORD,:DWORD
HalMakeBeep PROTO STDCALL :DWORD
HalProcessorIdle PROTO STDCALL
HalQueryDisplayParameters PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
HalQueryRealTimeClock PROTO STDCALL :DWORD
HalReadDmaCounter PROTO STDCALL :DWORD
HalReportResourceUsage PROTO STDCALL
HalRequestIpi PROTO STDCALL :DWORD
HalReturnToFirmware PROTO STDCALL :DWORD
HalSetBusData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalSetBusDataByOffset PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HalSetDisplayParameters PROTO STDCALL :DWORD,:DWORD
HalSetEnvironmentVariable PROTO STDCALL :DWORD,:DWORD
HalSetProfileInterval PROTO STDCALL :DWORD
HalSetRealTimeClock PROTO STDCALL :DWORD
HalSetTimeIncrement PROTO STDCALL :DWORD
HalStartNextProcessor PROTO STDCALL :DWORD,:DWORD
HalStartProfileInterrupt PROTO STDCALL :DWORD
HalStopProfileInterrupt PROTO STDCALL :DWORD
HalTranslateBusAddress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoFlushAdapterBuffers PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoFreeAdapterChannel PROTO STDCALL :DWORD
IoFreeMapRegisters PROTO STDCALL :DWORD,:DWORD,:DWORD
IoMapTransfer PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
KdComPortInUse PROTO C :VARARG
KeAcquireSpinLock PROTO STDCALL :DWORD,:DWORD
KeFlushWriteBuffer PROTO STDCALL
KeGetCurrentIrql PROTO STDCALL
KeLowerIrql PROTO STDCALL :DWORD
KeQueryPerformanceCounter PROTO STDCALL :DWORD
KeRaiseIrql PROTO STDCALL :DWORD,:DWORD
KeRaiseIrqlToDpcLevel PROTO STDCALL
KeRaiseIrqlToSynchLevel PROTO STDCALL
KeReleaseSpinLock PROTO STDCALL :DWORD,:DWORD
KeStallExecutionProcessor PROTO STDCALL :DWORD
READ_PORT_BUFFER_UCHAR PROTO STDCALL :DWORD,:DWORD,:DWORD
READ_PORT_BUFFER_ULONG PROTO STDCALL :DWORD,:DWORD,:DWORD
READ_PORT_BUFFER_USHORT PROTO STDCALL :DWORD,:DWORD,:DWORD
READ_PORT_UCHAR PROTO STDCALL :DWORD
READ_PORT_ULONG PROTO STDCALL :DWORD
READ_PORT_USHORT PROTO STDCALL :DWORD
WRITE_PORT_BUFFER_UCHAR PROTO STDCALL :DWORD,:DWORD,:DWORD
WRITE_PORT_BUFFER_ULONG PROTO STDCALL :DWORD,:DWORD,:DWORD
WRITE_PORT_BUFFER_USHORT PROTO STDCALL :DWORD,:DWORD,:DWORD
WRITE_PORT_UCHAR PROTO STDCALL :DWORD,:DWORD
WRITE_PORT_ULONG PROTO STDCALL :DWORD,:DWORD
WRITE_PORT_USHORT PROTO STDCALL :DWORD,:DWORD

ELSE
  echo --------------------------------------
  echo WARNING duplicate include file hal.inc
  echo --------------------------------------
ENDIF
