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

Function PeiPcdGetBoolEx

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

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

Source from the content-addressed store, hash-verified

881
882**/
883BOOLEAN
884EFIAPI
885PeiPcdGetBoolEx (
886 IN CONST EFI_GUID *Guid,
887 IN UINTN ExTokenNumber
888 )
889{
890 return *((BOOLEAN *) ExGetWorker (Guid, ExTokenNumber, sizeof (BOOLEAN)));
891}
892
893/**
894 Retrieves the size of the value for a given PCD token.

Callers

nothing calls this directly

Calls 1

ExGetWorkerFunction · 0.70

Tested by

no test coverage detected