mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 15:14:02 +02:00
1. Merger Tracker 8448: PciHostBridgeEnumerator() error checking could lead to memory leak
2. Merger Tracker 8450: AllRootHPCInitialized() passed in timeout value incorrect git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2627 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
25df080117
commit
07a171a42a
@ -1,13 +1,13 @@
|
|||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, 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
|
||||||
http://opensource.org/licenses/bsd-license.php
|
http://opensource.org/licenses/bsd-license.php
|
||||||
|
|
||||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
Module Name:
|
Module Name:
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ CapsuleServiceInitialize (
|
|||||||
Routine Description:
|
Routine Description:
|
||||||
|
|
||||||
This code is capsule runtime service initialization.
|
This code is capsule runtime service initialization.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
ImageHandle The image handle
|
ImageHandle The image handle
|
||||||
@ -48,6 +48,7 @@ Returns:
|
|||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_HANDLE NewHandle;
|
EFI_HANDLE NewHandle;
|
||||||
|
|
||||||
|
EFI_DEADLOOP ();
|
||||||
SystemTable->RuntimeServices->UpdateCapsule = UpdateCapsule;
|
SystemTable->RuntimeServices->UpdateCapsule = UpdateCapsule;
|
||||||
SystemTable->RuntimeServices->QueryCapsuleCapabilities = QueryCapsuleCapabilities;
|
SystemTable->RuntimeServices->QueryCapsuleCapabilities = QueryCapsuleCapabilities;
|
||||||
|
|
||||||
|
@ -22,6 +22,10 @@
|
|||||||
<OutputFileBasename>CapsuleRuntime</OutputFileBasename>
|
<OutputFileBasename>CapsuleRuntime</OutputFileBasename>
|
||||||
</ModuleDefinitions>
|
</ModuleDefinitions>
|
||||||
<LibraryClassDefinitions>
|
<LibraryClassDefinitions>
|
||||||
|
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||||
|
<Keyword>BaseLib</Keyword>
|
||||||
|
</LibraryClass>
|
||||||
|
|
||||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||||
<Keyword>UefiDriverEntryPoint</Keyword>
|
<Keyword>UefiDriverEntryPoint</Keyword>
|
||||||
</LibraryClass>
|
</LibraryClass>
|
||||||
|
@ -156,6 +156,7 @@ Returns:
|
|||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
|
EFI_DEADLOOP ();
|
||||||
Status = VariableCommonInitialize (ImageHandle, SystemTable);
|
Status = VariableCommonInitialize (ImageHandle, SystemTable);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user