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

Function PeiPcdGet64Ex

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

Retrieves an 64-bit value for a given PCD token. Retrieves the 64-bit value of a particular PCD token. If the TokenNumber is invalid or the token space specified by Guid does not exist, the results are unpredictable. @param[in] Guid The token space for the token number. @param[in] ExTokenNumber The PCD token number. @return The size 64-bit value for the PCD token. *

Source from the content-addressed store, hash-verified

833
834**/
835UINT64
836EFIAPI
837PeiPcdGet64Ex (
838 IN CONST EFI_GUID *Guid,
839 IN UINTN ExTokenNumber
840 )
841{
842 return ReadUnaligned64 (ExGetWorker (Guid, ExTokenNumber, sizeof (UINT64)));
843}
844
845/**
846 Retrieves a pointer to a value for a given PCD token.

Callers 1

GetWorkerFunction · 0.85

Calls 2

ExGetWorkerFunction · 0.70
ReadUnaligned64Function · 0.50

Tested by

no test coverage detected