From 42fe8ca453f1ab19d03d8dc945398997b00b0777 Mon Sep 17 00:00:00 2001 From: "Luo, Heng" Date: Mon, 4 Jan 2021 14:59:53 +0800 Subject: MdePkg: Define structures for Resizable BAR Capability REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3138 Define structures for Resizable BAR Capability in MdePkg/Include/IndustryStandard/PciExpress21.h, Change ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c to use new structures. Cc: Ray Ni Cc: Hao A Wu Signed-off-by: Heng Luo Reviewed-by: Ray Ni Reviewed-by: Liming Gao --- ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ShellPkg') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c index 3e138188ce..a2f04d8db5 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c @@ -1,7 +1,7 @@ /** @file Main file for Pci shell Debug1 function. - Copyright (c) 2005 - 2019, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2021, Intel Corporation. All rights reserved.
(C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -5534,8 +5534,8 @@ PrintInterpretedExtendedCompatibilityResizeableBar ( STRING_TOKEN (STR_PCI_EXT_CAP_RESIZE_BAR), gShellDebug1HiiHandle, ItemCount+1, - Header->Capability[ItemCount].ResizableBarCapability, - Header->Capability[ItemCount].ResizableBarControl + Header->Capability[ItemCount].ResizableBarCapability.Uint32, + Header->Capability[ItemCount].ResizableBarControl.Uint32 ); } -- cgit v1.2.3