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

Function PeiPcdGetSizeEx

MdeModulePkg/Universal/PCD/Pei/Pcd.c:905–913  ·  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

903
904**/
905UINTN
906EFIAPI
907PeiPcdGetSizeEx (
908 IN CONST EFI_GUID *Guid,
909 IN UINTN ExTokenNumber
910 )
911{
912 return PeiPcdGetSize (GetExPcdTokenNumber (Guid, ExTokenNumber));
913}
914
915/**
916 Sets an 8-bit value for a given PCD token.

Callers 1

Calls 2

PeiPcdGetSizeFunction · 0.85
GetExPcdTokenNumberFunction · 0.70

Tested by

no test coverage detected