iPXE
PiBootMode.h
Go to the documentation of this file.
00001 /** @file
00002   Present the boot mode values in PI.
00003 
00004   Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
00005   This program and the accompanying materials
00006   are licensed and made available under the terms and conditions of the BSD License
00007   which accompanies this distribution.  The full text of the license may be found at
00008   http://opensource.org/licenses/bsd-license.php
00009 
00010   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
00011   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
00012 
00013   @par Revision Reference:
00014   PI Version 1.2.1A
00015 
00016 **/
00017 
00018 #ifndef __PI_BOOT_MODE_H__
00019 #define __PI_BOOT_MODE_H__
00020 
00021 FILE_LICENCE ( BSD3 );
00022 
00023 ///
00024 /// EFI boot mode
00025 ///
00026 typedef UINT32  EFI_BOOT_MODE;
00027 
00028 //
00029 // 0x21 - 0xf..f are reserved.
00030 //
00031 #define BOOT_WITH_FULL_CONFIGURATION                  0x00
00032 #define BOOT_WITH_MINIMAL_CONFIGURATION               0x01
00033 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES        0x02
00034 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
00035 #define BOOT_WITH_DEFAULT_SETTINGS                    0x04
00036 #define BOOT_ON_S4_RESUME                             0x05
00037 #define BOOT_ON_S5_RESUME                             0x06
00038 #define BOOT_WITH_MFG_MODE_SETTINGS                   0x07
00039 #define BOOT_ON_S2_RESUME                             0x10
00040 #define BOOT_ON_S3_RESUME                             0x11
00041 #define BOOT_ON_FLASH_UPDATE                          0x12
00042 #define BOOT_IN_RECOVERY_MODE                         0x20
00043 
00044 #endif