TianoCore EDK2 master
|
Go to the source code of this file.
Typedefs | |
typedef EFI_STATUS(EFIAPI * | CM_OBJECT_TOKEN_FIXER) (IN CM_OBJ_DESCRIPTOR *CmObject, IN CM_OBJECT_TOKEN Token) |
Functions | |
EFI_STATUS EFIAPI | FixupCmObjectSelfToken (IN CM_OBJ_DESCRIPTOR *CmObjDesc, IN CM_OBJECT_TOKEN Token) |
Configuration Manager object token fixer
Copyright (c) 2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CmObjectTokenFixer.h.
typedef EFI_STATUS(EFIAPI * CM_OBJECT_TOKEN_FIXER) (IN CM_OBJ_DESCRIPTOR *CmObject, IN CM_OBJECT_TOKEN Token) |
CmObjectToken fixer function that updates the Tokens in the CmObjects.
[in] | CmObject | Pointer to the Configuration Manager Object. |
[in] | Token | Token to be updated in the CmObject. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_UNSUPPORTED | Not supported. |
Definition at line 26 of file CmObjectTokenFixer.h.
EFI_STATUS EFIAPI FixupCmObjectSelfToken | ( | IN CM_OBJ_DESCRIPTOR * | CmObjDesc, |
IN CM_OBJECT_TOKEN | Token | ||
) |
CmObj token fixer.
Some CmObj structures have a self-token, i.e. they are storing their own token value in the CmObj. Dynamically created CmObj need to have their self-token assigned at some point.
[in] | CmObjDesc | Pointer to the Configuration Manager Object. |
[in] | Token | Token to update the CmObjDesc with. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_UNSUPPORTED | Not supported. |
Definition at line 187 of file CmObjectTokenFixer.c.