mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	ArmVirtPkg/KvmtoolCfgMgrDxe: Update DynamicPlatRepoLib usage
Update for the new token parameter in DynPlatRepoAddObject() and HW_INFO_ADD_OBJECT. Signed-off-by: Sarah Walker <Sarah.Walker2@arm.com>
This commit is contained in:
		 Sarah Walker
					Sarah Walker
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							954ee29013
						
					
				
				
					commit
					f09ea5f672
				
			| @ -443,6 +443,8 @@ GetDeviceIdMappingArray ( | ||||
|   @param  [in]  Context       A pointer to the caller's context provided in | ||||
|                               HwInfoParserInit (). | ||||
|   @param  [in]  CmObjDesc     CM_OBJ_DESCRIPTOR containing the CmObj(s) to add. | ||||
|   @param  [in]  NewToken      Token for this object. If CM_NULL_TOKEN, then | ||||
|                               a new token is generated. | ||||
|   @param  [out] Token         If provided and success, contain the token | ||||
|                               generated for the CmObj. | ||||
|  | ||||
| @ -456,6 +458,7 @@ HwInfoAdd ( | ||||
|   IN        HW_INFO_PARSER_HANDLE  ParserHandle, | ||||
|   IN        VOID                   *Context, | ||||
|   IN  CONST CM_OBJ_DESCRIPTOR      *CmObjDesc, | ||||
|   IN  CONST CM_OBJECT_TOKEN        NewToken, | ||||
|   OUT       CM_OBJECT_TOKEN        *Token OPTIONAL | ||||
|   ) | ||||
| { | ||||
| @ -484,6 +487,7 @@ HwInfoAdd ( | ||||
|   Status = DynPlatRepoAddObject ( | ||||
|              PlatformRepo->DynamicPlatformRepo, | ||||
|              CmObjDesc, | ||||
|              NewToken, | ||||
|              Token | ||||
|              ); | ||||
|   if (EFI_ERROR (Status)) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user