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