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
Implementation of the SNP.Start() function and its private helpers if any.
Copyright (C) 2013, Red Hat, Inc.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/UefiBootServicesTableLib.h>
#include "VirtioNet.h... | OvmfPkg/VirtioNetDxe/SnpStart.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of the SNP.Stop() function and its private helpers if any.
Copyright (C) 2013, Red Hat, Inc.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/UefiBootServicesTableLib.h>
#include "VirtioNet.h"... | OvmfPkg/VirtioNetDxe/SnpStop.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of the SNP.Transmit() function and its private helpers if any.
Copyright (C) 2013, Red Hat, Inc.
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#... | OvmfPkg/VirtioNetDxe/SnpTransmit.c | null | null | null | null | null |
source | edk2 | /** @file
Empty implementation of the SNP methods that dependent protocols don't
absolutely need and the UEFI-2.3.1+errC specification allows us not to
support.
Copyright (C) 2013, Red Hat, Inc.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-P... | OvmfPkg/VirtioNetDxe/SnpUnsupported.c | null | null | null | null | null |
source | edk2 | ## @file
#
# Technical notes for the virtio-net driver.
#
# Copyright (C) 2013, Red Hat, Inc.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
Disclaimer
----------
All statements concerning standards and specifications are informative and not
normative. They are made in good faith. Corrections are most welcome ... | OvmfPkg/VirtioNetDxe/TechNotes.txt | null | null | null | null | null |
source | edk2 | /** @file
Internal definitions for the virtio-net driver, which produces Simple Network
Protocol instances for virtio-net devices.
Copyright (C) 2013, Red Hat, Inc.
Copyright (c) 2017, AMD Inc, All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStanda... | OvmfPkg/VirtioNetDxe/VirtioNet.h | null | null | null | null | null |
source | edk2 | /** @file
This driver produces Virtio Device Protocol instances for Virtio PCI devices.
Copyright (C) 2012, Red Hat, Inc.
Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2013, ARM Ltd.
Copyright (C) 2017, AMD Inc, All rights reserved.<BR>
SPDX-License-Identifier: BSD-... | OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c | null | null | null | null | null |
source | edk2 | /** @file
Internal definitions for the VirtIo PCI Device driver
Copyright (C) 2013, ARM Ltd
Copyright (c) 2017, AMD Inc, All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/ComponentName.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/PciIo.h... | OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h | null | null | null | null | null |
source | edk2 | /** @file
This driver produces Virtio Device Protocol instances for Virtio PCI devices.
Copyright (C) 2012, Red Hat, Inc.
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2013, ARM Ltd.
Copyright (C) 2017, AMD Inc, All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Claus... | OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c | null | null | null | null | null |
source | edk2 | /** @file
This driver produces EFI_RNG_PROTOCOL instances for virtio-rng devices.
The implementation is based on OvmfPkg/VirtioScsiDxe/VirtioScsi.c
Copyright (C) 2012, Red Hat, Inc.
Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Inc, All rights reserved.<BR>
... | OvmfPkg/VirtioRngDxe/VirtioRng.c | null | null | null | null | null |
source | edk2 | /** @file
Private definitions of the VirtioRng RNG driver
Copyright (C) 2016, Linaro Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/ComponentName.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/Rng.h>
#include <IndustryStandard/Virtio.h>
#define VIRTIO_RNG_... | OvmfPkg/VirtioRngDxe/VirtioRng.h | null | null | null | null | null |
source | edk2 | /** @file
This driver produces Extended SCSI Pass Thru Protocol instances for
virtio-scsi devices.
The implementation is basic:
- No hotplug / hot-unplug.
- Although EFI_EXT_SCSI_PASS_THRU_PROTOCOL.PassThru() could be a good match
for multiple in-flight virtio-scsi requests, we stick to synchronous
... | OvmfPkg/VirtioScsiDxe/VirtioScsi.c | null | null | null | null | null |
source | edk2 | /** @file
Internal definitions for the virtio-scsi driver, which produces Extended SCSI
Pass Thru Protocol instances for virtio-scsi devices.
Copyright (C) 2012, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/ComponentName.h>
#include <Protocol/DriverBinding... | OvmfPkg/VirtioScsiDxe/VirtioScsi.h | null | null | null | null | null |
source | edk2 | /** @file
Driver for virtio-serial devices.
The virtio serial device also known as virtio console device because
initially it had only support for a single tty, intended to be used
as console. Support for multiple streams and named data ports has
been added later on.
https://docs.oasis-open.org/virtio/v... | OvmfPkg/VirtioSerialDxe/VirtioSerial.c | null | null | null | null | null |
source | edk2 | /** @file
Private definitions of the VirtioRng RNG driver
Copyright (C) 2016, Linaro Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/ComponentName.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/SerialIo.h>
#include <IndustryStandard/Virtio.h>
#include <Indus... | OvmfPkg/VirtioSerialDxe/VirtioSerial.h | null | null | null | null | null |
source | edk2 | /** @file
Driver for virtio-serial devices.
Helper functions to manage virtio serial ports.
Console ports will be registered as SerialIo UARTs.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Libr... | OvmfPkg/VirtioSerialDxe/VirtioSerialPort.c | null | null | null | null | null |
source | edk2 | /** @file
Driver for virtio-serial devices.
Helper functions to manage virtio rings.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiL... | OvmfPkg/VirtioSerialDxe/VirtioSerialRing.c | null | null | null | null | null |
source | edk2 | /** @file
OVMF ACPI Platform Driver for Xen guests
Copyright (C) 2021, Red Hat, Inc.
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/AcpiPlatformLib.h> // InstallAcpiTablesFromMemory()
#include <Library/DebugLib.h> ... | OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.c | null | null | null | null | null |
source | edk2 | /** @file
OVMF ACPI Platform Driver for Xen guests
Copyright (C) 2021, Red Hat, Inc.
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/AcpiTable.h> // EFI_ACPI_TABLE_PROTOCOL
EFI_STATUS
EFIAPI
InstallXenTa... | OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.h | null | null | null | null | null |
source | edk2 | /** @file
Entry point of OVMF ACPI Platform Driver for Xen guests
Copyright (C) 2015-2021, Red Hat, Inc.
Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/DebugLib.h> // ASSERT_EFI_ERROR()
#include <Lib... | OvmfPkg/XenAcpiPlatformDxe/EntryPoint.c | null | null | null | null | null |
source | edk2 | /** @file
Component Name functions implementation for XenBus Bus driver.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "XenBusDxe.h"
///
/// Component Name Protocol instance
///
GLOBAL_REMOVE_IF_UNREFERENCED
EFI_COMPONENT_NAME_PROTOCOL gXenBusDxeComponentName = {
... | OvmfPkg/XenBusDxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Component Name functions declaration for XenBus Bus driver.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
/**
Retrieves a Unicode string that is the user-readable name of the EFI Driver.
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.... | OvmfPkg/XenBusDxe/ComponentName.h | null | null | null | null | null |
source | edk2 | /** @file
Driver Binding functions declaration for XenBus Bus driver.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
/**
Tests to see if this driver supports a given controller. If a child device is provided,
it further tests to see if this driver supports creating a hand... | OvmfPkg/XenBusDxe/DriverBinding.h | null | null | null | null | null |
source | edk2 | /** @file
Event Channel function implementation.
Event channel are use to notify of an event that happened in a shared
structure for example.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "EventChannel.h"
#include <Library/XenHypercallLib.h>
UINT32
XenEventCha... | OvmfPkg/XenBusDxe/EventChannel.c | null | null | null | null | null |
source | edk2 | /** @file
Event Channel function declaration.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "XenBusDxe.h"
#include <IndustryStandard/Xen/event_channel.h>
/**
Send an event to the remote end of the channel whose local endpoint is Port.
@param Dev... | OvmfPkg/XenBusDxe/EventChannel.h | null | null | null | null | null |
source | edk2 | /** @file
Grant Table function implementation.
Grant Table are used to grant access to certain page of the current
VM to an other VM.
Author: Steven Smith (sos22@cam.ac.uk)
Changes: Grzegorz Milos (gm281@cam.ac.uk)
Copyright (C) 2006, Cambridge University
Copyright (C) 2014, Citrix Ltd.
SPDX-License-... | OvmfPkg/XenBusDxe/GrantTable.c | null | null | null | null | null |
source | edk2 | /** @file
Grant Table function declaration.
Grant Table are used to grant access to certain page of the current
VM to an other VM.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/Xen/grant_table.h>
/**
Initialize the Grant Table... | OvmfPkg/XenBusDxe/GrantTable.h | null | null | null | null | null |
source | edk2 | #include "XenBusDxe.h"
CHAR8 *
AsciiStrDup (
IN CONST CHAR8 *Str
)
{
return AllocateCopyPool (AsciiStrSize (Str), Str);
} | OvmfPkg/XenBusDxe/Helpers.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of TestAndClearBit using compare-exchange primitive
Copyright (C) 2015, Linaro Ltd.
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/SynchronizationLib.h>
INT32
EFIAPI
TestAndClearBi... | OvmfPkg/XenBusDxe/TestAndClearBit.c | null | null | null | null | null |
source | edk2 | /** @file
XenBus Bus driver implementation.
This file implement the necessary to discover and enumerate Xen PV devices
through XenStore.
Copyright (C) 2010 Spectra Logic Corporation
Copyright (C) 2008 Doug Rabson
Copyright (C) 2005 Rusty Russell, IBM Corporation
Copyright (C) 2005 Mike Wray, Hewlett-Pac... | OvmfPkg/XenBusDxe/XenBus.c | null | null | null | null | null |
source | edk2 | /** @file
XenBus Bus driver declarations.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "XenBusDxe.h"
#define XENBUS_DEVICE_PATH_TYPE_VBD 0x1
struct _XENBUS_DEVICE_PATH {
VENDOR_DEVICE_PATH Vendor;
UINT8 Type;
UINT16 ... | OvmfPkg/XenBusDxe/XenBus.h | null | null | null | null | null |
source | edk2 | /** @file
This driver produces XenBus Protocol instances for each Xen PV devices.
This XenBus bus driver will first initialize different services in order to
enumerate the ParaVirtualized devices available.
Those services are:
- HyperCall
- Event Channel
- Grant Table
- XenStore
- XenBus
... | OvmfPkg/XenBusDxe/XenBusDxe.c | null | null | null | null | null |
source | edk2 | /** @file
Function declaration and internal data for XenBusDxe.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
//
// Libraries
//
#include <Library/UefiBootServicesTableLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/BaseMemo... | OvmfPkg/XenBusDxe/XenBusDxe.h | null | null | null | null | null |
source | edk2 | /** @file
Low-level kernel interface to the XenStore.
The XenStore interface is a simple storage system that is a means of
communicating state and configuration data between the Xen Domain 0
and the various guest domains. All configuration data other than
a small amount of essential information required dur... | OvmfPkg/XenBusDxe/XenStore.c | null | null | null | null | null |
source | edk2 | /** @file
Method declarations and structures for accessing the XenStore
Copyright (C) 2005 Rusty Russell, IBM Corporation
Copyright (C) 2005 XenSource Ltd.
Copyright (C) 2009,2010 Spectra Logic Corporation
Copyright (C) 2014, Citrix Ltd.
This file may be distributed separately from the Linux kernel, or
... | OvmfPkg/XenBusDxe/XenStore.h | null | null | null | null | null |
source | edk2 | /** @file
Driver for the virtual Xen PCI device
Copyright (C) 2012, Red Hat, Inc.
Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2013, ARM Ltd.
Copyright (C) 2015, Linaro Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <IndustryStandard/Acpi.h>
#incl... | OvmfPkg/XenIoPciDxe/XenIoPciDxe.c | null | null | null | null | null |
source | edk2 | /** @file
Driver for the XenIo protocol
This driver simply allocate space for the grant tables.
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/XenIoMmioLib.h>
#include <Library... | OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.c | null | null | null | null | null |
source | edk2 | /**@file
Initialize Secure Encrypted Virtualization (SEV) support
Copyright (c) 2017 - 2020, Advanced Micro Devices. All rights reserved.<BR>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
//
// The package level header files this module uses
//
#include <Library/De... | OvmfPkg/XenPlatformPei/AmdSev.c | null | null | null | null | null |
source | edk2 | /**@file
Install a callback to clear cache on all processors.
This is for conformance with the TCG "Platform Reset Attack Mitigation
Specification". Because clearing the CPU caches at boot doesn't impact
performance significantly, do it unconditionally, for simplicity's
sake.
Copyright (C) 2018, Red Hat, I... | OvmfPkg/XenPlatformPei/ClearCache.c | null | null | null | null | null |
source | edk2 | /** @file
PC/AT CMOS access routines
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Cmos.h"
#include "Library/IoLib.h"
/**
Reads 8-bits of CMOS data.
Reads the 8-bits of CMOS dat... | OvmfPkg/XenPlatformPei/Cmos.c | null | null | null | null | null |
source | edk2 | /** @file
PC/AT CMOS access routines
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Reads 8-bits of CMOS data.
Reads the 8-bits of CMOS data at the location specified by I... | OvmfPkg/XenPlatformPei/Cmos.h | null | null | null | null | null |
source | edk2 | /** @file
Build FV related hobs for platform.
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiPei.h"
#include "Platform.h"
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#i... | OvmfPkg/XenPlatformPei/Fv.c | null | null | null | null | null |
source | edk2 | /**@file
Memory Detection for Virtual Machines.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Module Name:
MemDetect.c
**/
//
// The package level header files this module uses
//
#include <Ind... | OvmfPkg/XenPlatformPei/MemDetect.c | null | null | null | null | null |
source | edk2 | /**@file
Platform PEI driver
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
//
// The package level header files this module uses
//... | OvmfPkg/XenPlatformPei/Platform.c | null | null | null | null | null |
source | edk2 | /** @file
Platform PEI module include file.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/E820.h>
#include <Library/PlatformInitLib.h>
VOID
AddIoMemory... | OvmfPkg/XenPlatformPei/Platform.h | null | null | null | null | null |
source | edk2 | /**@file
Xen Platform PEI support
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
//
// The package level header files this module us... | OvmfPkg/XenPlatformPei/Xen.c | null | null | null | null | null |
source | edk2 | /** @file
Ovmf info structure passed by Xen
Copyright (c) 2013, Citrix Systems UK Ltd.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
// Physical address of OVMF info
#define OVMF_INFO_PHYSICAL_ADDRESS 0x00001000
// This structure must match the definition on Xen side
#pr... | OvmfPkg/XenPlatformPei/Xen.h | null | null | null | null | null |
source | edk2 | /** @file
Minimal block driver for Mini-OS.
Copyright (c) 2007-2008 Samuel Thibault.
Copyright (C) 2014, Citrix Ltd.
Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/PrintLib.h>
#include <Library/DebugLib.h>
#include "BlockF... | OvmfPkg/XenPvBlkDxe/BlockFront.c | null | null | null | null | null |
source | edk2 | /** @file
BlockFront functions and types declarations.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "XenPvBlkDxe.h"
#include <IndustryStandard/Xen/event_channel.h>
#include <IndustryStandard/Xen/io/blkif.h>
typedef struct _XEN_BLOCK_FRONT_DEVICE XEN_BLOCK_FRONT_D... | OvmfPkg/XenPvBlkDxe/BlockFront.h | null | null | null | null | null |
source | edk2 | /** @file
BlockIo implementation for Xen PV Block driver.
This file is implementing the interface between the actual driver in
BlockFront.c to the BlockIo protocol.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "XenPvBlkDxe.h"
#include "BlockFront.h"
///
/// ... | OvmfPkg/XenPvBlkDxe/BlockIo.c | null | null | null | null | null |
source | edk2 | /** @file
BlockIo function declaration for Xen PV block driver.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
/**
Read BufferSize bytes from Lba into Buffer.
@param This Indicates a pointer to the calling context.
@param MediaId Id of the media, changes eve... | OvmfPkg/XenPvBlkDxe/BlockIo.h | null | null | null | null | null |
source | edk2 | /** @file
Component Name functions implementation for XenPvBlk driver.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "XenPvBlkDxe.h"
///
/// Component Name Protocol instance
///
GLOBAL_REMOVE_IF_UNREFERENCED
EFI_COMPONENT_NAME_PROTOCOL gXenPvBlkDxeComponentName = ... | OvmfPkg/XenPvBlkDxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Component Name functions declaration for XenPvBlk driver.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
/**
Retrieves a Unicode string that is the user-readable name of the EFI Driver.
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
... | OvmfPkg/XenPvBlkDxe/ComponentName.h | null | null | null | null | null |
source | edk2 | /** @file
Driver Binding functions declaration for XenPvBlk driver.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
/**
Tests to see if this driver supports a given controller. If a child device is provided,
it further tests to see if this driver supports creating a handle... | OvmfPkg/XenPvBlkDxe/DriverBinding.h | null | null | null | null | null |
source | edk2 | /** @file
This driver produce a BlockIo protocol instance for a Xen PV block device.
This driver support XenBus protocol of type 'vbd'. Every function that
comsume XenBus protocol are in BlockFront, which the implementation to access
a Xen PV device. The BlockIo implementation is in it's one file and will call... | OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.c | null | null | null | null | null |
source | edk2 | /** @file
Main header for XenPvBlkDxe
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#define xen_mb() MemoryFence()
#define xen_rmb() MemoryFence()
#define xen_wmb() MemoryFence()
//
// Libraries
//
#include <Library/UefiBootServicesTable... | OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.h | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Transition from 16 bit real mode into 32 bit flat protected mode
;
; Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2019, Citrix Systems, Inc.
; SPDX-License-Identifier: BSD-2-Clause-Patent
... | OvmfPkg/XenResetVector/Ia16/Real16ToFlat32.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; First code executed by processor after resetting.
;
; Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2019, Citrix Systems, Inc.
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;----------... | OvmfPkg/XenResetVector/Ia16/ResetVectorVtf0.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Transition from 32 bit flat protected mode into 64 bit flat protected mode
;
; Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2019, Citrix Systems, Inc.
;
; SPDX-License-Identifier: BSD-2-Cl... | OvmfPkg/XenResetVector/Ia32/Flat32ToFlat64.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Sets the CR3 register for 64-bit paging
;
; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2019, Citrix Systems, Inc.
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;----------------------... | OvmfPkg/XenResetVector/Ia32/PageTables64.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Search for the Boot Firmware Volume (BFV) base address
;
; Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2019, Citrix Systems, Inc.
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;-----... | OvmfPkg/XenResetVector/Ia32/SearchForBfvBase.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; An entry point use by Xen when a guest is started in PVH mode.
;
; Copyright (c) 2019, Citrix Systems, Inc.
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;----------------------------------------------------------------------... | OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm | null | null | null | null | null |
source | edk2 | /** @file
This portion is to register the IDE Controller Driver name:
"IDE Controller Init Driver"
Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "IdeController.h"
//
/// EFI Component Name Protocol
///
GLOBAL_REMOVE_IF_UNREFE... | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
This driver module produces IDE_CONTROLLER_INIT protocol and will be used by
IDE Bus driver to support platform dependent timing information. This driver
is responsible for early initialization of IDE controller.
Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Id... | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c | null | null | null | null | null |
source | edk2 | /** @file
Header file for IDE controller driver.
Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/ComponentName.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/PciIo.h>
#include <... | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h | null | null | null | null | null |
source | edk2 | /** @file
Timer Architectural Protocol module using High Precision Event Timer (HPET)
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Protocol/Cpu.h>
#include <Protocol/Timer.h>
#include <Library/IoLib.h>
#in... | PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c | null | null | null | null | null |
source | edk2 | /** @file
GUID for PcAtChipsetPkg PCD Token Space.
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define PCATCHIPSET_TOKEN_SPACE_GUID \
{ \
0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 ... | PcAtChipsetPkg/Include/Guid/PcAtChipsetTokenSpace.h | null | null | null | null | null |
source | edk2 | /** @file
Public include file for I/O APIC library.
I/O APIC library assumes I/O APIC is enabled. It does not
handles cases where I/O APIC is disabled.
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Read a 32-bit ... | PcAtChipsetPkg/Include/Library/IoApicLib.h | null | null | null | null | null |
source | edk2 | /** @file
HPET register definitions from the IA-PC HPET (High Precision Event Timers)
Specification, Revision 1.0a, October 2004.
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
///
/// HPET General Register Offsets
///
#de... | PcAtChipsetPkg/Include/Register/Hpet.h | null | null | null | null | null |
source | edk2 | /** @file
I/O APIC Register Definitions from 82093AA I/O Advanced Programmable Interrupt
Controller (IOAPIC), 1996.
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
///
/// I/O APIC Register Offsets
///
#define IOAPIC_INDEX_... | PcAtChipsetPkg/Include/Register/IoApic.h | null | null | null | null | null |
source | edk2 | /** @file
ACPI Timer implements one instance of Timer Library.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/TimerLib.h>
#include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include <Library/PciLi... | PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
ACPI Timer implements one instance of Timer Library.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/TimerLib.h>
#include <Library/BaseLib.h>
/**
Calculate TSC frequency.
The TSC counting... | PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
ACPI Timer implements one instance of Timer Library.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include "DxeStandaloneMmAcpiTimerLib.h"
/**
The constructor funct... | PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
ACPI Timer implements one instance of Timer Library.
Copyright (c) 2013 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Library/TimerLib.h>
#include <Library/BaseLib.h>
#include <Library/HobLib.h>
//
// Cached performa... | PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
Header file internal to ACPI TimerLib.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
The constructor function enables ACPI IO space, and caches PerformanceCounterFrequency.
@retval EFI_SUCCESS The constructor always returns RETURN_SUCCESS.
... | PcAtChipsetPkg/Library/AcpiTimerLib/DxeStandaloneMmAcpiTimerLib.h | null | null | null | null | null |
source | edk2 | /** @file
ACPI Timer implements one instance of Timer Library.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/TimerLib.h>
#include <Library/BaseLib.h>
#include <Library/HobLib.h>
#include <Library/Debu... | PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
ACPI Timer implements one instance of Timer Library.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include "DxeStandaloneMmAcpiTimerLib.h"
/**
The constructor functi... | PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneMmAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
I/O APIC library.
I/O APIC library assumes I/O APIC is enabled. It does not
handles cases where I/O APIC is disabled.
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/IoApicLib.h>
#includ... | PcAtChipsetPkg/Library/BaseIoApicLib/IoApicLib.c | null | null | null | null | null |
source | edk2 | /** @file
Reset System Library functions for PCAT platforms
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi/UefiBaseType.h>
#include <Uefi/UefiMultiPhase.h>
#include <Library/DebugLib.h>
#include <Library... | PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c | null | null | null | null | null |
source | edk2 | /** @file
UART Serial Port library functions
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/IoLib.h>
#include <Library/SerialPortLib.h>
// ---------------------------------------------
// UART Register... | PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c | null | null | null | null | null |
source | edk2 | /** @file
RTC Architectural Protocol GUID as defined in DxeCis 0.96.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
Copyright (c) 2018 - 2020, ARM Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#inclu... | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | null | null | null | null | null |
source | edk2 | /** @file
Header file for real time clock driver.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Guid/Acpi.h>
#include <Protocol/RealTimeClock.... | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h | null | null | null | null | null |
source | edk2 | /** @file
Provides Set/Get time operations.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2018 - 2020, ARM Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/DxeServicesTableLib.h>
#include "PcRtc.h"
PC_RTC_MODULE_GLOBALS mM... | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c | null | null | null | null | null |
source | edk2 | # **Platform Runtime Mechanism**
Platform Runtime Mechanism (PRM) introduces the capability of moving platform-specific code out of SMM and into a
code module that executes within the OS context. Moving this firmware to the OS context provides better transparency
and mitigates the negative system impact currently acco... | PrmPkg/Readme.md | null | null | null | null | null |
source | edk2 | /** @file
Prints information about the PRM configuration loaded by the system firmware.
This application also provides some additional testing features for PRM configuration. For example,
the application can be used to selectively invoke PRM handlers in the UEFI shell environment to
provide a quick testing pat... | PrmPkg/Application/PrmInfo/PrmInfo.c | null | null | null | null | null |
source | edk2 | /** @file
Prints information about the PRM configuration loaded by the system firmware.
Copyright (C) Microsoft Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Prm.h>
#include <PrmDataBuffer.h>
#include <Uefi.h>
#define APPLICATION_... | PrmPkg/Application/PrmInfo/PrmInfo.h | null | null | null | null | null |
source | edk2 | /** @file
Common Platform Runtime Mechanism (PRM) definitions.
Copyright (c) Microsoft Corporation
Copyright (c) 2022, Arm Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <PrmContextBuffer.h>
#if defined (_MSC_EXTENSIONS)
#define P... | PrmPkg/Include/Prm.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions for the Platform Runtime Mechanism (PRM) context buffer structures.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PrmDataBuffer.h>
#include <PrmMmio.h>
#include <Uefi.h>
#define PRM_CONTEXT_BUFFER_SIGNATURE SIGNATUR... | PrmPkg/Include/PrmContextBuffer.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions for the Platform Runtime Mechanism (PRM) data buffer structures.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#define PRM_DATA_BUFFER_HEADER_SIGNATURE SIGNATURE_32('P','R','M','S')
#define PRM_ACPI_P... | PrmPkg/Include/PrmDataBuffer.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions for the Platform Runtime Mechanism (PRM) export descriptor structures.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Prm.h>
#define PRM_MODULE_EXPORT_DESCRIPTOR_NAME PrmModuleExportDescriptor
#define PRM_MODULE_EXPORT_... | PrmPkg/Include/PrmExportDescriptor.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions for the Platform Runtime Mechanism (PRM) MMIO elements.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#pragma pack(push, 1)
///
/// Describes a memory range that needs to be made accessible at OS runtime.
///
/// Th... | PrmPkg/Include/PrmMmio.h | null | null | null | null | null |
source | edk2 | /** @file
Common definitions needed for Platform Runtime Mechanism (PRM) modules.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Prm.h>
#include <PrmContextBuffer.h>
#include <PrmDataBuffer.h>
#include <PrmExportDescriptor.h>
#include <PrmMmio.h>
... | PrmPkg/Include/PrmModule.h | null | null | null | null | null |
source | edk2 | /** @file
Definitions used internal to the PrmPkg implementation for PRM module image context.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <IndustryStandard/PeImage.h>
#include <Library/PeCoffLib.h>
#include <PrmExportDescriptor.h>
#pragma pack... | PrmPkg/Include/PrmModuleImageContext.h | null | null | null | null | null |
source | edk2 | /** @file
The PRM Buffer Context library provides a general abstraction for context buffer management.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <PrmContextBuffer.h>
#include <Uefi.h>
typedef enum {
///
/// Search by the ... | PrmPkg/Include/Library/PrmContextBufferLib.h | null | null | null | null | null |
source | edk2 | /** @file
The PRM Module Discovery library provides functionality to discover PRM modules installed by platform firmware.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <PrmContextBuffer.h>
#include <PrmModuleImageContext.h>
#inclu... | PrmPkg/Include/Library/PrmModuleDiscoveryLib.h | null | null | null | null | null |
source | edk2 | /** @file
The PRM PE/COFF library provides functionality to support additional PE/COFF functionality needed to use
Platform Runtime Mechanism (PRM) modules.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <PrmExportDescriptor.h>
#... | PrmPkg/Include/Library/PrmPeCoffLib.h | null | null | null | null | null |
source | edk2 | /** @file
PRM Configuration protocol
PRM Configuration protocol is used by PRM module configuration libraries to
describe their resources so that a generic PRM Configuration DXE driver can prepare those
resources for OS runtime.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Pa... | PrmPkg/Include/Protocol/PrmConfig.h | null | null | null | null | null |
source | edk2 | /** @file
The PRM Buffer Context library provides a general abstraction for context buffer management.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/PrmContext... | PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c | null | null | null | null | null |
source | edk2 | /** @file
Unit tests for the PRM Context Buffer Library.
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <Uefi.h>
#include <Guid/ZeroGuid.h>
#i... | PrmPkg/Library/DxePrmContextBufferLib/UnitTest/DxePrmContextBufferLibUnitTest.c | null | null | null | null | null |
source | edk2 | /** @file
The PRM Module Discovery library provides functionality to discover PRM modules installed by platform firmware.
Copyright (c) Microsoft Corporation
Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include <Pr... | PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c | 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.