mirror of https://github.com/acidanthera/audk.git
Fix a PeiServices pointer checking error bug in EfiCommonLib in ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9564 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
768e2a903b
commit
5d36285da8
|
@ -1,6 +1,6 @@
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2004, Intel Corporation
|
Copyright (c) 2004 - 2009, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -337,7 +337,7 @@ Returns:
|
||||||
UINT8 *Buffer8;
|
UINT8 *Buffer8;
|
||||||
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *RootBridgeIo;
|
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *RootBridgeIo;
|
||||||
|
|
||||||
if (mPeiServices == NULL) {
|
if (mPeiServices != NULL) {
|
||||||
//
|
//
|
||||||
// The function is called in PEI phase, use PEI interfaces
|
// The function is called in PEI phase, use PEI interfaces
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue