mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-21 04:34:27 +02:00
MdePkg/PeiServicesLib: Decorate 'PpiDescriptor' as OPTIONAL for LocatePpi().
The UEFI PI specification defines PpiDescriptor to be OPTIONAL for the LocatePpi PEI Service. This patch reflects this in the function declaration and definition of the corresponding PeiServices library function. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
4b8067392d
commit
ced8f52fc6
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Provides library functions for all PEI Services.
|
Provides library functions for all PEI Services.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
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
|
||||||
@ -73,7 +73,7 @@ EFIAPI
|
|||||||
PeiServicesLocatePpi (
|
PeiServicesLocatePpi (
|
||||||
IN CONST EFI_GUID *Guid,
|
IN CONST EFI_GUID *Guid,
|
||||||
IN UINTN Instance,
|
IN UINTN Instance,
|
||||||
IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor,
|
IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, OPTIONAL
|
||||||
IN OUT VOID **Ppi
|
IN OUT VOID **Ppi
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Implementation for PEI Services Library.
|
Implementation for PEI Services Library.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
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
|
||||||
@ -95,7 +95,7 @@ EFIAPI
|
|||||||
PeiServicesLocatePpi (
|
PeiServicesLocatePpi (
|
||||||
IN CONST EFI_GUID *Guid,
|
IN CONST EFI_GUID *Guid,
|
||||||
IN UINTN Instance,
|
IN UINTN Instance,
|
||||||
IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor,
|
IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, OPTIONAL
|
||||||
IN OUT VOID **Ppi
|
IN OUT VOID **Ppi
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user