]>
Commit | Line | Data |
---|---|---|
9071550e | 1 | /*++\r |
2 | \r | |
b1f700a8 HT |
3 | Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
9071550e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | EfiLdrHandoff.h\r | |
14 | \r | |
15 | Abstract:\r | |
16 | \r | |
17 | Revision History:\r | |
18 | \r | |
19 | --*/\r | |
20 | \r | |
21 | #ifndef _EFILDR_HANDOFF_H_\r | |
22 | #define _EFILDR_HANDOFF_H_\r | |
23 | \r | |
24 | #define EFILDR_BASE_SEGMENT 0x2000\r | |
25 | #define EFILDR_LOAD_ADDRESS (EFILDR_BASE_SEGMENT << 4)\r | |
26 | #define EFILDR_HEADER_ADDRESS (EFILDR_LOAD_ADDRESS+0x2000)\r | |
27 | \r | |
28 | #define EFILDR_CB_VA 0x00\r | |
29 | \r | |
30 | typedef struct _EFILDRHANDOFF {\r | |
31 | UINTN MemDescCount;\r | |
32 | EFI_MEMORY_DESCRIPTOR *MemDesc;\r | |
33 | VOID *BfvBase;\r | |
34 | UINTN BfvSize;\r | |
35 | VOID *DxeIplImageBase;\r | |
36 | UINTN DxeIplImageSize;\r | |
37 | VOID *DxeCoreImageBase;\r | |
38 | UINTN DxeCoreImageSize;\r | |
39 | VOID *DxeCoreEntryPoint;\r | |
40 | } EFILDRHANDOFF;\r | |
41 | \r | |
42 | typedef struct {\r | |
43 | UINT32 CheckSum;\r | |
44 | UINT32 Offset;\r | |
45 | UINT32 Length;\r | |
46 | UINT8 FileName[52];\r | |
47 | } EFILDR_IMAGE;\r | |
48 | \r | |
49 | typedef struct { \r | |
50 | UINT32 Signature; \r | |
51 | UINT32 HeaderCheckSum;\r | |
52 | UINT32 FileLength;\r | |
53 | UINT32 NumberOfImages;\r | |
54 | } EFILDR_HEADER;\r | |
55 | \r | |
56 | #endif\r |