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 Boot functions declaration for UefiPxeBc Driver. Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define PXEBC_DISPLAY_MAX_LINE 70 #define PXEBC_DEFAULT_UDP_OVERHEAD_SIZE 8 #define PXEBC_DEFAULT_TFTP_O...
NetworkPkg/UefiPxeBcDxe/PxeBcBoot.h
null
null
null
null
null
source
edk2
/** @file Functions implementation related with DHCPv4 for UefiPxeBc Driver. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PxeBcImpl.h" // // This is a map from the interested DHCP4 option...
NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c
null
null
null
null
null
source
edk2
/** @file Functions declaration related with DHCPv4 for UefiPxeBc Driver. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define PXEBC_DHCP4_OPTION_MAX_NUM 16 #define PXEBC_DHCP4_OPTION_MAX_SIZE 312 #define PXEBC_DHCP4...
NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.h
null
null
null
null
null
source
edk2
/** @file Functions implementation related with DHCPv6 for UefiPxeBc Driver. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include...
NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c
null
null
null
null
null
source
edk2
/** @file Functions declaration related with DHCPv6 for UefiPxeBc Driver. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define PXEBC_DHCP6_OPTION_MAX_NUM 16 #define PXEBC_DHCP6_OPTION_MAX_SIZE 312 #define PXEBC_DHC...
NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h
null
null
null
null
null
source
edk2
/** @file Driver Binding functions implementation for UefiPxeBc Driver. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Pxe...
NetworkPkg/UefiPxeBcDxe/PxeBcDriver.c
null
null
null
null
null
source
edk2
/** @file Driver Binding functions declaration for UefiPxeBc Driver. Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once extern EFI_COMPONENT_NAME_PROTOCOL gPxeBcComponentName; extern EFI_COMPONENT_NAME2_PROTOCOL gPxeBcCompon...
NetworkPkg/UefiPxeBcDxe/PxeBcDriver.h
null
null
null
null
null
source
edk2
/** @file This implementation of EFI_PXE_BASE_CODE_PROTOCOL and EFI_LOAD_FILE_PROTOCOL. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PxeBcImpl.h" /** Enables the use of the PXE Base Code Protocol functions. This functio...
NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c
null
null
null
null
null
source
edk2
/** @file This EFI_PXE_BASE_CODE_PROTOCOL and EFI_LOAD_FILE_PROTOCOL. interfaces declaration. Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Guid/SmBios.h> #include <IndustryStandard/SmBios.h>...
NetworkPkg/UefiPxeBcDxe/PxeBcImpl.h
null
null
null
null
null
source
edk2
/** @file Functions implementation related with Mtftp for UefiPxeBc Driver. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PxeBcImpl.h" CHAR8 *mMtftpOptions[PXE_MTFTP_OPTION_MAXIMUM_INDEX] = { "blksize", "timeout", "tsi...
NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c
null
null
null
null
null
source
edk2
/** @file Functions declaration related with Mtftp for UefiPxeBc Driver. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define PXE_MTFTP_OPTION_BLKSIZE_INDEX 0 #define PXE_MTFTP_OPTION_TIMEOUT_INDEX 1 #define PXE_M...
NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.h
null
null
null
null
null
source
edk2
/** @file Support functions implementation for UefiPxeBc Driver. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PxeBcImpl.h" /** Flush the previous configuration using the new station Ip address. @param[in] Private ...
NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c
null
null
null
null
null
source
edk2
/** @file Support functions declaration for UefiPxeBc Driver. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define ICMP_DEST_UNREACHABLE 3 #define ICMP_SOURCE_QUENCH 4 #define ICMP_REDIRECT 5 #define ICMP...
NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h
null
null
null
null
null
source
edk2
/** @file Host based unit test for PxeBcDhcp6.c. Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> #include <GoogleTest/Library/MockUefiLib.h> #include <GoogleTest/Library/MockUefiRuntimeServicesTableLib.h> #include <GoogleTest/Library/MockUef...
NetworkPkg/UefiPxeBcDxe/GoogleTest/PxeBcDhcp6GoogleTest.cpp
null
null
null
null
null
source
edk2
/** @file This file exposes the internal interfaces which may be unit tested for the PxeBcDhcp6Dxe driver. Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // Minimal includes needed to compile // #include <Uefi.h> #include "../PxeBcImpl.h" /** Hand...
NetworkPkg/UefiPxeBcDxe/GoogleTest/PxeBcDhcp6GoogleTest.h
null
null
null
null
null
source
edk2
/** @file Acts as the main entry point for the tests for the UefiPxeBcDxe module. Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> //////////////////////////////////////////////////////////////////////////////// // Run the tests /////////////...
NetworkPkg/UefiPxeBcDxe/GoogleTest/UefiPxeBcDxeGoogleTest.cpp
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for VlanConfigDxe driver. Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "VlanConfigImpl.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NA...
NetworkPkg/VlanConfigDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file The driver binding for VLAN configuration module. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "VlanConfigImpl.h" EFI_DRIVER_BINDING_PROTOCOL gVlanConfigDriverBinding = { VlanConfigDriverBindingSupported, VlanConfig...
NetworkPkg/VlanConfigDxe/VlanConfigDriver.c
null
null
null
null
null
source
edk2
/** @file HII Config Access protocol implementation of VLAN configuration module. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "VlanConfigImpl.h" CHAR16 mVlanStorageName[] = L"VlanNvData"; EFI_HII_CONFIG_...
NetworkPkg/VlanConfigDxe/VlanConfigImpl.c
null
null
null
null
null
source
edk2
/** @file Header file for driver binding protocol and HII config access protocol. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/ComponentName.h> #include <Protocol/ComponentName2.h> #includ...
NetworkPkg/VlanConfigDxe/VlanConfigImpl.h
null
null
null
null
null
source
edk2
/** @file Header file for NV data structure definition. Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/HiiPlatformSetupFormset.h> #include <Guid/VlanConfigHii.h> #define VLAN_CONFIGURATION_VARSTORE_ID 0x0001 #de...
NetworkPkg/VlanConfigDxe/VlanConfigNvData.h
null
null
null
null
null
source
edk2
/** @file Eap configuration data structure definitions for EAP connections. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef struct { BOOLEAN IsEncrypted; CHAR16 EncryptPassword[PASSWORD_STORAGE_SIZE]; UINTN ...
NetworkPkg/WifiConnectionManagerDxe/EapContext.h
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "WifiConnectionMgrDxe.h" extern EFI_GUID mEfiWifiMgrPrivateGuid; /// /// Component Name Protocol in...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrComponentName.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Retrieves a Unicode string that is the user-readable name of the EFI Driver. @param Thi...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrComponentName.h
null
null
null
null
null
source
edk2
/** @file Define network structure used by the WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "WifiConnectionMgrConfigNVDataStruct.h" extern UINT8 WifiConnectionManagerDxeBin[]; extern UINT8 Wi...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrConfig.h
null
null
null
null
null
source
edk2
/** @file Module level GUIDs used in WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // {36AF7790-0C2F-4055-9D3D-DB72A44953CB} #define WIFI_CONFIG_NETWORK_LIST_REFRESH_GUID \ { \ 0xc5f3c7f9, 0xfb9d, 0...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrConfigHii.h
null
null
null
null
null
source
edk2
/** @file Define IFR NVData structures used by the WiFi Connection Manager. Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/WifiConnectionManagerConfigHii.h> #include "WifiConnectionMgrConfigHii.h" #define MA...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrConfigNVDataStruct.h
null
null
null
null
null
source
edk2
/** @file The driver binding protocol for the WiFi Connection Manager. Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "WifiConnectionMgrDxe.h" /// /// Driver Binding Protocol instance /// EFI_DRIVER_BINDING_PROTOCOL gWifiMgrDx...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDriver.c
null
null
null
null
null
source
edk2
/** @file The driver binding protocol for the WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Tests to see if this driver supports a given controller. If a child device is provided, it further tests...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDriverBinding.h
null
null
null
null
null
source
edk2
/** @file The miscellaneous structure definitions for WiFi connection driver. Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> // // Libraries // #include <Library/UefiBootServicesTableLib.h> #include <Libr...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h
null
null
null
null
null
source
edk2
/** @file The file operation functions for WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "WifiConnectionMgrFileUtil.h" CHAR16 *mDerPemEncodedSuffix[] = { L".cer", L".der", L".crt", L".pem", NULL };...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrFileUtil.c
null
null
null
null
null
source
edk2
/** @file The file operation functions for WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "WifiConnectionMgrDxe.h" /** Read file content into BufferPtr, the size of the allocate buffer is *Fi...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrFileUtil.h
null
null
null
null
null
source
edk2
/** @file The Hii functions for WiFi Connection Manager. Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "WifiConnectionMgrDxe.h" CHAR16 mVendorStorageName[] = L"WIFI_MANAGER_IFR_NVDATA"; HII_VENDOR_DEVICE_PATH mWifiMgrDxeHii...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrHiiConfigAccess.c
null
null
null
null
null
source
edk2
/** @file The Hii functions for WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Update connection message on connect configuration page, and trigger related form refresh. @param[in] Nic ...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrHiiConfigAccess.h
null
null
null
null
null
source
edk2
/** @file The Mac Connection2 Protocol adapter functions for WiFi Connection Manager. Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "WifiConnectionMgrDxe.h" EFI_EAP_TYPE mEapAuthMethod[] = { EFI_EAP_TYPE_TTLS, EFI_EAP_TYP...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrImpl.c
null
null
null
null
null
source
edk2
/** @file The Mac Connection2 Protocol adapter functions for WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Start scan operation, and send out a token to collect available networks. @param[in] Ni...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrImpl.h
null
null
null
null
null
source
edk2
/** @file The Miscellaneous Routines for WiFi Connection Manager. Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "WifiConnectionMgrDxe.h" // // STA AKM preference order // REF: https://www.wi-fi.org/file/wpa3-specification //...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrMisc.c
null
null
null
null
null
source
edk2
/** @file The Miscellaneous Routines for WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Empty function for event process function. @param[in] Event The Event needs to be processed @param[in] ...
NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrMisc.h
null
null
null
null
null
source
edk2
Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyri...
OvmfPkg/License.txt
null
null
null
null
null
source
edk2
/** @file 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 **/ #include "elf.h" #include "fcntl.h" #include "stdbool.h" #inc...
OvmfPkg/OvmfXenElfHeaderGenerator.c
null
null
null
null
null
source
edk2
# QEMU uefi variable store Starting with version 10.0 (released April 2025) qemu can provide an uefi variable store to the guest. ## Motivation Main difference to the traditional approach to provide pflash storage for the variables is that qemu will also handle access control and signature verification for authentic...
OvmfPkg/QEMU_PV_VARS.md
null
null
null
null
null
source
edk2
# OVMF runtime configuration Some aspects of OVMF can be configured from the host, mostly by adding firmware config files using the qemu command line option `-fw_cfg`. The official namespace prefix for edk2 is `opt/org.tianocore/` which is used by most options. Some options are elsewhere for historical reasons. ## ...
OvmfPkg/RUNTIME_CONFIG.md
null
null
null
null
null
source
edk2
/** @file OVMF ACPI Platform Driver Copyright (C) 2015, Red Hat, Inc. Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <OvmfPlatforms.h> // CLOUDHV_DEVICE_ID #include <ConfidentialComputingGuestAttr.h> #include <Library/AcpiPlat...
OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
null
null
null
null
null
source
edk2
/** @file OVMF ACPI Platform Driver 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 InstallCloudHvTablesTdx ( IN EFI_ACPI_TABLE_PROTOCOL *Acpi...
OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h
null
null
null
null
null
source
edk2
/** @file OVMF ACPI Cloud Hypervisor support Copyright (c) 2021, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <IndustryStandard/Acpi.h> // EFI_ACPI_DESCRIPTION_HEADER #include <IndustryStandard/CloudHv.h> // CLOUDH...
OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c
null
null
null
null
null
source
edk2
/** @file Entry point of OVMF ACPI Platform Driver Copyright (C) 2015, Red Hat, Inc. Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/RootBridgesConnectedEventGroup.h> // gRootBridgesConnectedEve... #include <Library/DebugL...
OvmfPkg/AcpiPlatformDxe/EntryPoint.c
null
null
null
null
null
source
edk2
/** @file Blob verifier library that uses SEV hashes table. The hashes table holds the allowed hashes of the kernel, initrd, and cmdline blobs. Copyright (C) 2021, IBM Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseCryptLib.h> #include <Library/BaseLib.h> #include <Libra...
OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierSevHashes.c
null
null
null
null
null
source
edk2
/** @file Confidential Computing Secret configuration table constructor Copyright (C) 2020 James Bottomley, IBM Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/UefiBootServicesTableLib.h> #include <Guid/ConfidentialComputingSecret.h> EFI_STATUS EFIAPI Initializ...
OvmfPkg/AmdSev/SecretDxe/SecretDxe.c
null
null
null
null
null
source
edk2
/** @file SEV Secret boot time HOB placement Copyright (C) 2020 James Bottomley, IBM Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <PiPei.h> #include <Library/HobLib.h> #include <Library/PcdLib.h> EFI_STATUS EFIAPI InitializeSecretPei ( IN EFI_PEI_FILE_HANDLE ...
OvmfPkg/AmdSev/SecretPei/SecretPei.c
null
null
null
null
null
source
edk2
/** @file AMD Sev Dxe driver. This driver is dispatched early in DXE, due to being list in APRIORI. It clears C-bit from MMIO and NonExistent Memory space when SEV is enabled. Copyright (c) 2017 - 2020, AMD Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <IndustryS...
OvmfPkg/AmdSevDxe/AmdSevDxe.c
null
null
null
null
null
source
edk2
Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (C) 2018, Red Hat, Inc. Copyright (c) 2017, Advanced Micro Devices. All rights reserved.<BR> Copyright (C) 2016, Red Hat, Inc. (C) Copyright 2016 Hewlett Packard Enterprise Development L...
OvmfPkg/Bhyve/License.txt
null
null
null
null
null
source
edk2
/** @file bhyve ACPI Platform Driver Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "AcpiPlatform.h" #include <Library/AcpiPlatformLib.h> // InstallAcpiTablesFromMemory() ...
OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
null
null
null
null
null
source
edk2
/** @file bhyve ACPI Platform Driver Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/AcpiTable.h> #include <Protocol/FirmwareVolume2...
OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.h
null
null
null
null
null
source
edk2
/* * Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> * Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR> * Copyright (C) 2012, Red Hat, Inc. * Copyright (c) 2014, Pluribus Networks, Inc. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include "AcpiPlatform.h" #include <Library/Bas...
OvmfPkg/Bhyve/AcpiPlatformDxe/Bhyve.c
null
null
null
null
null
source
edk2
/** @file Entry point of OVMF ACPI Platform Driver Copyright (C) 2015, Red Hat, Inc. Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/RootBridgesConnectedEventGroup.h> #include "AcpiPlatform.h" STATIC EFI_ACPI_TABLE_PROTOC...
OvmfPkg/Bhyve/AcpiPlatformDxe/EntryPoint.c
null
null
null
null
null
source
edk2
/** @file Platform specific defines for constructing ACPI tables Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2014, Pluribus Networks, Inc. Copyright (c) 2012, 2013, Red Hat, Inc. Copyright (c) 2008, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Pa...
OvmfPkg/Bhyve/AcpiTables/Platform.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2010,Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: ComponentName.c Abstract: **/ #include "Gop.h" // // EFI Comp...
OvmfPkg/Bhyve/BhyveRfbDxe/ComponentName.c
null
null
null
null
null
source
edk2
/*++ @file Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2010,Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/GraphicsOutput.h>...
OvmfPkg/Bhyve/BhyveRfbDxe/Gop.h
null
null
null
null
null
source
edk2
/*++ @file Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2010,Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Gop.h" #include <IndustryStandard/Acpi.h> STATIC VOID BhyveGetGr...
OvmfPkg/Bhyve/BhyveRfbDxe/GopDriver.c
null
null
null
null
null
source
edk2
/*++ @file Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2015, Nahanni Systems, Inc. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: EmuGopScr...
OvmfPkg/Bhyve/BhyveRfbDxe/GopScreen.c
null
null
null
null
null
source
edk2
;------------------------------------------------------------------------------ ; @file ; A minimal Int10h stub that allows the Windows 2008 R2 SP1 UEFI guest's buggy, ; default VGA driver to switch to 1024x768x32. ; ; Copyright (C) 2020, Rebecca Cran <rebecca@bsdio.com> ; Copyright (C) 2015, Nahanni Systems, Inc. ; Co...
OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.asm
null
null
null
null
null
source
edk2
/** @file Install a fake VGABIOS service handler (real mode Int10h) for the buggy Windows 2008 R2 SP1 UEFI guest. The handler is never meant to be directly executed by a VCPU; it's there for the internal real mode emulator of Windows 2008 R2 SP1. The code is based on Ralf Brown's Interrupt List: <http://w...
OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.c
null
null
null
null
null
source
edk2
// // THIS FILE WAS GENERATED BY "VbeShim.sh". DO NOT EDIT. // #ifndef _VBE_SHIM_H_ #define _VBE_SHIM_H_ STATIC CONST UINT8 mVbeShim[] = { /* 00000000 nop */ 0x90, /* 00000001 nop */ 0x90, /* 00000002 nop */ 0x90, /* 00000003 no...
OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.h
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> SPDX-License-Identifier: BSD-2-Clause-Patent **/ // // The package level header files this module uses // #include <IndustryStandard/Q35MchIch9.h> #include <Library/Debu...
OvmfPkg/Bhyve/PlatformPei/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/Bhyve/PlatformPei/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> 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 data at the location specified by Index. The ...
OvmfPkg/Bhyve/PlatformPei/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> 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 Index. The 8-bit read value is returned. ...
OvmfPkg/Bhyve/PlatformPei/Cmos.h
null
null
null
null
null
source
edk2
/**@file Install a callback when necessary for setting the Feature Control MSR on all processors. Copyright (C) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (C) 2016, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Platform.h" VOID InstallFeatureControlCallback ( VOID ) { ...
OvmfPkg/Bhyve/PlatformPei/FeatureControl.c
null
null
null
null
null
source
edk2
/** @file Build FV related hobs for platform. Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PiPei.h" #include "Platform.h" #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <Library/PcdLib.h> #include <Library/...
OvmfPkg/Bhyve/PlatformPei/Fv.c
null
null
null
null
null
source
edk2
/**@file Memory Detection for Virtual Machines. Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: MemDetect.c **/ // // The package level header files this module uses // #...
OvmfPkg/Bhyve/PlatformPei/MemDetect.c
null
null
null
null
null
source
edk2
/**@file Platform PEI driver Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com> SPDX-License-Identifier: BSD-2-Clause-Patent **/ // // The package level header files this mo...
OvmfPkg/Bhyve/PlatformPei/Platform.c
null
null
null
null
null
source
edk2
/** @file Platform PEI module include file. Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <IndustryStandard/E820.h> VOID AddIoMemoryBaseSizeHob ( EFI_PHYSIC...
OvmfPkg/Bhyve/PlatformPei/Platform.h
null
null
null
null
null
source
edk2
;------------------------------------------------------------------------------ ; @file ; Transition from 16 bit real mode into 32 bit flat protected mode ; ; Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>. All rights reserved.<BR> ; Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR> ; SPDX-Li...
OvmfPkg/Bhyve/ResetVector/Ia16/Real16ToFlat32.asm
null
null
null
null
null
source
edk2
;------------------------------------------------------------------------------ ; @file ; Sets the CR3 register for 64-bit paging ; ; Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> ; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ;----------...
OvmfPkg/Bhyve/ResetVector/Ia32/PageTables64.asm
null
null
null
null
null
source
edk2
/* * Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> * Copyright (c) 2014, Pluribus Networks, Inc. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include "SmbiosPlatformDxe.h" #define BHYVE_SMBIOS_PHYSICAL_ADDRESS 0x000F0000 #define BHYVE_SMBIOS_PHYSICAL_END 0x000FFFFF /** Locates the bhyve S...
OvmfPkg/Bhyve/SmbiosPlatformDxe/Bhyve.c
null
null
null
null
null
source
edk2
/** @file This driver installs SMBIOS information for OVMF Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2011, Bei Guan <gbtju85@gmail.com> Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SmbiosPlatformD...
OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.c
null
null
null
null
null
source
edk2
/** @file This driver installs SMBIOS information for OVMF Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> Copyright (c) 2011, Bei Guan <gbtju85@gmail.com> Copyright (c) 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h>...
OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h
null
null
null
null
null
source
edk2
/** @file * PE/COFF emulator protocol implementation to start Linux kernel * images from non-native firmware * * Copyright (c) 2020, ARM Ltd. All rights reserved.<BR> * * SPDX-License-Identifier: BSD-2-Clause-Patent * */ #include <PiDxe.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #...
OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.c
null
null
null
null
null
source
edk2
/** @file Type and macro definitions for representing and printing APIC IDs, compatibly with the LocalApicLib and PrintLib classes, respectively. Copyright (c) 2020, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // The type that LocalApicLib represents an APIC ID with. // ty...
OvmfPkg/CpuHotplugSmm/ApicId.h
null
null
null
null
null
source
edk2
/** @file Root SMI handler for VCPU hotplug SMIs. Copyright (c) 2020, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <CpuHotPlugData.h> // CPU_HOT_PLUG_DATA #include <IndustryStandard/Q35MchIch9.h> // ICH9_APM_CNT #include <IndustryStandard/QemuCpuHotplug.h> // QEM...
OvmfPkg/CpuHotplugSmm/CpuHotplug.c
null
null
null
null
null
source
edk2
/** @file Define the FIRST_SMI_HANDLER_CONTEXT structure, which is an exchange area between the SMM Monarch and the hot-added CPU, for relocating the SMBASE of the hot-added CPU. Copyright (c) 2020, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // The following structure i...
OvmfPkg/CpuHotplugSmm/FirstSmiHandlerContext.h
null
null
null
null
null
source
edk2
/** @file Simple wrapper functions and utility functions that access QEMU's modern CPU hotplug register block. These functions manipulate some of the registers described in "docs/specs/acpi_cpu_hotplug.txt" in the QEMU source. IO Ports are accessed via EFI_MM_CPU_IO_PROTOCOL. If a protocol call fails, these ...
OvmfPkg/CpuHotplugSmm/QemuCpuhp.c
null
null
null
null
null
source
edk2
/** @file Simple wrapper functions and utility functions that access QEMU's modern CPU hotplug register block. These functions manipulate some of the registers described in "docs/specs/acpi_cpu_hotplug.txt" in the QEMU source. IO Ports are accessed via EFI_MM_CPU_IO_PROTOCOL. If a protocol call fails, these ...
OvmfPkg/CpuHotplugSmm/QemuCpuhp.h
null
null
null
null
null
source
edk2
/** @file SMBASE relocation for hot-plugged CPUs. Copyright (c) 2020, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> // BASE_1MB #include <Library/BaseLib.h> // CpuPause() #include <Library/BaseMemoryLib.h> // CopyMem() #...
OvmfPkg/CpuHotplugSmm/Smbase.c
null
null
null
null
null
source
edk2
/** @file SMBASE relocation for hot-plugged CPUs. Copyright (c) 2020, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi/UefiBaseType.h> // EFI_STATUS #include <Uefi/UefiSpec.h> // EFI_BOOT_SERVICES #include "ApicId.h" // APIC_ID EFI_STATUS SmbaseAlloca...
OvmfPkg/CpuHotplugSmm/Smbase.h
null
null
null
null
null
source
edk2
/** @file ACPI CPU Data initialization module This module initializes the ACPI_CPU_DATA structure and registers the address of this structure in the PcdCpuS3DataAddress PCD. This is a generic/simple version of this module. It does not provide a machine check handler or CPU register initialization tables for ACPI S3 ...
OvmfPkg/CpuS3DataDxe/CpuS3Data.c
null
null
null
null
null
source
edk2
/** @file Firmware Block Services to support emulating non-volatile variables by pretending that a memory buffer is storage for the NV variables. Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PiDxe.h" #include <Guid/EventGrou...
OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
null
null
null
null
null
source
edk2
/*++ Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: FwBlockService.h Abstract: Firmware volume block driver for Intel Firmware Hub (FWH) device --*/ #pragma once // // Fvb Protocol instance data // #define FVB_DEVICE_FROM_THIS(a) CR...
OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.h
null
null
null
null
null
source
edk2
/** @file Certificate and signature constants for the EnrollDefaultKeys application. Copyright (C) 2014-2019, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "EnrollDefaultKeys.h" // // Second KEK: "Microsoft Corporation KEK CA 2011". // SHA1: 31:59:0b:fd:89:c9:d7:4e:d0:87:df:ac:66:33:...
OvmfPkg/EnrollDefaultKeys/AuthData.c
null
null
null
null
null
source
edk2
/** @file Enroll default PK, KEK, db, dbx. Copyright (C) 2014-2019, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/AuthenticatedVariableFormat.h> // gEfiCustomModeEnableGuid #include <Guid/GlobalVariable.h> // EFI_SETUP_MODE_NAME #include <Guid/ImageAuthenticati...
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
null
null
null
null
null
source
edk2
/** @file Type definitions and object declarations for the EnrollDefaultKeys application. Copyright (C) 2014-2019, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi/UefiBaseType.h> // // Convenience structure types for constructing "signature lists" for // authentic...
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.h
null
null
null
null
null
source
edk2
/** @file PCI Host Bridge Library instance for pci-ecam-generic DT nodes Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/DevicePathLib.h> #include <Lib...
OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c
null
null
null
null
null
source
edk2
/** @file FDT client library for consumers of PCI related dynamic PCDs Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/PcdLib.h> #include <Library/UefiBootS...
OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.c
null
null
null
null
null
source
edk2
/** @file * High memory node enumeration DXE driver for ARM and RISC-V * Virtual Machines * * Copyright (c) 2015-2016, Linaro Ltd. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause-Patent * **/ #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/DxeServicesTableLib.h> #include...
OvmfPkg/Fdt/HighMemDxe/HighMemDxe.c
null
null
null
null
null
source
edk2
/** @file * Virtio FDT client protocol driver for virtio,mmio DT node * * Copyright (c) 2014 - 2016, Linaro Ltd. All rights reserved.<BR> * * SPDX-License-Identifier: BSD-2-Clause-Patent * **/ #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/DevicePathL...
OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.c
null
null
null
null
null
source
edk2
/** @file Enroll secure boot variables passed in via IGVM Copyright (C) 2025, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/AuthenticatedVariableFormat.h> #include <IndustryStandard/IgvmData.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/HobLib.h...
OvmfPkg/IgvmSecureBootDxe/IgvmSecureBootDxe.c
null
null
null
null
null
source
edk2
/** @file OVMF Platform definitions Copyright (C) 2015, Red Hat, Inc. Copyright (c) 2014, Gabriel L. Somlo <somlo@cmu.edu> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/PciLib.h> #include <IndustryStandard/Pci22.h> #include <IndustryStandard/Q35MchIch9.h> #include <Industry...
OvmfPkg/Include/OvmfPlatforms.h
null
null
null
null
null
source
edk2
/** @file Work Area structure definition Copyright (c) 2021 - 2024, AMD Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <ConfidentialComputingGuestAttr.h> #include <IndustryStandard/Tpm20.h> #include <Library/BaseLib.h> // // Confidential computing work area header definition. An...
OvmfPkg/Include/WorkArea.h
null
null
null
null
null
source
edk2
/** @file UEFI Configuration Table for exposing the SEV Launch Secret location to UEFI applications (boot loaders). Copyright (C) 2020 James Bottomley, IBM Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi/UefiBaseType.h> #define CONFIDENTIAL_COMPUTING_SECRET_GUI...
OvmfPkg/Include/Guid/ConfidentialComputingSecret.h
null
null
null
null
null
source
edk2
/** @file UEFI Configuration Table for exposing the SEV-SNP launch blob. Copyright (c) 2021, Advanced Micro Devices Inc. All right reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi/UefiBaseType.h> #define CONFIDENTIAL_COMPUTING_SNP_BLOB_GUID \ { 0x067b1f5...
OvmfPkg/Include/Guid/ConfidentialComputingSevSnpBlob.h
null
null
null
null
null