:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / ntoskrnl / include / internal / hal / hal.h
1 /*
2  * 
3  */
4
5 #ifndef __INTERNAL_HAL_HAL_H
6 #define __INTERNAL_HAL_HAL_H
7
8 #include <ddk/service.h>
9 #include <internal/ntoskrnl.h>
10
11 /*
12  * FUNCTION: Probes for a BIOS32 extension
13  */
14 VOID Hal_bios32_probe(VOID);
15
16 /*
17  * FUNCTION: Determines if a a bios32 service is present
18  */
19 BOOLEAN Hal_bios32_is_service_present(ULONG service);
20
21 VOID HalInitializeDisplay (PLOADER_PARAMETER_BLOCK LoaderBlock);
22 VOID HalResetDisplay (VOID);
23
24 VOID HalpInitBusHandlers (VOID);
25
26 /* irql.c */
27 VOID HalpInitPICs(VOID);
28
29 /* udelay.c */
30 VOID HalpCalibrateStallExecution(VOID);
31
32 /* pci.c */
33 VOID HalpInitPciBus (VOID);
34
35 /* enum.c */
36 VOID HalpStartEnumerator (VOID);
37
38 struct _ADAPTER_OBJECT {
39   int Channel;
40   PVOID PagePort;
41   PVOID CountPort;
42   PVOID OffsetPort;
43   KSPIN_LOCK SpinLock;
44   PVOID Buffer;
45   BOOLEAN Inuse;
46 };
47
48 #endif /* __INTERNAL_HAL_HAL_H */