541f969e8c4c8eec1faeca36fcb0bf9af27f6590
[reactos.git] / reactos / hal / halx86 / include / hal.h
1 /*
2 *
3 */
4
5 #ifndef __INTERNAL_HAL_HAL_H
6 #define __INTERNAL_HAL_HAL_H
7
8 /*
9 * FUNCTION: Probes for a BIOS32 extension
10 */
11 VOID Hal_bios32_probe(VOID);
12
13 /*
14 * FUNCTION: Determines if a a bios32 service is present
15 */
16 BOOLEAN Hal_bios32_is_service_present(ULONG service);
17
18 VOID HalInitializeDisplay (PLOADER_PARAMETER_BLOCK LoaderBlock);
19 VOID HalResetDisplay (VOID);
20
21 VOID HalpInitBusHandlers (VOID);
22
23 /* irql.c */
24 VOID HalpInitPICs(VOID);
25
26 /* udelay.c */
27 VOID HalpCalibrateStallExecution(VOID);
28
29 /* pci.c */
30 VOID HalpInitPciBus (VOID);
31
32 /* enum.c */
33 VOID HalpStartEnumerator (VOID);
34
35 struct _ADAPTER_OBJECT {
36 int Channel;
37 PVOID PagePort;
38 PVOID CountPort;
39 PVOID OffsetPort;
40 KSPIN_LOCK SpinLock;
41 PVOID Buffer;
42 BOOLEAN Inuse;
43 };
44
45 /* sysinfo.c */
46 NTSTATUS STDCALL
47 HalpQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass,
48 IN ULONG BufferSize,
49 IN OUT PVOID Buffer,
50 OUT PULONG ReturnedLength);
51
52
53 /* Non-standard functions */
54 VOID STDCALL
55 HalReleaseDisplayOwnership();
56
57 BOOLEAN STDCALL
58 HalQueryDisplayOwnership();
59
60
61 #endif /* __INTERNAL_HAL_HAL_H */