diff options
Diffstat (limited to 'EDK/Foundation/Framework/Ppi/BootMode')
-rw-r--r-- | EDK/Foundation/Framework/Ppi/BootMode/BootMode.c | 29 | ||||
-rw-r--r-- | EDK/Foundation/Framework/Ppi/BootMode/BootMode.h | 34 |
2 files changed, 63 insertions, 0 deletions
diff --git a/EDK/Foundation/Framework/Ppi/BootMode/BootMode.c b/EDK/Foundation/Framework/Ppi/BootMode/BootMode.c new file mode 100644 index 0000000..f88b757 --- /dev/null +++ b/EDK/Foundation/Framework/Ppi/BootMode/BootMode.c @@ -0,0 +1,29 @@ +/*++ + +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: + + BootMode.c + +Abstract: + + Boot Mode PPI GUID as defined in PEI EAS + +--*/ + +#include "Tiano.h" +#include "PeiBind.h" +#include "PeiApi.h" +#include EFI_PPI_DEFINITION (BootMode) + +EFI_GUID gPeiMasterBootModePpiGuid = PEI_MASTER_BOOT_MODE_PEIM_PPI; + +EFI_GUID_STRING(&gPeiMasterBootModePpiGuid, "BootMode", "Master Boot Mode PPI"); diff --git a/EDK/Foundation/Framework/Ppi/BootMode/BootMode.h b/EDK/Foundation/Framework/Ppi/BootMode/BootMode.h new file mode 100644 index 0000000..552ed23 --- /dev/null +++ b/EDK/Foundation/Framework/Ppi/BootMode/BootMode.h @@ -0,0 +1,34 @@ +/*++ + +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: + + BootMode.h + +Abstract: + + Boot Mode PPI as defined in Tiano + +--*/ + +#ifndef _PEI_MASTER_BOOT_MODE_PPI_H +#define _PEI_MASTER_BOOT_MODE_PPI_H + +#define PEI_MASTER_BOOT_MODE_PEIM_PPI \ + { \ + 0x7408d748, 0xfc8c, 0x4ee6, 0x92, 0x88, 0xc4, 0xbe, 0xc0, 0x92, 0xa4, 0x10 \ + } + +EFI_FORWARD_DECLARATION (PEI_MASTER_BOOT_MODE_PPI); + +extern EFI_GUID gPeiMasterBootModePpiGuid; + +#endif |