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