]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Include/Common/BootMode.h
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / OldMdePkg / Include / Common / BootMode.h
diff --git a/OldMdePkg/Include/Common/BootMode.h b/OldMdePkg/Include/Common/BootMode.h
new file mode 100644 (file)
index 0000000..2f2c516
--- /dev/null
@@ -0,0 +1,37 @@
+/** @file\r
+  This includes for the Boot mode information.\r
+\r
+  Copyright (c) 2006, Intel Corporation                                                         \r
+  All rights reserved. This program and the accompanying materials                          \r
+  are licensed and made available under the terms and conditions of the BSD License         \r
+  which accompanies this distribution.  The full text of the license may be found at        \r
+  http://opensource.org/licenses/bsd-license.php                                            \r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+  Module Name:  BootMode.h\r
+\r
+  @par Revision Reference:\r
+  These definitions are from PeiCis 0.91 spec.\r
+\r
+**/\r
+\r
+#ifndef __EFI_BOOT_MODE_H__\r
+#define __EFI_BOOT_MODE_H__\r
+\r
+#define BOOT_WITH_FULL_CONFIGURATION                  0x00\r
+#define BOOT_WITH_MINIMAL_CONFIGURATION               0x01\r
+#define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES        0x02\r
+#define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r
+#define BOOT_WITH_DEFAULT_SETTINGS                    0x04\r
+#define BOOT_ON_S4_RESUME                             0x05\r
+#define BOOT_ON_S5_RESUME                             0x06\r
+#define BOOT_ON_S2_RESUME                             0x10\r
+#define BOOT_ON_S3_RESUME                             0x11\r
+#define BOOT_ON_FLASH_UPDATE                          0x12\r
+#define BOOT_IN_RECOVERY_MODE                         0x20\r
+#define BOOT_IN_RECOVERY_MODE_MASK                    0x40\r
+#define BOOT_SPECIAL_MASK                             0x80\r
+\r
+#endif\r