Clean up meta data and code scrub for PCI Bus module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8624 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/** @file
|
||||
Implement all interfaces for EFI_PCI_IO_PROTOCOL.
|
||||
Implements all interfaces for EFI_PCI_IO_PROTOCOL.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
@ -15,14 +15,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
#include "PciBus.h"
|
||||
|
||||
//
|
||||
// Internal use only
|
||||
//
|
||||
|
||||
//
|
||||
// Pci Io Protocol Interface
|
||||
//
|
||||
EFI_PCI_IO_PROTOCOL PciIoInterface = {
|
||||
EFI_PCI_IO_PROTOCOL mPciIoInterface = {
|
||||
PciIoPollMem,
|
||||
PciIoPollIo,
|
||||
{
|
||||
@ -56,6 +52,7 @@ EFI_PCI_IO_PROTOCOL PciIoInterface = {
|
||||
|
||||
@param PciIoDevice Pci device instance.
|
||||
@param Code status code.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
ReportErrorStatusCode (
|
||||
@ -98,7 +95,7 @@ InitializePciIoInstance (
|
||||
PCI_IO_DEVICE *PciIoDevice
|
||||
)
|
||||
{
|
||||
CopyMem (&PciIoDevice->PciIo, &PciIoInterface, sizeof (EFI_PCI_IO_PROTOCOL));
|
||||
CopyMem (&PciIoDevice->PciIo, &mPciIoInterface, sizeof (EFI_PCI_IO_PROTOCOL));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user