-/*++\r
-\r
-Routine Description:\r
-\r
- This service enables PEIMs to ascertain the present value of the boot mode. \r
-\r
-Arguments:\r
-\r
- PeiServices - The PEI core services table.\r
- BootMode - A pointer to contain the value of the boot mode. \r
-\r
-Returns:\r
-\r
- EFI_SUCCESS - The boot mode was returned successfully.\r
- EFI_INVALID_PARAMETER - BootMode is NULL.\r
-\r
---*/\r