1) Move definition of FFS-related in Include/Framework/FirmwareFileSystem.h to IntelFrameworkPkg/Include/Guid/FirmwareFileSystem.h

2) Remove Include/Framework/FirmwareFileSystem.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3608 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2007-08-10 07:35:19 +00:00
parent 3fb0bd7bc2
commit c0691ef009
3 changed files with 6 additions and 32 deletions

View File

@ -1,31 +0,0 @@
/** @file
This file defines the data structures that comprise the FFS file system.
Copyright (c) 2007, 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: FrameworkFirmwareFileSystem.h
@par Revision Reference:
These definitions are from Firmware File System Spec 0.9 but not in PI specs.
**/
#ifndef _FRAMEWORK_FIRMWARE_FILE_SYSTEM_H_
#define _FRAMEWORK_FIRMWARE_FILE_SYSTEM_H_
#include <PiPei.h>
typedef UINT16 EFI_FFS_FILE_TAIL;
#define FFS_ATTRIB_TAIL_PRESENT 0x01
#define FFS_ATTRIB_RECOVERY 0x02
#define FFS_ATTRIB_HEADER_EXTENSION 0x04
#endif

View File

@ -23,7 +23,6 @@
#include <PiPei.h>
#include <Framework/DataHubRecords.h>
#include <Framework/FirmwareFileSystem.h>
#include <Framework/FirmwareVolumeImageFormat.h>
#include <Framework/FirmwareVolumeHeader.h>
#include <Framework/Hob.h>

View File

@ -29,6 +29,12 @@
#define EFI_FIRMWARE_FILE_SYSTEM_GUID \
{ 0x7A9354D9, 0x0468, 0x444a, {0x81, 0xCE, 0x0B, 0xF6, 0x17, 0xD8, 0x90, 0xDF }}
typedef UINT16 EFI_FFS_FILE_TAIL;
#define FFS_ATTRIB_TAIL_PRESENT 0x01
#define FFS_ATTRIB_RECOVERY 0x02
#define FFS_ATTRIB_HEADER_EXTENSION 0x04
extern EFI_GUID gEfiFirmwareFileSystemGuid;
#endif