2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/fstub/halstub.c
5 * PURPOSE: I/O Stub HAL Routines
6 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
9 /* INCLUDES ******************************************************************/
15 /* GLOBALS *******************************************************************/
17 HAL_DISPATCH HalDispatchTable
=
20 (pHalQuerySystemInformation
)NULL
,
21 (pHalSetSystemInformation
)NULL
,
22 (pHalQueryBusSlots
)NULL
,
25 xHalIoAssignDriveLetters
,
26 xHalIoReadPartitionTable
,
27 xHalIoSetPartitionInformation
,
28 xHalIoWritePartitionTable
,
29 (pHalHandlerForBus
)NULL
,
30 (pHalReferenceBusHandler
)NULL
,
31 (pHalReferenceBusHandler
)NULL
,
32 (pHalInitPnpDriver
)NULL
,
33 (pHalInitPowerManagement
)NULL
,
34 (pHalGetDmaAdapter
) NULL
,
35 (pHalGetInterruptTranslator
)NULL
,
36 (pHalStartMirroring
)NULL
,
37 (pHalEndMirroring
)NULL
,
38 (pHalMirrorPhysicalMemory
)NULL
,
40 (pHalMirrorVerify
)NULL
43 HAL_PRIVATE_DISPATCH HalPrivateDispatchTable
=
45 HAL_PRIVATE_DISPATCH_VERSION
,
46 (pHalHandlerForBus
)NULL
,
47 (pHalHandlerForConfigSpace
)NULL
,
48 (pHalLocateHiberRanges
)NULL
,
49 (pHalRegisterBusHandler
)NULL
,
51 (pHalSetWakeAlarm
)NULL
,
52 (pHalTranslateBusAddress
)NULL
,
53 (pHalAssignSlotResources
)NULL
,
55 (pHalFindBusAddressTranslation
)NULL
,
56 (pHalResetDisplay
)NULL
,
57 (pHalAllocateMapRegisters
)NULL
,
58 (pKdSetupPciDeviceForDebugging
)NULL
,
59 (pKdReleasePciDeviceForDebugging
)NULL
,
60 (pKdGetAcpiTablePhase0
)NULL
,
61 (pKdCheckPowerButton
)NULL
,
62 (pHalVectorToIDTEntry
)xHalVectorToIDTEntry
,
63 (pKdMapPhysicalMemory64
)NULL
,
64 (pKdUnmapVirtualAddress
)NULL
67 /* FUNCTIONS *****************************************************************/
71 xHalVectorToIDTEntry(IN ULONG Vector
)
73 /* Return the vector */
95 xHalSetWakeEnable(IN BOOLEAN Enable
)