data_type large_stringclasses 3
values | source large_stringclasses 29
values | code large_stringlengths 98 49.4M | filepath large_stringlengths 5 161 ⌀ | message large_stringclasses 234
values | commit large_stringclasses 234
values | subject large_stringclasses 418
values | critique large_stringlengths 101 1.26M ⌀ | metadata dict |
|---|---|---|---|---|---|---|---|---|
source | edk2 | /** @file
Declare the GUID that is expected:
- as EFI_SIGNATURE_DATA.SignatureOwner GUID in association with X509 and
RSA2048 Secure Boot certificates issued by/for Microsoft,
- as UEFI variable vendor GUID in association with (unspecified)
Microsoft-owned variables.
Copyright (C) 2014-2019, Red Hat,... | OvmfPkg/Include/Guid/MicrosoftVendor.h | null | null | null | null | null |
source | edk2 | /** @file
Declare the application prefix string as a GUID, for locating the PK/KEK1
X509 certificate to enroll, in the "OEM Strings" SMBIOS table.
Copyright (C) 2019, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
@par Specification Reference:
- https://git.qemu.org/?p=qemu.git;a=commit;h=2d6... | OvmfPkg/Include/Guid/OvmfPkKek1AppPrefix.h | null | null | null | null | null |
source | edk2 | /** @file
GUID for UEFI variables that are specific to OVMF configuration.
Copyright (C) 2014, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define OVMF_PLATFORM_CONFIG_GUID \
{0x7235c51c, 0x0c80, 0x4cab, {0x87, 0xac, 0x3b, 0x08, 0x4a, 0x63, 0x04, 0xb1}}
extern EFI_GUID gOvmf... | OvmfPkg/Include/Guid/OvmfPlatformConfig.h | null | null | null | null | null |
source | edk2 | /** @file
GUID definition for the QEMU LoaderFs media device path, containing the
kernel, initrd and command line as file objects
Copyright (c) 2020, Arm, Ltd. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define QEMU_KERNEL_LOADER_FS_MEDIA_GUID \
{0x1428f772, 0xb... | OvmfPkg/Include/Guid/QemuKernelLoaderFsMedia.h | null | null | null | null | null |
source | edk2 | /** @file
Recommended GUID to be used in the Vendor Hardware device path nodes that
identify qemu ramfb devices.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define QEMU_RAMFB_GUID \
{0x557423a1, 0x63ab, 0x406c, {0xbe, 0x7e, 0x91, 0xcd, 0xbc, 0x08, 0xc4, ... | OvmfPkg/Include/Guid/QemuRamfb.h | null | null | null | null | null |
source | edk2 | /** @file
An event group GUID with which BDS indicates that PCI root bridges have been
connected, and PciIo protocol instances have become available.
Note that this differs from the PCI Enumeration Complete Protocol as defined
in the PI 1.1 specification. That protocol is installed by the PCI bus driver
afte... | OvmfPkg/Include/Guid/RootBridgesConnectedEventGroup.h | null | null | null | null | null |
source | edk2 | /** @file
Recommended GUID to be used in the Vendor Hardware device path nodes that
identify virtio-mmio transports.
Copyright (C) 2014, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define VIRTIO_MMIO_TRANSPORT_GUID \
{0x837dca9e, 0xe874, 0x4d82, {0xb2, 0x9a, 0x23, 0xfe, 0x0... | OvmfPkg/Include/Guid/VirtioMmioTransport.h | null | null | null | null | null |
source | edk2 | /** @file
GUID to be used to identify the XenBus root node on non-PCI Xen guests
Copyright (C) 2015, Linaro Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define XENBUS_ROOT_DEVICE_GUID \
{0xa732241f, 0x383d, 0x4d9c, {0x8a, 0xe1, 0x8e, 0x09, 0x83, 0x75, 0x89, 0xd7}}
extern EFI_GUID gXe... | OvmfPkg/Include/Guid/XenBusRootDevice.h | null | null | null | null | null |
source | edk2 | /** @file
XenInfo HOB passed by PEI into DXE.
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define EFI_XEN_INFO_GUID \
{ 0xd3b46f3b, 0xd441, 0x1244, {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d } }
typedef struct {
///
/// Hyp... | OvmfPkg/Include/Guid/XenInfo.h | null | null | null | null | null |
source | edk2 | /** @file
Various register numbers and value bits based on FreeBSD's bhyve
at r359530.
- https://svnweb.freebsd.org/base?view=revision&revision=359530
Copyright (C) 2020, Rebecca Cran <rebecca@bsdio.com>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define BHYVE_ACPI_TIMER_IO_ADDR 0x408
... | OvmfPkg/Include/IndustryStandard/Bhyve.h | null | null | null | null | null |
source | edk2 | /** @file
Various defines related to Cloud Hypervisor
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// Host Bridge Device ID
//
#define CLOUDHV_DEVICE_ID 0x0d57
//
// ACPI timer address
//
#define CLOUDHV_ACPI_TIMER_IO_ADDRESS 0x0608
//
// ACPI shutdown device address
//
#define CLOUDHV_A... | OvmfPkg/Include/IndustryStandard/CloudHv.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2013, Citrix Systems UK Ltd.
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#pragma pack(1)
typedef enum {
EfiAcpiAddressRangeMemory = 1,
EfiAcpiAddressRangeReserved = 2,
EfiAcpiAddressRangeACPI ... | OvmfPkg/Include/IndustryStandard/E820.h | null | null | null | null | null |
source | edk2 | /** @file
Macros and type definitions for LSI Fusion MPT SCSI devices.
Copyright (C) 2020, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// Device offsets and constants
//
#define LSI_LOGIC_PCI_VENDOR_ID 0x1000
#define LSI_53C1030_PCI_DEVICE_ID 0x0030
... | OvmfPkg/Include/IndustryStandard/FusionMptScsi.h | null | null | null | null | null |
source | edk2 | /** @file
Various register numbers and value bits based on the following publications:
- Intel(R) datasheet 290549-001
- Intel(R) datasheet 290562-001
- Intel(R) datasheet 297654-006
- Intel(R) datasheet 297738-017
Copyright (C) 2015, Red Hat, Inc.
Copyright (c) 2014, Gabriel L. Somlo <somlo@cmu.edu>
... | OvmfPkg/Include/IndustryStandard/I440FxPiix4.h | null | null | null | null | null |
source | edk2 | /** @file
IGVM Data hobs
Copyright (c) 2025, Red Hat. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/* secure boot databases */
#define EFI_IGVM_DATA_TYPE_PK 0x100
#define EFI_IGVM_DATA_TYPE_KEK 0x101
#define EFI_IGVM_DATA_TYPE_DB 0x102
#define EFI_IGVM_DATA_TYPE_... | OvmfPkg/Include/IndustryStandard/IgvmData.h | null | null | null | null | null |
source | edk2 | /** @file
Instruction parsing support definitions.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Uefi.h>
//
// Instruction REX prefix definition
//
typedef union {
struct {
UINT8 Bit... | OvmfPkg/Include/IndustryStandard/InstructionParsing.h | null | null | null | null | null |
source | edk2 | /** @file
Defines the defitions used by TDX in OvmfPkg.
Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Uefi/UefiSpec.h>
#include <Uefi/UefiBaseType.h>
#define MP_CPU... | OvmfPkg/Include/IndustryStandard/IntelTdx.h | null | null | null | null | null |
source | edk2 | /** @file
Type definitions related to the VBE (VESA BIOS Extension, Int10h AH=4Fh)
services GET INFORMATION (AL=00h) and GET MODE INFORMATION (AL=01h).
For reference, see Ralf Brown's Interrupt List:
<http://www.cs.cmu.edu/~ralf/files.html>
<http://www.ctyme.com/rbrown.htm>
Copyright (C) 2014, Red Hat, In... | OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define BOOTSIG 0x1FE
#define SETUP_HDR 0x53726448 /* 0x53726448 == "HdrS" */
#define E820_RAM 1
#define E820_RESERVED 2
#define E820_ACPI ... | OvmfPkg/Include/IndustryStandard/LinuxBzimage.h | null | null | null | null | null |
source | edk2 | /** @file
Macros and type definitions for LSI 53C895A SCSI devices.
Copyright (C) 2020, SUSE LLC.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// Device ID
//
#define LSI_LOGIC_PCI_VENDOR_ID 0x1000
#define LSI_53C895A_PCI_DEVICE_ID 0x0012
//
// LSI 53C895A Registers
//
#define LSI_R... | OvmfPkg/Include/IndustryStandard/LsiScsi.h | null | null | null | null | null |
source | edk2 | /** @file
Various defines for qemu microvm
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define MICROVM_PSEUDO_DEVICE_ID 0xfff1
/* generic event device */
#define MICROVM_GED_MMIO_BASE 0xfea00000
#define MICROVM_GED_MMIO_BASE_REGS (MICROVM_GED_MMIO_BASE + 0x200)
#define MICROVM... | OvmfPkg/Include/IndustryStandard/Microvm.h | null | null | null | null | null |
source | edk2 | /** @file
x86_64 Page Tables structures
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
Code is derived from MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.h
**/
#pra... | OvmfPkg/Include/IndustryStandard/PageTable.h | null | null | null | null | null |
source | edk2 | /** @file
VMware PVSCSI Device specific type and macro definitions.
Copyright (C) 2020, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// Device offsets and constants
//
#define PCI_VENDOR_ID_VMWARE (0x15ad)
#define PCI_DEVICE_ID_VMWARE_PVSCSI (0x07c... | OvmfPkg/Include/IndustryStandard/PvScsi.h | null | null | null | null | null |
source | edk2 | /** @file
Various register numbers and value bits based on the following publications:
- Intel(R) datasheet 316966-002
- Intel(R) datasheet 316972-004
Copyright (C) 2015, Red Hat, Inc.
Copyright (c) 2014, Gabriel L. Somlo <somlo@cmu.edu>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#inc... | OvmfPkg/Include/IndustryStandard/Q35MchIch9.h | null | null | null | null | null |
source | edk2 | /** @file
Macros for accessing QEMU's CPU hotplug register block.
Copyright (C) 2019, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
@par Specification Reference:
- "docs/specs/acpi_cpu_hotplug.txt" in the QEMU source tree.
The original (now "legacy") CPU hotplug interface appeared in QEM... | OvmfPkg/Include/IndustryStandard/QemuCpuHotplug.h | null | null | null | null | null |
source | edk2 | /** @file
Macro and type definitions corresponding to the QEMU fw_cfg interface.
Refer to "docs/specs/fw_cfg.txt" in the QEMU source directory.
Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2013 - 2017, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#... | OvmfPkg/Include/IndustryStandard/QemuFwCfg.h | null | null | null | null | null |
source | edk2 | /** @file
Command structures for the QEMU FwCfg table loader interface.
Copyright (C) 2014, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <IndustryStandard/QemuFwCfg.h>
//
// The types and the documentation reflects the SeaBIOS interface.
//
#define Q... | OvmfPkg/Include/IndustryStandard/QemuLoader.h | null | null | null | null | null |
source | edk2 | /** @file
Macro and type definitions for QEMU's Red Hat vendor-specific PCI
capabilities that provide various hints about PCI Bridges.
Refer to "docs/pcie_pci_bridge.txt" in the QEMU source directory.
Copyright (C) 2017, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include... | OvmfPkg/Include/IndustryStandard/QemuPciBridgeCapabilities.h | null | null | null | null | null |
source | edk2 | /** @file
Macro and type definitions corresponding to the QEMU TPM interface.
Refer to "docs/specs/tpm.txt" in the QEMU source directory.
Copyright (C) 2018, Red Hat, Inc.
Copyright (c) 2018, IBM Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include ... | OvmfPkg/Include/IndustryStandard/QemuTpm.h | null | null | null | null | null |
source | edk2 | /*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
* uefi-vars device - API of the virtual device for guest/host communication.
*
* copied from qemu.git (include/hw/uefi/var-service-api.h)
*/
#pragma once
/* qom: device names */
#define TYPE_UEFI_VARS_X64 "uefi-vars-x64"
#define TYPE_UEFI_VARS_SYSBUS "uef... | OvmfPkg/Include/IndustryStandard/QemuUefiVars.h | null | null | null | null | null |
source | edk2 | /** @file
Generic type and macro definitions corresponding to the virtio
specifications.
Copyright (C) 2012-2016, Red Hat, Inc.
Portion of Copyright (C) 2013, ARM Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Virtio10.h> | OvmfPkg/Include/IndustryStandard/Virtio.h | null | null | null | null | null |
source | edk2 | /** @file
Generic type and macro definitions corresponding to the virtio-0.9.5
specification.
Copyright (C) 2012-2016, Red Hat, Inc.
Portion of Copyright (C) 2013, ARM Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
//
// VirtIo Subsystem Device IDs
//
#define VIRTI... | OvmfPkg/Include/IndustryStandard/Virtio095.h | null | null | null | null | null |
source | edk2 | /** @file
Virtio Network Device specific type and macro definitions corresponding to
the virtio-0.9.5 specification.
Copyright (C) 2013-2016, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Virtio095.h>
//
// virtio-0.9.5, Appendix C: Network Device
/... | OvmfPkg/Include/IndustryStandard/Virtio095Net.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions from the VirtIo 1.0 specification (csprd05).
Copyright (C) 2016, Red Hat, Inc.
Copyright (C) 2017, AMD, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Pci23.h>
#include <IndustryStandard/Virtio095.h>
//
// Subsystem Device IDs (to be) int... | OvmfPkg/Include/IndustryStandard/Virtio10.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions from the VirtIo 1.0 specification (csprd05), specifically for the
network device.
Copyright (C) 2016, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Virtio10.h>
#include <IndustryStandard/Virtio095Net.h>
//
// VirtIo 1.0 packet h... | OvmfPkg/Include/IndustryStandard/Virtio10Net.h | null | null | null | null | null |
source | edk2 | /** @file
Virtio Block Device specific type and macro definitions corresponding to the
virtio-0.9.5 specification.
Copyright (C) 2012, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Virtio.h>
//
// virtio-0.9.5, Appendix D: Block Device
//
#pragma p... | OvmfPkg/Include/IndustryStandard/VirtioBlk.h | null | null | null | null | null |
source | edk2 | /** @file
Type and macro definitions specific to the Virtio Filesystem device.
At the time of this writing, the latest released Virtio specification (v1.1)
does not include the virtio-fs device. The development version of the
specification defines it however; see the latest version at
<https://github.com/oas... | OvmfPkg/Include/IndustryStandard/VirtioFs.h | null | null | null | null | null |
source | edk2 | /** @file
Virtio GPU Device specific type and macro definitions.
At the time of this writing, the Virtio 1.0 specification has not
incorporated the GPU device yet. The following work-in-progress specification
is used as basis for the implementation:
- https://lists.oasis-open.org/archives/virtio-dev/201605... | OvmfPkg/Include/IndustryStandard/VirtioGpu.h | null | null | null | null | null |
source | edk2 | /** @file
Virtio Network Device specific type and macro definitions corresponding to
the virtio specifications.
Copyright (C) 2013-2016, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Virtio10Net.h> | OvmfPkg/Include/IndustryStandard/VirtioNet.h | null | null | null | null | null |
source | edk2 | /** @file
Virtio SCSI Host Device specific type and macro definitions corresponding to
the virtio-0.9.5 specification.
Copyright (C) 2012, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Virtio.h>
//
// virtio-0.9.5, Appendix I: SCSI Host Device
//
#... | OvmfPkg/Include/IndustryStandard/VirtioScsi.h | null | null | null | null | null |
source | edk2 | /** @file
Virtio Serial Device specific type and macro definitions.
Copyright (C) 2013-2016, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Virtio095.h>
#include <IndustryStandard/Virtio10.h>
//
// Device Configuration
//
typedef struct {
UINT16 C... | OvmfPkg/Include/IndustryStandard/VirtioSerial.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* event_channel.h
*
* Event channels between domains.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2003-2004, K A Fraser.
*/
#ifndef __XEN_PUBLIC_EVENT_CHANNEL_H__
#define __XEN_PUBLIC_EVENT_CHANNEL_H__
#include "xen.h"
/*
... | OvmfPkg/Include/IndustryStandard/Xen/event_channel.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* grant_table.h
*
* Interface for granting foreign access to page frames, and receiving
* page-ownership transfers.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2004, K A Fraser
*/
#ifndef __XEN_PUBLIC_GRANT_TABLE_H__
#defin... | OvmfPkg/Include/IndustryStandard/Xen/grant_table.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* memory.h
*
* Memory reservation and information.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2005, Keir Fraser <keir@xensource.com>
*/
#ifndef __XEN_PUBLIC_MEMORY_H__
#define __XEN_PUBLIC_MEMORY_H__
#include "xen.h"
/* S... | OvmfPkg/Include/IndustryStandard/Xen/memory.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* sched.h
*
* Scheduler state interactions
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2005, Keir Fraser <keir@xensource.com>
*/
#ifndef __XEN_PUBLIC_SCHED_H__
#define __XEN_PUBLIC_SCHED_H__
#include "event_channel.h"
/*
... | OvmfPkg/Include/IndustryStandard/Xen/sched.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* xen-compat.h
*
* Guest OS interface to Xen. Compatibility layer.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2006, Christian Limpach
*/
#ifndef __XEN_PUBLIC_XEN_COMPAT_H__
#define __XEN_PUBLIC_XEN_COMPAT_H__
#define __XE... | OvmfPkg/Include/IndustryStandard/Xen/xen-compat.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* xen.h
*
* Guest OS interface to Xen.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2004, K A Fraser
*/
#ifndef __XEN_PUBLIC_XEN_H__
#define __XEN_PUBLIC_XEN_H__
//
// Xen interface version used by Tianocore
//
#define __XEN... | OvmfPkg/Include/IndustryStandard/Xen/xen.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* arch-arm.h
*
* Guest OS interface to ARM Xen.
*
* SPDX-License-Identifier: MIT
*
* Copyright 2011 (C) Citrix Systems
*/
#ifndef __XEN_PUBLIC_ARCH_ARM_H__
#define __XEN_PUBLIC_ARCH_ARM_H__
/*
* `incontents 50 arm_abi Hypercall C... | OvmfPkg/Include/IndustryStandard/Xen/arch-arm/xen.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* xen-x86_32.h
*
* Guest OS interface to x86 32-bit Xen.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2004-2007, K A Fraser
*/
#ifndef __XEN_PUBLIC_ARCH_X86_XEN_X86_32_H__
#define __XEN_PUBLIC_ARCH_X86_XEN_X86_32_H__
/*
* H... | OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen-x86_32.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* xen-x86_64.h
*
* Guest OS interface to x86 64-bit Xen.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2004-2006, K A Fraser
*/
#ifndef __XEN_PUBLIC_ARCH_X86_XEN_X86_64_H__
#define __XEN_PUBLIC_ARCH_X86_XEN_X86_64_H__
/*
* H... | OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen-x86_64.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* arch-x86/xen.h
*
* Guest OS interface to x86 Xen.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2004-2006, K A Fraser
*/
#include "../xen.h"
#ifndef __XEN_PUBLIC_ARCH_X86_XEN_H__
#define __XEN_PUBLIC_ARCH_X86_XEN_H__
/* St... | OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen.h | null | null | null | null | null |
source | edk2 | /*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2016, Citrix Systems, Inc.
*/
#ifndef __XEN_PUBLIC_ARCH_X86_HVM_START_INFO_H__
#define __XEN_PUBLIC_ARCH_X86_HVM_START_INFO_H__
/*
* Start of day structure passed to PVH guests and to HVM guests in %ebx.
*
* NOTE: nothing will be loaded at physical address 0,... | OvmfPkg/Include/IndustryStandard/Xen/arch-x86/hvm/start_info.h | null | null | null | null | null |
source | edk2 | /*
* SPDX-License-Identifier: MIT
*/
#ifndef __XEN_PUBLIC_HVM_HVM_OP_H__
#define __XEN_PUBLIC_HVM_HVM_OP_H__
#include "../xen.h"
/* Get/set subcommands: extra argument == pointer to xen_hvm_param struct. */
#define HVMOP_set_param 0
#define HVMOP_get_param 1
struct xen_hvm_param {
domid_t domid; /* IN */
... | OvmfPkg/Include/IndustryStandard/Xen/hvm/hvm_op.h | null | null | null | null | null |
source | edk2 | /*
* SPDX-License-Identifier: MIT
*/
#ifndef __XEN_PUBLIC_HVM_PARAMS_H__
#define __XEN_PUBLIC_HVM_PARAMS_H__
#include "hvm_op.h"
/*
* Parameter space for HVMOP_{set,get}_param.
*/
/*
* How should CPU0 event-channel notifications be delivered?
* val[63:56] == 0: val[55:0] is a delivery GSI (Global System Inter... | OvmfPkg/Include/IndustryStandard/Xen/hvm/params.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* blkif.h
*
* Unified block-device I/O interface for Xen guest OSes.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2003-2004, Keir Fraser
* Copyright (c) 2012, Spectra Logic Corporation
*/
#ifndef __XEN_PUBLIC_IO_BLKIF_H__
#d... | OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* console.h
*
* Console I/O interface for Xen guest OSes.
*
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2005, Keir Fraser
*/
#ifndef __XEN_PUBLIC_IO_CONSOLE_H__
#define __XEN_PUBLIC_IO_CONSOLE_H__
typedef UINT32 XENCONS_RING_... | OvmfPkg/Include/IndustryStandard/Xen/io/console.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* protocols.h
*
* SPDX-License-Identifier: MIT
*/
#ifndef __XEN_PROTOCOLS_H__
#define __XEN_PROTOCOLS_H__
#define XEN_IO_PROTO_ABI_X86_64 "x86_64-abi"
#define XEN_IO_PROTO_ABI_ARM "arm-abi"
#if defined (MDE_CPU_X64)
#define XEN_... | OvmfPkg/Include/IndustryStandard/Xen/io/protocols.h | null | null | null | null | null |
source | edk2 | /******************************************************************************
* ring.h
*
* Shared producer-consumer ring macros.
*
* SPDX-License-Identifier: MIT
*
* Tim Deegan and Andrew Warfield November 2004.
*/
#ifndef __XEN_PUBLIC_IO_RING_H__
#define __XEN_PUBLIC_IO_RING_H__
#include "../xen-compat.h"
... | OvmfPkg/Include/IndustryStandard/Xen/io/ring.h | null | null | null | null | null |
source | edk2 | /*****************************************************************************
* xenbus.h
*
* Xenbus protocol details.
*
* SPDX-License-Identifier: MIT
*
* Copyright (C) 2005 XenSource Ltd.
*/
#ifndef _XEN_PUBLIC_IO_XENBUS_H
#define _XEN_PUBLIC_IO_XENBUS_H
/*
* The state of either end of the Xenbus, i.e. the... | OvmfPkg/Include/IndustryStandard/Xen/io/xenbus.h | null | null | null | null | null |
source | edk2 | /*
* Details of the "wire" protocol between Xen Store Daemon and client
* library or guest kernel.
*
* SPDX-License-Identifier: MIT
*
* Copyright (C) 2005 Rusty Russell IBM Corporation
*/
#ifndef _XS_WIRE_H
#define _XS_WIRE_H
enum xsd_sockmsg_type {
XS_DEBUG,
XS_DIRECTORY,
XS_READ,
XS_GET_PERMS,
XS_W... | OvmfPkg/Include/IndustryStandard/Xen/io/xs_wire.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2023, Corvin Köhne <corvink@FreeBSD.org>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/AcpiTable.h>
#include <Protocol/PciIo.h>
typedef struct {
EFI_PCI_IO_PROTOCOL *PciIo;
UINT64 PciAttributes;
} ORIGINAL_ATTRIBUTES;
typedef str... | OvmfPkg/Include/Library/AcpiPlatformLib.h | null | null | null | null | null |
source | edk2 | /** @file
bhyve firmware configuration access
Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>
Copyright (c) 2015 Nahanni Systems
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Sysctl-like interface to read host information via a dot-separated
ASCII OID.
The information is cop... | OvmfPkg/Include/Library/BhyveFwCtlLib.h | null | null | null | null | null |
source | edk2 | /** @file
Blob verification library
This library class allows verifiying whether blobs from external sources
(such as QEMU's firmware config) are trusted.
Copyright (C) 2021, IBM Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi/UefiBaseType.h>
#include <Base.h>
/... | OvmfPkg/Include/Library/BlobVerifierLib.h | null | null | null | null | null |
source | edk2 | /** @file
CPU Memory Map Unit Initialization library header.
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiSpec.h>
/**
Create a page table and initialize the memory management unit(MMU).
@param[in]... | OvmfPkg/Include/Library/CpuMmuInitLib.h | null | null | null | null | null |
source | edk2 | /** @file
Determine the base addresses of serial ports from the Device Tree.
Copyright (C) Red Hat
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
typedef struct {
UINTN NumberOfPorts;
UINT64 BaseAddress[2];
} FDT_SERIAL_PORTS;
/**
Collect the first ARRAY_SIZE (P... | OvmfPkg/Include/Library/FdtSerialPortAddressLib.h | null | null | null | null | null |
source | edk2 | /*/@file
Hardware info parsing functions.
Binary data is expected as a consecutive series of header - object pairs.
Complete library providing static Qemu fw-cfg wrappers as well as list-like
interface to dynamically manipulate hardware info objects and parsing from
a generic blob.
Copyright 2021 - 2022 Am... | OvmfPkg/Include/Library/HardwareInfoLib.h | null | null | null | null | null |
source | edk2 | /** @file
Load/boot UEFI Linux.
Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Verifies that the kernel setup image is valid and supported.
The kernel setup image should be checked before using other library
routin... | OvmfPkg/Include/Library/LoadLinuxLib.h | null | null | null | null | null |
source | edk2 | /** @file
Interface functions for the Memory Debug Log Library.
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi/UefiBaseType.h>
#include <Base.h>
//
// Cap max buffer at 2MB (0x200 4K pages)
//
#define MAX_MEM_DEBUG_LOG_PAGES 0x2... | OvmfPkg/Include/Library/MemDebugLogLib.h | null | null | null | null | null |
source | edk2 | /** @file
Define Secure Encrypted Virtualization (SEV) base library helper function
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <WorkArea.h>
//
// Define the maximum number of #VCs allowed (e.... | OvmfPkg/Include/Library/MemEncryptSevLib.h | null | null | null | null | null |
source | edk2 | /** @file
Define Memory Encrypted Virtualization base library helper function
Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
/**
Returns boolea... | OvmfPkg/Include/Library/MemEncryptTdxLib.h | null | null | null | null | null |
source | edk2 | /** @file
Handle raising and lowering TPL from within nested interrupt handlers.
Allows interrupt handlers to safely raise and lower the TPL to
dispatch event notifications, correctly allowing for nested
interrupts to occur without risking stack exhaustion.
Copyright (C) 2022, Fen Systems Ltd.
SPDX-Licen... | OvmfPkg/Include/Library/NestedInterruptTplLib.h | null | null | null | null | null |
source | edk2 | /** @file
Provides functions to save and restore NV variables in a file.
Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Attempts to connect the NvVarsFileLib to the specified file system.
@param[in] FsHandle - Handle for ... | OvmfPkg/Include/Library/NvVarsFileLib.h | null | null | null | null | null |
source | edk2 | /** @file
Library class to work with PCI capabilities in PCI config space.
Provides functions to parse capabilities lists, and to locate, describe, read
and write capabilities. PCI config space access is abstracted away.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#p... | OvmfPkg/Include/Library/PciCapLib.h | null | null | null | null | null |
source | edk2 | /** @file
Library class layered on top of PciCapLib that allows clients to plug an
EFI_PCI_IO_PROTOCOL backend into PciCapLib, for config space access.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/PciIo.h>
#include <Library/PciCapLib.h>
... | OvmfPkg/Include/Library/PciCapPciIoLib.h | null | null | null | null | null |
source | edk2 | /** @file
Library class layered on top of PciCapLib that allows clients to plug a
PciSegmentLib backend into PciCapLib, for config space access.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Library/PciCapLib.h>
/**
Create a PCI_CAP_DEV object f... | OvmfPkg/Include/Library/PciCapPciSegmentLib.h | null | null | null | null | null |
source | edk2 | /** @file
Provide common utility functions to PciHostBridgeLib instances in
ArmVirtPkg and OvmfPkg.
Copyright (C) 2016, Red Hat, Inc.
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2020, Huawei Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Paten... | OvmfPkg/Include/Library/PciHostBridgeUtilityLib.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Library/BaseLib.h>
#include <Uefi/UefiBaseType.h>
#include <Uefi/UefiSpec.h>
#include <Pi/PiPeiCis.h>
#include <Library/DebugLib.h>
#include <Protocol/DebugSupport.h... | OvmfPkg/Include/Library/PeilessStartupLib.h | null | null | null | null | null |
source | edk2 | /** @file
Register a status code handler for printing the Boot Manager's LoadImage()
and StartImage() preparations, and return codes, to the UEFI console.
This feature enables users that are not accustomed to analyzing the firmware
log to glean some information about UEFI boot option processing (loading and
... | OvmfPkg/Include/Library/PlatformBmPrintScLib.h | null | null | null | null | null |
source | edk2 | /** @file
Common code PlatformBootManager and PlatformBootManagerLight.
Copyright (C) 2025, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi/UefiBaseType.h>
#include <Base.h>
VOID
PlatformRegisterFvBootOption (
EFI_GUID *FileGuid,
CHAR16 *Description,
UINT3... | OvmfPkg/Include/Library/PlatformBootManagerCommonLib.h | null | null | null | null | null |
source | edk2 | /** @file
Library to define platform customization functions for a
Firmare Volume Block driver.
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/FirmwareVolumeBlock.h>
/**
This function will be called f... | OvmfPkg/Include/Library/PlatformFvbLib.h | null | null | null | null | null |
source | edk2 | /** @file
PlatformInitLib header file.
Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <IndustryStandard/E820.h>
#pragma pack(1)
/*
The work area is used to support reading from cache in QemuFwCfgLib.
I... | OvmfPkg/Include/Library/PlatformInitLib.h | null | null | null | null | null |
source | edk2 | /** @file
Rewrite the BootOrder NvVar based on QEMU's "bootorder" fw_cfg file --
include file.
Copyright (C) 2012-2014, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi/UefiBaseType.h>
#include <Base.h>
/**
Connect devices based on the boot order retrieved from Q... | OvmfPkg/Include/Library/QemuBootOrderLib.h | null | null | null | null | null |
source | edk2 | /** @file
QEMU/KVM Firmware Configuration access
Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2013, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/QemuFwCfg.h>
#include <Library/PlatformInitLib.h>
/**
Returns... | OvmfPkg/Include/Library/QemuFwCfgLib.h | null | null | null | null | null |
source | edk2 | /** @file
S3 support for QEMU fw_cfg
This library class enables driver modules (a) to query whether S3 support was
enabled on the QEMU command line, (b) to produce fw_cfg DMA operations that
are to be replayed at S3 resume time.
Copyright (C) 2017, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Pate... | OvmfPkg/Include/Library/QemuFwCfgS3Lib.h | null | null | null | null | null |
source | edk2 | /** @file
Parse the contents of named fw_cfg files as simple (scalar) data types.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
/**
Look up FileName with QemuFwCfgFindFile() from QemuFwCfgLib. Read the fw_cfg
file into a small array with... | OvmfPkg/Include/Library/QemuFwCfgSimpleParserLib.h | null | null | null | null | null |
source | edk2 | /** @file
Load a kernel image and command line passed to QEMU via
the command line
Copyright (C) 2020, Arm, Limited.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi/UefiBaseType.h>
#include <Base.h>
#include <Protocol/LoadedImage.h>
/**
Download the kernel, the initial ramdi... | OvmfPkg/Include/Library/QemuLoadImageLib.h | null | null | null | null | null |
source | edk2 | /** @file
Serialize & Deserialize UEFI Variables
Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Callback function for each variable
@param[in] Context - Context as sent to the iteration function
@param[in] VariableName -... | OvmfPkg/Include/Library/SerializeVariablesLib.h | null | null | null | null | null |
source | edk2 | /** @file
TdxHelperLib header file
Copyright (c) 2021 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
/**
In Tdx guest, some information need to be passed from host VMM to guest
firmware. For example, the memory resource... | OvmfPkg/Include/Library/TdxHelperLib.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Library/BaseLib.h>
#include <Uefi/UefiBaseType.h>
#include <Uefi/UefiSpec.h>
#include <Pi/PiPeiCis.h>
#include <Library/DebugLib.h>
#include <Protocol/DebugSupport.h... | OvmfPkg/Include/Library/TdxMailboxLib.h | null | null | null | null | null |
source | edk2 | /** @file VirtNorFlashDeviceLib.h
Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2025, Ventana Micro Systems Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
// Each command must be sent simultaneously to both chips,
// i.e. at the lower... | OvmfPkg/Include/Library/VirtNorFlashDeviceLib.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
typedef struct {
UINTN DeviceBaseAddress; // Start address of the Device Base Address (DBA)
UINTN RegionBaseAddress; // Start address of one single region
UI... | OvmfPkg/Include/Library/VirtNorFlashPlatformLib.h | null | null | null | null | null |
source | edk2 | /** @file
Declarations of utility functions used by virtio device drivers.
Copyright (C) 2012-2016, Red Hat, Inc.
Copyright (C) 2017, AMD Inc, All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/VirtioDevice.h>
#include <IndustryStandard/Virtio.h>
/*... | OvmfPkg/Include/Library/VirtioLib.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions for the VirtIo MMIO Device Library
Copyright (C) 2013, ARM Ltd
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Initialize VirtIo Device and Install VIRTIO_DEVICE_PROTOCOL protocol
@param[in] BaseAddress Base Address of the VirtIo MMIO Device
@param[in] Handl... | OvmfPkg/Include/Library/VirtioMmioDeviceLib.h | null | null | null | null | null |
source | edk2 | /** @file
Functions declarations to make Xen hypercalls.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
To call when the gEfiXenInfoGuid HOB became available after the library init
function has already been executed.
This allow to make hypercall in th... | OvmfPkg/Include/Library/XenHypercallLib.h | null | null | null | null | null |
source | edk2 | /** @file
* Manage XenBus device path and I/O handles
*
* Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/
#pragma once
/**
Install the XENBUS_ROOT_DEVICE_PATH and XENIO_PROTOCOL protocols on
the handle pointed to by @Handle, or on a new handle if... | OvmfPkg/Include/Library/XenIoMmioLib.h | null | null | null | null | null |
source | edk2 | /** @file
Get information about Xen
This library simply allow to find out if OVMF is running under Xen and
allow to get more information when it is the case.
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Guid/XenInfo.h>
/**
This funct... | OvmfPkg/Include/Library/XenPlatformLib.h | null | null | null | null | null |
source | edk2 | /** @file
Definition for the CPU_HOT_EJECT_DATA structure, which shares
CPU hot-eject state between OVMF's SmmCpuFeaturesLib instance in
PiSmmCpuDxeSmm, and CpuHotplugSmm.
CPU_HOT_EJECT_DATA is allocated in SMRAM, and pointed-to by
PcdCpuHotEjectDataAddress.
PcdCpuHotEjectDataAddress is valid when SMM_REQ... | OvmfPkg/Include/Pcd/CpuHotEjectData.h | null | null | null | null | null |
source | edk2 | /** @file
MpInitLibDepLib PPI definitions
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
// {138F9CF4-F0E7-4721-8F49-F5FFECF42D40}
#define EFI_PEI_MPINITLIB_MP_DEP_PPI_GUID \
{ \
0x138f9cf4, 0xf0e7, 0x4721, { 0x8f, 0x49, 0xf5, 0x... | OvmfPkg/Include/Ppi/MpInitLibDep.h | null | null | null | null | null |
source | edk2 | /** @file
MpInitLibDep Protocol Guid definitions
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
// {BB00A5CA-08CE-462F-A537-43C74A825CA4}
#define EFI_MPINITLIB_MP_DEP_PROTOCOL_GUID \
{ \
0xbb00a5ca, 0x8ce, 0x462f, { 0xa5, 0x37, 0... | OvmfPkg/Include/Protocol/MpInitLibDepProtocols.h | null | null | null | null | null |
source | edk2 | /** @file
Protocol/GUID definition to describe a x86 Linux kernel image loaded
into memory.
Note that this protocol is considered internal ABI, and may be change
structure at any time without regard for backward compatibility.
Copyright (c) 2020, Arm, Ltd. All rights reserved.<BR>
SPDX-License-Identifier... | OvmfPkg/Include/Protocol/OvmfLoadedX86LinuxKernel.h | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.