]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Include/Library/TdxMailboxLib.h
3 Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef TDX_MAILBOX_LIB_H_
10 #define TDX_MAILBOX_LIB_H_
12 #include <Library/BaseLib.h>
13 #include <Uefi/UefiBaseType.h>
14 #include <Uefi/UefiSpec.h>
15 #include <Pi/PiPeiCis.h>
16 #include <Library/DebugLib.h>
17 #include <Protocol/DebugSupport.h>
20 This function will be called by BSP to get the CPU number.
31 Get the address of Td mailbox.
40 This function will be called by BSP to wakeup APs the are spinning on mailbox
43 @param[in] Command Command to send APs
44 @param[in] WakeupVector If used, address for APs to start executing
45 @param[in] WakeArgsX Args to pass to APs for excuting commands
51 IN UINT64 WakeupVector
,
52 IN UINT64 WakeupArgs1
,
53 IN UINT64 WakeupArgs2
,
54 IN UINT64 WakeupArgs3
,
59 BSP wait until all the APs arriving. It means the task triggered by BSP is started.
68 BSP wait until all the APs arriving. It means the task triggered by BSP is ended.