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

Function PeiPcdSetPtrEx

MdeModulePkg/Universal/PCD/Pei/Pcd.c:1220–1230  ·  view source on GitHub ↗

Sets a value of a specified size for a given PCD token. When the PCD service sets a value, it will check to ensure that the size of the value being set is compatible with the Token's existing definition. If it is not, an error will be returned. @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value. @param[in]

Source from the content-addressed store, hash-verified

1218
1219**/
1220EFI_STATUS
1221EFIAPI
1222PeiPcdSetPtrEx (
1223 IN CONST EFI_GUID *Guid,
1224 IN UINTN ExTokenNumber,
1225 IN OUT UINTN *SizeOfBuffer,
1226 IN VOID *Value
1227 )
1228{
1229 return ExSetWorker (ExTokenNumber, Guid, Value, SizeOfBuffer, TRUE);
1230}
1231
1232/**
1233 Sets an Boolean value for a given PCD token.

Callers

nothing calls this directly

Calls 1

ExSetWorkerFunction · 0.70

Tested by

no test coverage detected