Skip to content

Commit f09ea5f

Browse files
sarah-walker-armmergify[bot]
authored andcommitted
ArmVirtPkg/KvmtoolCfgMgrDxe: Update DynamicPlatRepoLib usage
Update for the new token parameter in DynPlatRepoAddObject() and HW_INFO_ADD_OBJECT. Signed-off-by: Sarah Walker <[email protected]>
1 parent 954ee29 commit f09ea5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ GetDeviceIdMappingArray (
443443
@param [in] Context A pointer to the caller's context provided in
444444
HwInfoParserInit ().
445445
@param [in] CmObjDesc CM_OBJ_DESCRIPTOR containing the CmObj(s) to add.
446+
@param [in] NewToken Token for this object. If CM_NULL_TOKEN, then
447+
a new token is generated.
446448
@param [out] Token If provided and success, contain the token
447449
generated for the CmObj.
448450
@@ -456,6 +458,7 @@ HwInfoAdd (
456458
IN HW_INFO_PARSER_HANDLE ParserHandle,
457459
IN VOID *Context,
458460
IN CONST CM_OBJ_DESCRIPTOR *CmObjDesc,
461+
IN CONST CM_OBJECT_TOKEN NewToken,
459462
OUT CM_OBJECT_TOKEN *Token OPTIONAL
460463
)
461464
{
@@ -484,6 +487,7 @@ HwInfoAdd (
484487
Status = DynPlatRepoAddObject (
485488
PlatformRepo->DynamicPlatformRepo,
486489
CmObjDesc,
490+
NewToken,
487491
Token
488492
);
489493
if (EFI_ERROR (Status)) {

0 commit comments

Comments
 (0)