TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Protocol/AcpiTable.h>
#include <Protocol/FirmwareVolume2.h>
#include <Protocol/PciIo.h>
#include <Library/BaseLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <IndustryStandard/IntelTdx.h>
#include <IndustryStandard/Acpi.h>
Go to the source code of this file.
Functions | |
VOID EFIAPI | AsmGetRelocationMap (OUT MP_RELOCATION_MAP *AddressMap) |
EFI_PHYSICAL_ADDRESS EFIAPI | RelocateMailbox (VOID) |
VOID EFIAPI | AlterAcpiTable (IN EFI_EVENT Event, IN VOID *Context) |
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TdxAcpiTable.h.
Alter the MADT when ACPI Table from QEMU is available.
[in] | Event | Event whose notification function is being invoked |
[in] | Context | Pointer to the notification function's context |
Definition at line 129 of file TdxAcpiTable.c.
EFI_PHYSICAL_ADDRESS EFIAPI RelocateMailbox | ( | VOID | ) |
At the beginning of system boot, a 4K-aligned, 4K-size memory (Td mailbox) is pre-allocated by host VMM. BSP & APs do the page accept together in that memory region.
After that TDVF is designed to relocate the mailbox to a 4K-aligned, 4K-size memory block which is allocated in the ACPI Nvs memory. APs are waken up and spin around the relocated mailbox for further command.
Definition at line 44 of file TdxAcpiTable.c.