Retrieves a Boolean value for a given PCD token. Retrieves the current boolean value for a PCD token number. Do not make any assumptions about the alignment of the pointer that is returned by this function call. If the TokenNumber is invalid, the results are unpredictable. @param[in] TokenNumber The PCD token number. @return The Boolean value. **/
| 689 | |
| 690 | **/ |
| 691 | BOOLEAN |
| 692 | EFIAPI |
| 693 | PeiPcdGetBool ( |
| 694 | IN UINTN TokenNumber |
| 695 | ) |
| 696 | { |
| 697 | return *((BOOLEAN *) GetWorker (TokenNumber, sizeof (BOOLEAN))); |
| 698 | } |
| 699 | |
| 700 | /** |
| 701 | Retrieves the size of the value for a given PCD token. |
nothing calls this directly
no test coverage detected