MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / DxePcdGetSizeEx

Function DxePcdGetSizeEx

MdeModulePkg/Universal/PCD/Dxe/Pcd.c:671–679  ·  view source on GitHub ↗

Retrieves the size of the value for a given PCD token. Retrieves the current size of a particular PCD token. If the TokenNumber is invalid, the results are unpredictable. @param[in] Guid The token space for the token number. @param[in] ExTokenNumber The PCD token number. @return The size of the value for the PCD token. **/

Source from the content-addressed store, hash-verified

669
670**/
671UINTN
672EFIAPI
673DxePcdGetSizeEx (
674 IN CONST EFI_GUID *Guid,
675 IN UINTN ExTokenNumber
676 )
677{
678 return DxePcdGetSize(GetExPcdTokenNumber (Guid, (UINT32) ExTokenNumber));
679}
680
681/**
682 Sets an 8-bit value for a given PCD token.

Callers

nothing calls this directly

Calls 2

DxePcdGetSizeFunction · 0.85
GetExPcdTokenNumberFunction · 0.70

Tested by

no test coverage detected