MdeModulePkg/PciBus: Refine ActiveVGADeviceOnTheRootBridge
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1109 The patch doesn't change any behavior of this function. It just renames the function to LocateVgaDevice() and renames some parameters and local variables. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Supporting functions declaration for PCI devices management.
|
||||
|
||||
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, 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
|
||||
@ -243,16 +243,16 @@ ActiveVGADeviceOnTheSameSegment (
|
||||
);
|
||||
|
||||
/**
|
||||
Get the active VGA device on the root bridge.
|
||||
Locate the active VGA device under the bridge.
|
||||
|
||||
@param RootBridge PCI IO instance for the root bridge.
|
||||
@param Bridge PCI IO instance for the bridge.
|
||||
|
||||
@return The active VGA device.
|
||||
|
||||
**/
|
||||
PCI_IO_DEVICE *
|
||||
ActiveVGADeviceOnTheRootBridge (
|
||||
IN PCI_IO_DEVICE *RootBridge
|
||||
LocateVgaDevice (
|
||||
IN PCI_IO_DEVICE *Bridge
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user