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

Function PeiPcdGet8Ex

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

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

Source from the content-addressed store, hash-verified

761
762**/
763UINT8
764EFIAPI
765PeiPcdGet8Ex (
766 IN CONST EFI_GUID *Guid,
767 IN UINTN ExTokenNumber
768 )
769{
770 return *((UINT8 *) ExGetWorker (Guid, ExTokenNumber, sizeof (UINT8)));
771}
772
773/**
774 Retrieves an 16-bit value for a given PCD token.

Callers

nothing calls this directly

Calls 1

ExGetWorkerFunction · 0.70

Tested by

no test coverage detected