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