mv OvmfPkg: move fdf include snippets to Include/Fdf
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
5eb973eb62
commit
1ef86f1201
42
OvmfPkg/Include/Fdf/XenElfHeader.fdf.inc
Normal file
42
OvmfPkg/Include/Fdf/XenElfHeader.fdf.inc
Normal file
@@ -0,0 +1,42 @@
|
||||
## @file
|
||||
# FDF include file that defines a PVH ELF header.
|
||||
#
|
||||
# Copyright (c) 2022, Intel Corporation. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
DATA = {
|
||||
# ELF file header
|
||||
0x7f, 0x45, 0x4c, 0x46, 0x01, 0x01, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x03, 0x00, 0x01, 0x00, 0x00, 0x00,
|
||||
0xd0, 0xff, 0x2f, 0x00, # hdr.e_entry
|
||||
0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0x20, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
||||
# ELF Program segment headers
|
||||
# - Load segment
|
||||
0x01, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x10, 0x00,
|
||||
0x00, 0x00, 0x10, 0x00,
|
||||
0x00, 0x00, 0x20, 0x00,
|
||||
0x00, 0x00, 0x20, 0x00,
|
||||
0x07, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
# - ELFNOTE segment
|
||||
0x04, 0x00, 0x00, 0x00,
|
||||
0x74, 0x00, 0x00, 0x00,
|
||||
0x74, 0x00, 0x10, 0x00,
|
||||
0x74, 0x00, 0x10, 0x00,
|
||||
0x14, 0x00, 0x00, 0x00,
|
||||
0x14, 0x00, 0x00, 0x00,
|
||||
0x04, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
|
||||
# XEN_ELFNOTE_PHYS32_ENTRY
|
||||
0x04, 0x00, 0x00, 0x00,
|
||||
0x04, 0x00, 0x00, 0x00,
|
||||
0x12, 0x00, 0x00, 0x00,
|
||||
0x58, 0x65, 0x6e, 0x00,
|
||||
0xd0, 0xff, 0x2f, 0x00
|
||||
}
|
Reference in New Issue
Block a user