TianoCore EDK2 master
Loading...
Searching...
No Matches
XenElfHeader.fdf.inc
1## @file
2# FDF include file that defines a PVH ELF header.
3#
4# Copyright (c) 2022, Intel Corporation. All rights reserved.
5#
6# SPDX-License-Identifier: BSD-2-Clause-Patent
7#
8##
9
10DATA = {
11 # ELF file header
12 0x7f, 0x45, 0x4c, 0x46, 0x01, 0x01, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x03, 0x00, 0x01, 0x00, 0x00, 0x00,
13 0xd0, 0xff, 0x2f, 0x00, # hdr.e_entry
14 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0x20, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
15
16 # ELF Program segment headers
17 # - Load segment
18 0x01, 0x00, 0x00, 0x00,
19 0x00, 0x00, 0x00, 0x00,
20 0x00, 0x00, 0x10, 0x00,
21 0x00, 0x00, 0x10, 0x00,
22 0x00, 0x00, 0x20, 0x00,
23 0x00, 0x00, 0x20, 0x00,
24 0x07, 0x00, 0x00, 0x00,
25 0x00, 0x00, 0x00, 0x00,
26 # - ELFNOTE segment
27 0x04, 0x00, 0x00, 0x00,
28 0x74, 0x00, 0x00, 0x00,
29 0x74, 0x00, 0x10, 0x00,
30 0x74, 0x00, 0x10, 0x00,
31 0x14, 0x00, 0x00, 0x00,
32 0x14, 0x00, 0x00, 0x00,
33 0x04, 0x00, 0x00, 0x00,
34 0x00, 0x00, 0x00, 0x00,
35
36 # XEN_ELFNOTE_PHYS32_ENTRY
37 0x04, 0x00, 0x00, 0x00,
38 0x04, 0x00, 0x00, 0x00,
39 0x12, 0x00, 0x00, 0x00,
40 0x58, 0x65, 0x6e, 0x00,
41 0xd0, 0xff, 0x2f, 0x00
42}