]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/GenFdImage/GenFdImage.h
Porting several more tools to edk2.
[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 "ParseInf.h"
39 // #include "GenFvImage.h"
40
41 //
42 // Defines
43 //
44 #define FILE_NAME_SIZE 256
45
46 //
47 // Type Definition
48 //
49 typedef struct {
50 UINT64 FdSize;
51 UINT64 FdBaseAddress;
52 UINT8 PadValue;
53 CHAR8 OutFileName[FILE_NAME_SIZE];
54 } FDINFO;
55
56 //
57 // Exported Function Prototype
58 //
59 EFI_STATUS
60 GenerateFdImage (
61 IN UINT64 BaseAddress,
62 IN UINT64 Size,
63 IN UINT8 PadByte,
64 IN CHAR8 *OutFile,
65 IN CHAR8 **FileList
66 )
67 /*++
68
69 Routine Description:
70
71 GC_TODO: Add function description
72
73 Arguments:
74
75 BaseAddress - GC_TODO: add argument description
76 Size - GC_TODO: add argument description
77 PadByte - GC_TODO: add argument description
78 OutFile - GC_TODO: add argument description
79 FileList - GC_TODO: add argument description
80
81 Returns:
82
83 GC_TODO: add return values
84
85 --*/
86 ;
87
88 #endif