X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Tools%2FSource%2FTianoTools%2FGenFdImage%2FGenFdImage.h;fp=Tools%2FSource%2FTianoTools%2FGenFdImage%2FGenFdImage.h;h=68cfa8c5ffd20d3e27e5780e8fbb6aeffda52548;hb=d25c4bf080b9820d15b7c329cf42775010dbcc56;hp=0000000000000000000000000000000000000000;hpb=291a871a27d0bbcebede5b62a5e23d03f20a54fc;p=mirror_edk2.git diff --git a/Tools/Source/TianoTools/GenFdImage/GenFdImage.h b/Tools/Source/TianoTools/GenFdImage/GenFdImage.h new file mode 100644 index 0000000000..68cfa8c5ff --- /dev/null +++ b/Tools/Source/TianoTools/GenFdImage/GenFdImage.h @@ -0,0 +1,89 @@ +/*++ + +Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved +This software and associated documentation (if any) is furnished +under a license and may only be used or copied in accordance +with the terms of the license. Except as permitted by such +license, no part of this software or documentation may be +reproduced, stored in a retrieval system, or transmitted in any +form or by any means without the express written consent of +Intel Corporation. + + +Module Name: + + GenFdImage.h + +Abstract: + + This file contains the relevant declarations required + to generate the Firmware Device + +--*/ + +// +// Coded to EFI 2.0 Coding Standard +// +#ifndef _EFI_GEN_FD_IMAGE_H +#define _EFI_GEN_FD_IMAGE_H + +// +// Included Header files +// +#include +#include +#include +#include +#include +#include "TianoCommon.h" +#include "ParseInf.h" +#include "GenFvImage.h" + +// +// Defines +// +#define FILE_NAME_SIZE 256 + +// +// Type Definition +// +typedef struct { + UINT64 FdSize; + UINT64 FdBaseAddress; + UINT8 PadValue; + CHAR8 OutFileName[FILE_NAME_SIZE]; +} FDINFO; + +// +// Exported Function Prototype +// +EFI_STATUS +GenerateFdImage ( + IN UINT64 BaseAddress, + IN UINT64 Size, + IN UINT8 PadByte, + IN CHAR8 *OutFile, + IN CHAR8 **FileList + ) +/*++ + +Routine Description: + + GC_TODO: Add function description + +Arguments: + + BaseAddress - GC_TODO: add argument description + Size - GC_TODO: add argument description + PadByte - GC_TODO: add argument description + OutFile - GC_TODO: add argument description + FileList - GC_TODO: add argument description + +Returns: + + GC_TODO: add return values + +--*/ +; + +#endif