TianoCore EDK2 master
|
#include "elf.h"
#include "fcntl.h"
#include "stdbool.h"
#include "stddef.h"
#include "stdio.h"
#include "stdlib.h"
Go to the source code of this file.
Data Structures | |
struct | xen_elfnote_phys32_entry |
Macros | |
#define | XEN_ELFNOTE_PHYS32_ENTRY 18 |
#define | LICENSE_HDR "\## @file\r\n\# FDF include file that defines a PVH ELF header.\r\n\#\r\n\# Copyright (c) 2022, Intel Corporation. All rights reserved.\r\n\#\r\n\# SPDX-License-Identifier: BSD-2-Clause-Patent\r\n\#\r\n\##\r\n\\r\n\" |
Functions | |
void | print_hdr (FILE *file, void *s, size_t size, bool end_delimiter) |
int | main (int argc, char *argv[]) |
This program generates a hex array to be manually coppied into OvmfXen.fdf.
The purpose is for the flash device image to be recognize as an ELF.
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file OvmfXenElfHeaderGenerator.c.
#define LICENSE_HDR "\## @file\r\n\# FDF include file that defines a PVH ELF header.\r\n\#\r\n\# Copyright (c) 2022, Intel Corporation. All rights reserved.\r\n\#\r\n\# SPDX-License-Identifier: BSD-2-Clause-Patent\r\n\#\r\n\##\r\n\\r\n\" |
Definition at line 51 of file OvmfXenElfHeaderGenerator.c.
#define XEN_ELFNOTE_PHYS32_ENTRY 18 |
Definition at line 42 of file OvmfXenElfHeaderGenerator.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 64 of file OvmfXenElfHeaderGenerator.c.
void print_hdr | ( | FILE * | file, |
void * | s, | ||
size_t | size, | ||
bool | end_delimiter | ||
) |
Definition at line 20 of file OvmfXenElfHeaderGenerator.c.