Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

PiBootMode.h 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /** @file
  2. Present the boot mode values in PI.
  3. Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
  4. This program and the accompanying materials
  5. are licensed and made available under the terms and conditions of the BSD License
  6. which accompanies this distribution. The full text of the license may be found at
  7. http://opensource.org/licenses/bsd-license.php
  8. THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
  10. @par Revision Reference:
  11. PI Version 1.0
  12. **/
  13. #ifndef __PI_BOOT_MODE_H__
  14. #define __PI_BOOT_MODE_H__
  15. ///
  16. /// EFI boot mode
  17. ///
  18. typedef UINT32 EFI_BOOT_MODE;
  19. //
  20. // 0x21 - 0xf..f are reserved.
  21. //
  22. #define BOOT_WITH_FULL_CONFIGURATION 0x00
  23. #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
  24. #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
  25. #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
  26. #define BOOT_WITH_DEFAULT_SETTINGS 0x04
  27. #define BOOT_ON_S4_RESUME 0x05
  28. #define BOOT_ON_S5_RESUME 0x06
  29. #define BOOT_ON_S2_RESUME 0x10
  30. #define BOOT_ON_S3_RESUME 0x11
  31. #define BOOT_ON_FLASH_UPDATE 0x12
  32. #define BOOT_IN_RECOVERY_MODE 0x20
  33. #endif