]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/TianoTools/GenFdImage/GenFdImage.h
Adding Additional Tools that are needed for Platform Image creation.
[mirror_edk2.git] / Tools / Source / TianoTools / GenFdImage / GenFdImage.h
CommitLineData
d25c4bf0 1/*++\r
2\r
3Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved\r
4This software and associated documentation (if any) is furnished\r
5under a license and may only be used or copied in accordance\r
6with the terms of the license. Except as permitted by such\r
7license, no part of this software or documentation may be\r
8reproduced, stored in a retrieval system, or transmitted in any\r
9form or by any means without the express written consent of\r
10Intel Corporation.\r
11\r
12\r
13Module Name:\r
14 \r
15 GenFdImage.h\r
16\r
17Abstract:\r
18\r
19 This file contains the relevant declarations required\r
20 to generate the Firmware Device\r
21\r
22--*/\r
23\r
24//\r
25// Coded to EFI 2.0 Coding Standard\r
26//\r
27#ifndef _EFI_GEN_FD_IMAGE_H\r
28#define _EFI_GEN_FD_IMAGE_H\r
29\r
30//\r
31// Included Header files\r
32//\r
33#include <stdio.h>\r
34#include <stdlib.h>\r
35#include <string.h>\r
36#include <io.h>\r
37#include <assert.h>\r
38#include "TianoCommon.h"\r
39#include "ParseInf.h"\r
40#include "GenFvImage.h"\r
41\r
42//\r
43// Defines\r
44//\r
45#define FILE_NAME_SIZE 256\r
46\r
47//\r
48// Type Definition\r
49//\r
50typedef struct {\r
51 UINT64 FdSize;\r
52 UINT64 FdBaseAddress;\r
53 UINT8 PadValue;\r
54 CHAR8 OutFileName[FILE_NAME_SIZE];\r
55} FDINFO;\r
56\r
57//\r
58// Exported Function Prototype\r
59//\r
60EFI_STATUS\r
61GenerateFdImage (\r
62 IN UINT64 BaseAddress,\r
63 IN UINT64 Size,\r
64 IN UINT8 PadByte,\r
65 IN CHAR8 *OutFile,\r
66 IN CHAR8 **FileList\r
67 )\r
68/*++\r
69\r
70Routine Description:\r
71\r
72 GC_TODO: Add function description\r
73\r
74Arguments:\r
75\r
76 BaseAddress - GC_TODO: add argument description\r
77 Size - GC_TODO: add argument description\r
78 PadByte - GC_TODO: add argument description\r
79 OutFile - GC_TODO: add argument description\r
80 FileList - GC_TODO: add argument description\r
81\r
82Returns:\r
83\r
84 GC_TODO: add return values\r
85\r
86--*/\r
87;\r
88\r
89#endif\r