]>
Commit | Line | Data |
---|---|---|
d25c4bf0 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved\r | |
4 | This software and associated documentation (if any) is furnished\r | |
5 | under a license and may only be used or copied in accordance\r | |
6 | with the terms of the license. Except as permitted by such\r | |
7 | license, no part of this software or documentation may be\r | |
8 | reproduced, stored in a retrieval system, or transmitted in any\r | |
9 | form or by any means without the express written consent of\r | |
10 | Intel Corporation.\r | |
11 | \r | |
12 | \r | |
13 | Module Name:\r | |
14 | \r | |
15 | GenFdImage.h\r | |
16 | \r | |
17 | Abstract:\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 | |
51d48c26 | 36 | // #include <io.h>\r |
d25c4bf0 | 37 | #include <assert.h>\r |
d25c4bf0 | 38 | #include "ParseInf.h"\r |
51d48c26 | 39 | // #include "GenFvImage.h"\r |
d25c4bf0 | 40 | \r |
41 | //\r | |
42 | // Defines\r | |
43 | //\r | |
44 | #define FILE_NAME_SIZE 256\r | |
45 | \r | |
46 | //\r | |
47 | // Type Definition\r | |
48 | //\r | |
49 | typedef struct {\r | |
50 | UINT64 FdSize;\r | |
51 | UINT64 FdBaseAddress;\r | |
52 | UINT8 PadValue;\r | |
53 | CHAR8 OutFileName[FILE_NAME_SIZE];\r | |
54 | } FDINFO;\r | |
55 | \r | |
56 | //\r | |
57 | // Exported Function Prototype\r | |
58 | //\r | |
59 | EFI_STATUS\r | |
60 | GenerateFdImage (\r | |
61 | IN UINT64 BaseAddress,\r | |
62 | IN UINT64 Size,\r | |
63 | IN UINT8 PadByte,\r | |
64 | IN CHAR8 *OutFile,\r | |
65 | IN CHAR8 **FileList\r | |
66 | )\r | |
67 | /*++\r | |
68 | \r | |
69 | Routine Description:\r | |
70 | \r | |
71 | GC_TODO: Add function description\r | |
72 | \r | |
73 | Arguments:\r | |
74 | \r | |
75 | BaseAddress - GC_TODO: add argument description\r | |
76 | Size - GC_TODO: add argument description\r | |
77 | PadByte - GC_TODO: add argument description\r | |
78 | OutFile - GC_TODO: add argument description\r | |
79 | FileList - GC_TODO: add argument description\r | |
80 | \r | |
81 | Returns:\r | |
82 | \r | |
83 | GC_TODO: add return values\r | |
84 | \r | |
85 | --*/\r | |
86 | ;\r | |
87 | \r | |
88 | #endif\r |