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

Function DxePcdGet8Ex

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

Source from the content-addressed store, hash-verified

527
528**/
529UINT8
530EFIAPI
531DxePcdGet8Ex (
532 IN CONST EFI_GUID *Guid,
533 IN UINTN ExTokenNumber
534 )
535{
536 return *((UINT8 *) ExGetWorker (Guid, ExTokenNumber, sizeof(UINT8)));
537}
538
539/**
540 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