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

Function DxePcdSetPtr

MdeModulePkg/Universal/PCD/Dxe/Pcd.c:810–819  ·  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

808
809**/
810EFI_STATUS
811EFIAPI
812DxePcdSetPtr (
813 IN UINTN TokenNumber,
814 IN OUT UINTN *SizeOfBuffer,
815 IN VOID *Buffer
816 )
817{
818 return SetWorker (TokenNumber, Buffer, SizeOfBuffer, TRUE);
819}
820
821/**
822 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