mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
109 lines
2.4 KiB
C
109 lines
2.4 KiB
C
|
/*++
|
||
|
|
||
|
Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.<BR>
|
||
|
This program and the accompanying materials
|
||
|
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 <IndustryStandard/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 (
|
||
|
IN EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR **Descriptors,
|
||
|
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
|