From abc0c38ac33d798673c9b1d3227c8ddcfea8622b Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Mon, 9 Nov 2009 05:12:25 +0000 Subject: Add Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name to IntelFrameworkPkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9395 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkPkg/Include/Protocol/FrameworkFirmwareVolumeBlock.h | 8 +++++--- IntelFrameworkPkg/IntelFrameworkPkg.dec | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'IntelFrameworkPkg') diff --git a/IntelFrameworkPkg/Include/Protocol/FrameworkFirmwareVolumeBlock.h b/IntelFrameworkPkg/Include/Protocol/FrameworkFirmwareVolumeBlock.h index 1404e0583c..939914429c 100644 --- a/IntelFrameworkPkg/Include/Protocol/FrameworkFirmwareVolumeBlock.h +++ b/IntelFrameworkPkg/Include/Protocol/FrameworkFirmwareVolumeBlock.h @@ -1,7 +1,7 @@ /** @file This file provides control over block-oriented firmware devices. - Copyright (c) 2006 - 2008, Intel Corporation + Copyright (c) 2006 - 2009, 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 @@ -18,10 +18,12 @@ #ifndef __FRAMEWORK_FIRMWARE_VOLUME_BLOCK_H__ #define __FRAMEWORK_FIRMWARE_VOLUME_BLOCK_H__ +#define FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID \ +{ 0xDE28BC59, 0x6228, 0x41BD, {0xBD, 0xF6, 0xA3, 0xB9, 0xAD,0xB5, 0x8D, 0xA1 } } typedef struct _FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL; /// -/// type of EFI FVB attribute per Frameowrk spec +/// type of EFI FVB attribute per Framework spec /// typedef UINT32 EFI_FVB_ATTRIBUTES; @@ -346,6 +348,6 @@ struct _FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL { EFI_HANDLE ParentHandle; }; - +extern EFI_GUID gFramerworkEfiFirmwareVolumeBlockProtocolGuid; #endif diff --git a/IntelFrameworkPkg/IntelFrameworkPkg.dec b/IntelFrameworkPkg/IntelFrameworkPkg.dec index f1a452d038..d5bf90a9a5 100644 --- a/IntelFrameworkPkg/IntelFrameworkPkg.dec +++ b/IntelFrameworkPkg/IntelFrameworkPkg.dec @@ -149,6 +149,9 @@ ## Include/Protocol/FrameworkFormBrowser.h gEfiFormBrowserCompatibilityProtocolGuid = { 0xfb7c852, 0xadca, 0x4853, { 0x8d, 0xf, 0xfb, 0xa7, 0x1b, 0x1c, 0xe1, 0x1a }} + + ## Include/Protocol/FrameworkFirmwareVolumeBlock.h + gFramerworkEfiFirmwareVolumeBlockProtocolGuid = { 0xDE28BC59, 0x6228, 0x41BD, { 0xBD, 0xF6, 0xA3, 0xB9, 0xAD, 0xB5, 0x8D, 0xA1 }} [Ppis] ## Include/Ppi/BootScriptExecuter.h -- cgit v1.2.3