2008-05-05 03:28:34 +02:00
|
|
|
/*++
|
|
|
|
|
2010-04-28 14:39:50 +02:00
|
|
|
Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.<BR>
|
|
|
|
This program and the accompanying materials
|
2008-05-05 03:28:34 +02:00
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
PciEnumeratorSupport.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
PCI Bus Driver
|
|
|
|
|
|
|
|
Revision History
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#ifndef _EFI_PCI_ENUMERATOR_SUPPORT_H
|
|
|
|
#define _EFI_PCI_ENUMERATOR_SUPPORT_H
|
|
|
|
|
|
|
|
#include "PciBus.h"
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
PciPciDeviceInfoCollector (
|
|
|
|
IN PCI_IO_DEVICE *Bridge,
|
|
|
|
UINT8 StartBusNumber
|
|
|
|
)
|
|
|
|
/*++
|
|
|
|
|
|
|
|
Routine Description:
|
|
|
|
|
|
|
|
TODO: Add function description
|
|
|
|
|
|
|
|
Arguments:
|
|
|
|
|
|
|
|
Bridge - TODO: add argument description
|
|
|
|
StartBusNumber - TODO: add argument description
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
TODO: add return values
|
|
|
|
|
|
|
|
--*/
|
|
|
|
;
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
PciDevicePresent(
|
|
|
|
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo,
|
|
|
|
PCI_TYPE00 *Pci,
|
|
|
|
UINT8 Bus,
|
|
|
|
UINT8 Device,
|
|
|
|
UINT8 Func
|
|
|
|
);
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
PciEnumeratorLight (
|
|
|
|
IN EFI_HANDLE Controller
|
|
|
|
)
|
|
|
|
/*++
|
|
|
|
|
|
|
|
Routine Description:
|
|
|
|
|
|
|
|
TODO: Add function description
|
|
|
|
|
|
|
|
Arguments:
|
|
|
|
|
|
|
|
Controller - TODO: add argument description
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
TODO: add return values
|
|
|
|
|
|
|
|
--*/
|
|
|
|
;
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
PciGetBusRange (
|
2008-10-30 04:59:47 +01:00
|
|
|
IN EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR **Descriptors,
|
2008-05-05 03:28:34 +02:00
|
|
|
OUT UINT16 *MinBus,
|
|
|
|
OUT UINT16 *MaxBus,
|
|
|
|
OUT UINT16 *BusRange
|
|
|
|
)
|
|
|
|
/*++
|
|
|
|
|
|
|
|
Routine Description:
|
|
|
|
|
|
|
|
TODO: Add function description
|
|
|
|
|
|
|
|
Arguments:
|
|
|
|
|
|
|
|
Descriptors - TODO: add argument description
|
|
|
|
MinBus - TODO: add argument description
|
|
|
|
MaxBus - TODO: add argument description
|
|
|
|
BusRange - TODO: add argument description
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
TODO: add return values
|
|
|
|
|
|
|
|
--*/
|
|
|
|
;
|
|
|
|
#endif
|