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 --- .../FirmwareVolumeDispatch.c | 32 ++++++++++++++++++++ .../FirmwareVolumeDispatch.h | 35 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.c create mode 100644 EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.h (limited to 'EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch') diff --git a/EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.c b/EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.c new file mode 100644 index 0000000000..0d1e30453a --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.c @@ -0,0 +1,32 @@ +/*++ + +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: + + FirmwareVolumeDispatch.c + +Abstract: + + Firmware Volume Dispatch protocol as defined in the Tiano Firmware Volume + specification. + + Presence of this protocol tells the dispatch to dispatch from this Firmware + Volume + +--*/ + +#include "Tiano.h" +#include EFI_PROTOCOL_DEFINITION (FirmwareVolumeDispatch) + +EFI_GUID gEfiFirmwareVolumeDispatchProtocolGuid = EFI_FIRMWARE_VOLUME_DISPATCH_PROTOCOL_GUID; + +EFI_GUID_STRING (&gEfiFirmwareVolumeDispatchProtocolGuid, "FirmwareVolumeDispatch Protocol", + "Firmware Volume Dispatch protocol"); diff --git a/EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.h b/EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.h new file mode 100644 index 0000000000..e23a94116a --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Protocol/FirmwareVolumeDispatch/FirmwareVolumeDispatch.h @@ -0,0 +1,35 @@ +/*++ + +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: + + FirmwareVolumeDispatch.h + +Abstract: + + Firmware Volume Dispatch protocol as defined in the Tiano Firmware Volume + specification. + + Presence of this protocol tells the dispatch to dispatch from this Firmware + Volume + +--*/ + +#ifndef __FIRMWARE_VOLUME_DISPATCH_H__ +#define __FIRMWARE_VOLUME_DISPATCH_H__ + +#define EFI_FIRMWARE_VOLUME_DISPATCH_PROTOCOL_GUID \ + { 0x7aa35a69, 0x506c, 0x444f, 0xa7, 0xaf, 0x69, 0x4b, 0xf5, 0x6f, 0x71, 0xc8 } + + +extern EFI_GUID gEfiFirmwareVolumeDispatchProtocolGuid; + +#endif -- cgit v1.2.3