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

Function DxePcdGetBoolEx

MdeModulePkg/Universal/PCD/Dxe/Pcd.c:649–657  ·  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 token.

Source from the content-addressed store, hash-verified

647
648**/
649BOOLEAN
650EFIAPI
651DxePcdGetBoolEx (
652 IN CONST EFI_GUID *Guid,
653 IN UINTN ExTokenNumber
654 )
655{
656 return *((BOOLEAN *) ExGetWorker (Guid, ExTokenNumber, sizeof(BOOLEAN)));
657}
658
659/**
660 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