Return type KIRQL fixed to allow compilation.
[reactos.git] / reactos / ntoskrnl / hal / x86 / pci.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/hal/x86/pci.c
5 * PURPOSE: Interfaces to the PCI bus
6 * PROGRAMMER: David Welch (welch@mcmail.com)
7 * UPDATE HISTORY:
8 * 05/06/98: Created
9 */
10
11 /*
12 * NOTES: Sections copied from the Linux pci support
13 */
14
15 /* INCLUDES ***************************************************************/
16
17 #include <ddk/ntddk.h>
18
19 /* FUNCTIONS **************************************************************/
20
21 #define PCI_SERVICE (('$' << 0) + ('P' << 8) + ('C' << 16) + ('I'<<24))
22
23 BOOL HalPciProbe()
24 /*
25 * FUNCTION: Probes for an PCI bus
26 * RETURNS: True if detected
27 */
28 {
29 if (Hal_bios32_is_service_present(PCI_SERVICE))
30 {
31 DbgPrint("Detected PCI service\n");
32 return(TRUE);
33 }
34 return(FALSE);
35 }