UefiPayloadPkg: Scan for Option ROMs
Install the gPciPlatformProtocol to scan for Option ROMs. For every device we probe the Option ROM and provide a pointer to the activated BAR if found. It's safe to assume that all ROM bars have been enumerated, reserved in the bridge resources and are disabled by default. Enabling them and leaving them enabled will do no harm. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
committed by
Jeremy Soller
parent
28d4682274
commit
46521fafea
19
UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.h
Normal file
19
UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/** @file
|
||||
Header file for a PCI platform driver.
|
||||
|
||||
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
|
||||
**/
|
||||
#ifndef _PCI_PLATFORM_DXE_H_
|
||||
#define _PCI_PLATFORM_DXE_H_
|
||||
#include <PiDxe.h>
|
||||
|
||||
#include <IndustryStandard/Pci.h>
|
||||
#include <IndustryStandard/Acpi.h>
|
||||
#include <IndustryStandard/Pci22.h>
|
||||
#include <Protocol/PciIo.h>
|
||||
#include <Protocol/PciPlatform.h>
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user