TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
UINT32 EFIAPI | GetCpusNum (VOID) |
volatile VOID *EFIAPI | GetTdxMailBox (VOID) |
VOID EFIAPI | MpSendWakeupCommand (IN UINT16 Command, IN UINT64 WakeupVector, IN UINT64 WakeupArgs1, IN UINT64 WakeupArgs2, IN UINT64 WakeupArgs3, IN UINT64 WakeupArgs4) |
VOID EFIAPI | MpSerializeStart (VOID) |
VOID EFIAPI | MpSerializeEnd (VOID) |
Copyright (c) 2008, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TdxMailboxNull.c.
UINT32 EFIAPI GetCpusNum | ( | VOID | ) |
This function will be called by BSP to get the CPU number.
CPU | number |
Definition at line 20 of file TdxMailboxNull.c.
volatile VOID *EFIAPI GetTdxMailBox | ( | VOID | ) |
Get the address of Td mailbox.
Definition at line 33 of file TdxMailboxNull.c.
VOID EFIAPI MpSendWakeupCommand | ( | IN UINT16 | Command, |
IN UINT64 | WakeupVector, | ||
IN UINT64 | WakeupArgs1, | ||
IN UINT64 | WakeupArgs2, | ||
IN UINT64 | WakeupArgs3, | ||
IN UINT64 | WakeupArgs4 | ||
) |
This function will be called by BSP to wakeup APs the are spinning on mailbox in protected mode
[in] | Command | Command to send APs |
[in] | WakeupVector | If used, address for APs to start executing |
[in] | WakeArgsX | Args to pass to APs for excuting commands |
Definition at line 51 of file TdxMailboxNull.c.
VOID EFIAPI MpSerializeEnd | ( | VOID | ) |
BSP wait until all the APs arriving. It means the task triggered by BSP is ended.
Definition at line 80 of file TdxMailboxNull.c.
VOID EFIAPI MpSerializeStart | ( | VOID | ) |
BSP wait until all the APs arriving. It means the task triggered by BSP is started.
Definition at line 68 of file TdxMailboxNull.c.