diff options
Diffstat (limited to 'EDK/Foundation/Guid/BootState')
-rw-r--r-- | EDK/Foundation/Guid/BootState/BootState.c | 30 | ||||
-rw-r--r-- | EDK/Foundation/Guid/BootState/BootState.h | 38 |
2 files changed, 68 insertions, 0 deletions
diff --git a/EDK/Foundation/Guid/BootState/BootState.c b/EDK/Foundation/Guid/BootState/BootState.c new file mode 100644 index 0000000..b12ed44 --- /dev/null +++ b/EDK/Foundation/Guid/BootState/BootState.c @@ -0,0 +1,30 @@ +/*++ + +Copyright (c) 2004, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + BootState.c + +Abstract: + + GUID for use conveying the boot-state to PEI + +--*/ + +#include "Tiano.h" +#include EFI_GUID_DEFINITION (BootState) + +EFI_GUID gEfiBootStateGuid = EFI_BOOT_STATE_VARIABLE_GUID; + +// +// GUID for frequency selection HOB +// +EFI_GUID_STRING(&gEfiBootStateGuid, "Boot State", "Boot State"); diff --git a/EDK/Foundation/Guid/BootState/BootState.h b/EDK/Foundation/Guid/BootState/BootState.h new file mode 100644 index 0000000..42eed61 --- /dev/null +++ b/EDK/Foundation/Guid/BootState/BootState.h @@ -0,0 +1,38 @@ +/*++ + +Copyright (c) 2004 - 2005, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + BootState.h + +Abstract: + + Constants and declarations that are common accross PEI and DXE. +--*/ + +#ifndef _BOOT_STATE_H_ +#define _BOOT_STATE_H_ + +#include "Tiano.h" + +// +// BOOT STATE +// + +typedef UINT32 EFI_BOOT_STATE; + +#define BOOT_STATE_VARIABLE_NAME L"BootState" + +#define EFI_BOOT_STATE_VARIABLE_GUID \ + {0x60b5e939, 0xfcf, 0x4227, 0xba, 0x83, 0x6b, 0xbe, 0xd4, 0x5b, 0xc0, 0xe3} + +extern EFI_GUID gEfiBootStateGuid; +#endif |