TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/BaseMemoryLib.h>
#include <Library/CpuLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/LocalApicLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/SafeIntLib.h>
#include <Guid/XenInfo.h>
#include <IndustryStandard/E820.h>
#include <Library/ResourcePublicationLib.h>
#include <Library/MtrrLib.h>
#include <IndustryStandard/PageTable.h>
#include <IndustryStandard/Xen/arch-x86/hvm/start_info.h>
#include <Library/XenHypercallLib.h>
#include <IndustryStandard/Xen/memory.h>
#include "Platform.h"
#include "Xen.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | XenGetE820Map (EFI_E820_ENTRY64 **Entries, UINT32 *Count) |
EFI_STATUS | XenConnect () |
BOOLEAN | XenDetect (VOID) |
BOOLEAN | XenHvmloaderDetected (VOID) |
BOOLEAN | XenPvhDetected (VOID) |
VOID | XenPublishRamRegions (VOID) |
EFI_STATUS | PhysicalAddressIdentityMapping (IN EFI_PHYSICAL_ADDRESS AddressToMap) |
STATIC EFI_STATUS | MapSharedInfoPage (IN VOID *PagePtr) |
STATIC VOID | UnmapXenPage (IN VOID *PagePtr) |
STATIC UINT64 | GetCpuFreq (IN XEN_VCPU_TIME_INFO *VcpuTime) |
STATIC VOID | XenDelay (IN XEN_VCPU_TIME_INFO *VcpuTimeInfo, IN UINT64 DelayNs) |
VOID | CalibrateLapicTimer (VOID) |
Variables | |
STATIC UINT32 | mXenLeaf = 0 |
EFI_XEN_INFO | mXenInfo |
EFI_XEN_OVMF_INFO * | mXenHvmloaderInfo |
STATIC EFI_E820_ENTRY64 | mE820Entries [128] |
STATIC UINT32 | mE820EntriesCount |
Xen Platform PEI support
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
Copyright (c) 2011, Andrei Warkentin andre.nosp@m.iw@m.nosp@m.otoro.nosp@m.la.c.nosp@m.om Copyright (c) 2019, Citrix Systems, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Xen.c.
VOID CalibrateLapicTimer | ( | VOID | ) |
STATIC UINT64 GetCpuFreq | ( | IN XEN_VCPU_TIME_INFO * | VcpuTime | ) |
STATIC EFI_STATUS MapSharedInfoPage | ( | IN VOID * | PagePtr | ) |
EFI_STATUS PhysicalAddressIdentityMapping | ( | IN EFI_PHYSICAL_ADDRESS | AddressToMap | ) |
EFI_STATUS XenConnect | ( | ) |
STATIC VOID XenDelay | ( | IN XEN_VCPU_TIME_INFO * | VcpuTimeInfo, |
IN UINT64 | DelayNs | ||
) |
BOOLEAN XenDetect | ( | VOID | ) |
EFI_STATUS XenGetE820Map | ( | EFI_E820_ENTRY64 ** | Entries, |
UINT32 * | Count | ||
) |
BOOLEAN XenPvhDetected | ( | VOID | ) |
STATIC EFI_E820_ENTRY64 mE820Entries[128] |
EFI_XEN_OVMF_INFO* mXenHvmloaderInfo |
EFI_XEN_INFO mXenInfo |