HALx86: minor cleanup and internal calling convention changes in display functions.
[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 /* display.c */
19 VOID FASTCALL HalInitializeDisplay (PLOADER_PARAMETER_BLOCK LoaderBlock);
20 VOID FASTCALL HalClearDisplay (UCHAR CharAttribute);
21
22 VOID HalpInitBusHandlers (VOID);
23
24 /* irql.c */
25 VOID HalpInitPICs(VOID);
26
27 /* udelay.c */
28 VOID HalpCalibrateStallExecution(VOID);
29
30 /* pci.c */
31 VOID HalpInitPciBus (VOID);
32
33 /* enum.c */
34 VOID HalpStartEnumerator (VOID);
35
36 struct _ADAPTER_OBJECT {
37 int Channel;
38 PVOID PagePort;
39 PVOID CountPort;
40 PVOID OffsetPort;
41 KSPIN_LOCK SpinLock;
42 PVOID Buffer;
43 BOOLEAN Inuse;
44 };
45
46 /* sysinfo.c */
47 NTSTATUS STDCALL
48 HalpQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass,
49 IN ULONG BufferSize,
50 IN OUT PVOID Buffer,
51 OUT PULONG ReturnedLength);
52
53
54 /* Non-standard functions */
55 VOID STDCALL
56 HalReleaseDisplayOwnership();
57
58 BOOLEAN STDCALL
59 HalQueryDisplayOwnership();
60
61
62 #endif /* __INTERNAL_HAL_HAL_H */