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

Function PeiPcdGet32Ex

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

Retrieves an 32-bit value for a given PCD token. Retrieves the 32-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 32-bit value for the PCD token. *

Source from the content-addressed store, hash-verified

809
810**/
811UINT32
812EFIAPI
813PeiPcdGet32Ex (
814 IN CONST EFI_GUID *Guid,
815 IN UINTN ExTokenNumber
816 )
817{
818 return ReadUnaligned32 (ExGetWorker (Guid, ExTokenNumber, sizeof (UINT32)));
819}
820
821/**
822 Retrieves an 64-bit value for a given PCD token.

Callers

nothing calls this directly

Calls 2

ExGetWorkerFunction · 0.70
ReadUnaligned32Function · 0.50

Tested by

no test coverage detected