Techwiki:Hal
From ReactOS
Exports
| Export | X86(2K3) | AMD64(2K3) | X86(Win7) | AMD64(Win7) |
|---|---|---|---|---|
| ExAcquireFastMutex | 0x01 | - | 0x01 | |
| ExReleaseFastMutex | 0x02 | - | 0x02 | |
| ExTryToAcquireFastMutex | 0x03 | - | 0x03 | |
| HalAcquireDisplayOwnership | 0x14 | 0x01 | 0x15 | 0x01 |
| HalAdjustResourceList | 0x15 | 0x02 | 0x16 | 0x02 |
| HalAllProcessorsStarted | 0x16 | 0x03 | 0x17 | 0x03 |
| HalAllocateAdapterChannel | 0x17 | 0x04 | 0x18 | 0x04 |
| HalAllocateCommonBuffer | 0x18 | 0x05 | 0x19 | 0c05 |
| HalAllocateCrashDumpRegisters | 0x19 | 0x06 | 0x1A | 0x06 |
| HalAllocateHardwareCounters | - | - | 0x1B | 0x07 |
| HalAssignSlotResources | 0x1A | 0x07 | 0x1C | 0x08 |
| HalBeginSystemInterrupt | 0x1B | - | 0x1D | |
| HalBugCheckSystem | - | - | 0x1E | 0x09 |
| HalCalibratePerformanceCounter | 0x1C | 0x08 | 0x1F | 0x0A |
| HalCallBios | - | 0x09 | - | |
| HalClearSoftwareInterrupt | 0x04 | 0x0A | 0x04 | 0x0B |
| HalConvertDeviceIdtToIrql | - | - | 0x20 | 0x0C |
| HalDisableInterrupt | - | - | 0x21 | 0x0D |
| HalDisableSystemInterrupt | 0x1D | 0x0B | - | |
| HalDisplayString | 0x1E | 0x0C | 0x22 | 0x0E |
| HalEnableInterrupt | - | - | 0x23 | 0x0F |
| HalEnableSystemInterrupt | 0x1F | 0x0D | - | |
| HalEndSystemInterrupt | 0x20 | - | 0x24 | |
| HalEnumerateEnvironmentVariablesEx | - | - | 0x25 | 0x10 |
| HalEnumerateProcessors | - | - | - | 0x11 |
| HalFlushCommonBuffer | 0x21 | 0x0E | 0x26 | 0x12 |
| HalFreeCommonBuffer | 0x22 | 0c0F | 0x27 | 0x13 |
| HalFreeHardwareCounters | - | - | 0x28 | 0x14 |
| HalGetAdapter | 0x23 | 0x10 | 0x29 | 0x15 |
| HalGetBusData | 0x24 | 0x11 | 0x2A | 0x16 |
| HalGetBusDataByOffset | 0x25 | 0x12 | 0x2B | 0x17 |
| HalGetEnvironmentVariable | 0x26 | 0x13 | 0x2C | 0x18 |
| HalGetEnvironmentVariableEx | - | - | 0x2D | 0x19 |
| HalGetInterruptTargetInformation | - | - | 0x2E | 0x1A |
| HalGetInterruptVector | 0x27 | 0x14 | 0x2F | 0x1B |
| HalGetMemoryCachingRequirements | - | - | 0x30 | 0x1C |
| HalGetMessageRoutingInfo | - | - | 0x31 | 0x1D |
| HalGetProcessorIdByNtNumber | - | - | 0x32 | 0x1E |
| HalGetVectorInput | - | - | 0x33 | 0x1F |
| HalHandleMcheck | - | 0x15 | - | 0x20 |
| HalHandleNMI | 0x28 | 0x16 | 0x34 | 0x21 |
| HalInitSystem | 0x29 | 0x17 | 0x35 | 0x22 |
| HalInitializeBios | - | - | 0x36 | 0x23 |
| HalInitializeOnResume | - | - | 0x37 | 0x24 |
| HalInitializeProcessor | 0x2A | 0x18 | 0x38 | 0x25 |
| HalIsHyperThreadingEnabled | - | 0x19 | - | 0x26 |
| HalMakeBeep | 0x2B | 0x1A | 0x39 | 0x27 |
| HalMcUpdateReadPCIConfig | - | - | 0x3A | 0x28 |
| HalPerformEndOfInterrupt | - | - | - | 0x29 |
| HalProcessorIdle | 0x2C | 0x1B | 0x3B | 0x2A |
| HalQueryDisplayParameters | 0x2D | 0x1C | 0x3C | 0x2B |
| HalQueryEnvironmentVariableInfoEx | - | - | 0x3D | 0x2C |
| HalQueryMaximumProcessorCount | - | - | 0x3E | 0x2D |
| HalQueryRealTimeClock | 0x2E | 0x1D | 0x3F | 0x2E |
| HalReadDmaCounter | 0x2F | 0x1E | 0x40 | 0x2F |
| HalRegisterDynamicProcessor | - | - | 0x41 | 0x30 |
| HalRegisterErrataCallbacks | - | - | 0x42 | 0x31 |
| HalReportResourceUsage | 0x30 | 0x1F | 0x43 | 0x32 |
| HalRequestClockInterrupt | - | - | 0x05 | 0x33 |
| HalRequestDeferredRecoveryServiceInterrupt | - | - | - | 0x34 |
| HalRequestIpi | 0x31 | 0x20 | 0x44 | 0x35 |
| HalRequestSoftwareInterrupt | 0x05 | 0x21 | 0x06 | 0x36 |
| HalReturnToFirmware | 0x32 | 0x22 | 0x45 | 0x37 |
| HalSendNMI | - | 0x23 | - | 0x38 |
| HalSendSoftwareInterrupt | - | 0x24 | - | 0x39 |
| HalSetBusData | 0x33 | 0x25 | 0x46 | 0x3A |
| HalSetBusDataByOffset | 0x34 | 0x26 | 0x47 | 0x3B |
| HalSetDisplayParameters | 0x35 | 0x27 | 0x48 | 0x3C |
| HalSetEnvironmentVariable | 0x36 | 0x28 | 0x49 | 0x3D |
| HalSetEnvironmentVariableEx | - | - | 0x4A | 0x3E |
| HalSetProfileInterval | 0x37 | 0x29 | 0x4B | 0x3F |
| HalSetRealTimeClock | 0x38 | 0x2A | 0x4C | 0x40 |
| HalSetTimeIncrement | 0x39 | 0x2B | 0x4D | 0x41 |
| HalStartDynamicProcessor | - | - | 0x4E | 0x42 |
| HalStartNextProcessor | 0x3A | 0x2C | 0x4F | 0x43 |
| HalStartProfileInterrupt | 0x3B | 0x2D | 0x50 | 0x44 |
| HalStopProfileInterrupt | 0x3C | 0x2E | 0x51 | 0x45 |
| HalSystemVectorDispatchEntry | 0x06 | 0x2F | 0x07 | 0x46 |
| HalTranslateBusAddress | 0x3D | 0x30 | 0x52 | 0x47 |
| IoAssignDriveLetters | 0x03E | 0x31 | - | |
| IoFlushAdapterBuffers | 0x3F | 0x32 | 0x53 | 0x48 |
| IoFreeAdapterChannel | 0x40 | 0x33 | 0x54 | 0x49 |
| IoFreeMapRegisters | 0x41 | 0x34 | 0x55 | 0x4A |
| IoMapTransfer | 0x42 | 0x35 | 0x56 | 0x4B |
| IoReadPartitionTable | 0x43 | 0x36 | 0x57 | 0x4C |
| IoSetPartitionInformation | 0x44 | 0x37 | 0x58 | 0x4D |
| IoWritePartitionTable | 0x45 | 0x38 | 0x59 | 0x4E |
| KdComPortInUse DATA | 0x46 | 0x39 | 0x5A | 0x4F |
| KeFlushWriteBuffer | 0x48 | 0x3A | 0x5C | 0x50 |
| KeAcquireInStackQueuedSpinLock | 0x07 | - | 0x08 | |
| KeAcquireInStackQueuedSpinLockRaiseToSynch | 0x08 | - | 0x09 | |
| KeAcquireQueuedSpinLock | 0x09 | - | 0x0A | |
| KeAcquireQueuedSpinLockRaiseToSynch | 0x0A | - | 0x0B | |
| KeAcquireSpinLock | 0x47 | - | 0x5B | |
| KeAcquireSpinLockRaiseToSynch | 0x0B | - | 0x0C | |
| KeGetCurrentIrql | 0x49 | - | 0x5D | |
| KeLowerIrql | 0x4A | - | 0x5E | |
| KeQueryPerformanceCounter | 0x4B | 0x3B | 0x5F | 0x51 |
| KeRaiseIrql | 0x4C | - | 0x60 | |
| KeRaiseIrqlToDpcLevel | 0x4D | - | 0x61 | |
| KeRaiseIrqlToSynchLevel | 0x4E | - | 0x62 | |
| KeReleaseSpinLock | 0x4F | - | 0x63 | |
| KeReleaseInStackQueuedSpinLock | 0x0C | - | 0x0D | |
| KeReleaseQueuedSpinLock | 0x0D | - | 0x0E | |
| KeStallExecutionProcessor | 0x50 | 0x3C | 0x64 | 0x52 |
| KeTryToAcquireQueuedSpinLock | 0x0E | - | 0x0F | |
| KeTryToAcquireQueuedSpinLockRaiseToSynch | 0x0F | - | 0x10 | |
| KfAcquireSpinLock | 0x10 | - | 0x11 | |
| KfLowerIrql | 0x11 | - | 0x12 | |
| KfRaiseIrql | 0x12 | - | 0x13 | |
| KfReleaseSpinLock | 0x13 | - | 0x14 | |
| READ_PORT_BUFFER_UCHAR | 0x51 | - | 0x65 | |
| READ_PORT_BUFFER_ULONG | 0x52 | - | 0x66 | |
| READ_PORT_BUFFER_USHORT | 0x53 | - | 0x67 | |
| READ_PORT_UCHAR | 0x54 | - | 0x68 | |
| READ_PORT_ULONG | 0x55 | - | 0x69 | |
| READ_PORT_USHORT | 0x56 | - | 0x6A | |
| WRITE_PORT_BUFFER_UCHAR | 0x57 | - | 0x6B | |
| WRITE_PORT_BUFFER_ULONG | 0x58 | - | 0x6C | |
| WRITE_PORT_BUFFER_USHORT | 0x59 | - | 0x6D | |
| WRITE_PORT_UCHAR | 0x5A | - | 0x6E | |
| WRITE_PORT_ULONG | 0x5B | - | 0x6F | |
| WRITE_PORT_USHORT | 0x5C | - | 0x70 | |
| x86BiosAllocateBuffer | - | - | 0x71 | 0x53 |
| x86BiosCall | - | - | 0x72 | 0x54 |
| x86BiosExecuteInterrupt | - | 0x3D | - | |
| x86BiosFreeBuffer | - | - | 0x73 | 0x55 |
| x86BiosInitializeBiosEx | - | 0x3E | - | |
| x86BiosTranslateAddress | - | 0x3F | - | |
| x86BiosReadMemory | - | - | 0x74 | 0x56 |
| x86BiosWriteMemory | - | - | 0x75 | 0x57 |

