]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #ifndef _EFI_PCI_OP_ROM_SUPPORT_H
15 #define _EFI_PCI_OP_ROM_SUPPORT_H
18 Get Pci device's oprom infor bits.
20 @retval EFI_NOT_FOUND Pci device has not oprom
21 @retval EFI_SUCCESS Pci device has oprom
25 IN PCI_IO_DEVICE
*PciIoDevice
29 Load option rom image for specified PCI device
31 @param PciDevice Pci device instance
32 @param RomBase Base address of oprom.
34 @retval EFI_OUT_OF_RESOURCES not enough memory to hold image
35 @retval EFI_SUCESS Success
39 IN PCI_IO_DEVICE
*PciDevice
,
44 enable/disable oprom decode
46 @param PciDevice pci device instance
47 @param RomBarIndex The BAR index of the standard PCI Configuration header to use as the
48 base address for resource range. The legal range for this field is 0..5.
49 @param RomBar Base address of rom
50 @param Enable Flag for enable/disable decode.
52 @retval EFI_SUCCESS Success
56 IN PCI_IO_DEVICE
*PciDevice
,
63 Process the oprom image.
65 @param PciDevice Pci device instance
69 PCI_IO_DEVICE
*PciDevice