TianoCore EDK2 master
|
#include <Protocol/ConfigurationManagerProtocol.h>
Go to the source code of this file.
Typedefs | |
typedef VOID * | DYNAMIC_PLATFORM_REPOSITORY_INFO |
Functions | |
EFI_STATUS EFIAPI | DynPlatRepoAddObject (IN DYNAMIC_PLATFORM_REPOSITORY_INFO *This, IN CONST CM_OBJ_DESCRIPTOR *CmObjDesc, OUT CM_OBJECT_TOKEN *Token OPTIONAL) |
EFI_STATUS EFIAPI | DynamicPlatRepoFinalise (IN DYNAMIC_PLATFORM_REPOSITORY_INFO *This) |
EFI_STATUS EFIAPI | DynamicPlatRepoGetObject (IN DYNAMIC_PLATFORM_REPOSITORY_INFO *This, IN CM_OBJECT_ID CmObjectId, IN CM_OBJECT_TOKEN Token OPTIONAL, IN OUT CM_OBJ_DESCRIPTOR *CmObjDesc) |
EFI_STATUS EFIAPI | DynamicPlatRepoInit (OUT DYNAMIC_PLATFORM_REPOSITORY_INFO **DynPlatRepo) |
EFI_STATUS EFIAPI | DynamicPlatRepoShutdown (IN DYNAMIC_PLATFORM_REPOSITORY_INFO *DynPlatRepo) |
Dynamic Platform Info Repository
Copyright (c) 2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DynamicPlatRepoLib.h.
typedef VOID* DYNAMIC_PLATFORM_REPOSITORY_INFO |
A structure describing the platform configuration manager repository information
Definition at line 21 of file DynamicPlatRepoLib.h.
EFI_STATUS EFIAPI DynamicPlatRepoFinalise | ( | IN DYNAMIC_PLATFORM_REPOSITORY_INFO * | This | ) |
Finalise the dynamic repository.
Finalising means:
[in] | This | This dynamic platform repository. |
EFI_SUCCESS | Success. |
EFI_ALREADY_STARTED | Instance already initialised. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_BUFFER_TOO_SMALL | Buffer too small. |
EFI_OUT_OF_RESOURCES | An allocation has failed. |
Definition at line 363 of file DynamicPlatRepo.c.
EFI_STATUS EFIAPI DynamicPlatRepoGetObject | ( | IN DYNAMIC_PLATFORM_REPOSITORY_INFO * | This, |
IN CM_OBJECT_ID | CmObjectId, | ||
IN CM_OBJECT_TOKEN Token | OPTIONAL, | ||
IN OUT CM_OBJ_DESCRIPTOR * | CmObjDesc | ||
) |
Get a CmObj from the dynamic repository.
[in] | This | Pointer to the Dynamic Platform Repository. |
[in] | CmObjectId | The Configuration Manager Object ID. |
[in] | Token | An optional token identifying the object. If unused this must be CM_NULL_TOKEN. |
[in,out] | CmObjDesc | Pointer to the Configuration Manager Object descriptor describing the requested Object. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_NOT_FOUND | The required object information is not found. |
Definition at line 431 of file DynamicPlatRepo.c.
EFI_STATUS EFIAPI DynamicPlatRepoInit | ( | OUT DYNAMIC_PLATFORM_REPOSITORY_INFO ** | DynPlatRepo | ) |
Initialize the dynamic platform repository.
[out] | DynPlatRepo | If success, contains the initialised dynamic platform repository. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_OUT_OF_RESOURCES | An allocation has failed. |
Definition at line 514 of file DynamicPlatRepo.c.
EFI_STATUS EFIAPI DynamicPlatRepoShutdown | ( | IN DYNAMIC_PLATFORM_REPOSITORY_INFO * | DynPlatRepo | ) |
Shutdown the dynamic platform repository.
Free all the memory allocated for the dynamic platform repository.
[in] | DynPlatRepo | The dynamic platform repository. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_SUCCESS | Success. |
Definition at line 642 of file DynamicPlatRepo.c.
EFI_STATUS EFIAPI DynPlatRepoAddObject | ( | IN DYNAMIC_PLATFORM_REPOSITORY_INFO * | This, |
IN CONST CM_OBJ_DESCRIPTOR * | CmObjDesc, | ||
OUT CM_OBJECT_TOKEN *Token | OPTIONAL | ||
) |
Add an object to the dynamic platform repository.
[in] | This | This dynamic platform repository. |
[in] | CmObjDesc | CmObj to add. The data is copied. |
[out] | Token | If not NULL, token allocated to this CmObj. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_OUT_OF_RESOURCES | An allocation has failed. |
Definition at line 124 of file DynamicPlatRepo.c.