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

Function PeiPcdSetPtr

MdeModulePkg/Universal/PCD/Pei/Pcd.c:1044–1053  ·  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] TokenNumber The PCD token number. @param[in, out] SizeOfBuffer A pointer to the length of the value being set for the PCD to

Source from the content-addressed store, hash-verified

1042
1043**/
1044EFI_STATUS
1045EFIAPI
1046PeiPcdSetPtr (
1047 IN UINTN TokenNumber,
1048 IN OUT UINTN *SizeOfBuffer,
1049 IN VOID *Buffer
1050 )
1051{
1052 return SetWorker (TokenNumber, Buffer, SizeOfBuffer, TRUE);
1053}
1054
1055/**
1056 Sets an Boolean value for a given PCD token.

Callers

nothing calls this directly

Calls 1

SetWorkerFunction · 0.70

Tested by

no test coverage detected