From 3eb9473ea9a949badfe06ae61d2d3fcfa53651c7 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Thu, 28 Jun 2007 07:00:39 +0000 Subject: Add in the 1st version of ECP. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2832 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Guid/EventLegacyBios/EventLegacyBios.c | 23 ++++++++++++++++++ .../Guid/EventLegacyBios/EventLegacyBios.h | 28 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.c create mode 100644 EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.h (limited to 'EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios') diff --git a/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.c b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.c new file mode 100644 index 0000000000..75da46b540 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.c @@ -0,0 +1,23 @@ +/*++ + +Copyright (c) 2006, 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: + + EfiLegacyBios.c + +--*/ +#include "Tiano.h" + +#include EFI_GUID_DEFINITION (EventLegacyBios) + +EFI_GUID gEfiEventLegacyBootGuid = EFI_EVENT_LEGACY_BOOT_GUID; + +EFI_GUID_STRING (&gEfiEventLegacyBootGuid, "EventLegacyBoot", "Event Legacy Boot GUID") diff --git a/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.h b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.h new file mode 100644 index 0000000000..648e2549f8 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.h @@ -0,0 +1,28 @@ +/** @file + GUID is the name of events used with CreateEventEx in order to be notified when the EFI boot manager is about to boot a legacy boot option. Events of this type are notificated just before Int19h is invoked. + + Copyright (c) 2006, 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: EventLegacyBios.h + + @par Revision Reference: + GUIDs defined in DXE CIS 0.91b. + +**/ + +#ifndef __EVENT_LEGACY_BIOS_GUID_H__ +#define __EVENT_LEGACY_BIOS_GUID_H__ + +#define EFI_EVENT_LEGACY_BOOT_GUID \ + { 0x2a571201, 0x4966, 0x47f6, 0x8b, 0x86, 0xf3, 0x1e, 0x41, 0xf3, 0x2f, 0x10 } + +extern EFI_GUID gEfiEventLegacyBootGuid; + +#endif -- cgit v1.2.3