]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/TdxMailboxLib/TdxMailboxNull.c
OvmfPkg/PlatformInitLib: Add PlatformReservationConflictCB
[mirror_edk2.git] / OvmfPkg / Library / TdxMailboxLib / TdxMailboxNull.c
CommitLineData
6a608255
MX
1/** @file\r
2\r
3 Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r
4 (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
5\r
6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
7\r
8**/\r
9\r
10#include <Library/DebugLib.h>\r
11#include <Library/TdxMailboxLib.h>\r
12\r
13/**\r
14 This function will be called by BSP to get the CPU number.\r
15\r
16 @retval CPU number\r
17**/\r
18UINT32\r
19EFIAPI\r
20GetCpusNum (\r
21 VOID\r
22 )\r
23{\r
24 ASSERT (FALSE);\r
25 return 0;\r
26}\r
27\r
28/**\r
29 Get the address of Td mailbox.\r
30**/\r
31volatile VOID *\r
32EFIAPI\r
33GetTdxMailBox (\r
34 VOID\r
35 )\r
36{\r
37 ASSERT (FALSE);\r
38 return (volatile VOID *)NULL;\r
39}\r
40\r
41/**\r
42 This function will be called by BSP to wakeup APs the are spinning on mailbox\r
43 in protected mode\r
44\r
45 @param[in] Command Command to send APs\r
46 @param[in] WakeupVector If used, address for APs to start executing\r
47 @param[in] WakeArgsX Args to pass to APs for excuting commands\r
48**/\r
49VOID\r
50EFIAPI\r
51MpSendWakeupCommand (\r
52 IN UINT16 Command,\r
53 IN UINT64 WakeupVector,\r
54 IN UINT64 WakeupArgs1,\r
55 IN UINT64 WakeupArgs2,\r
56 IN UINT64 WakeupArgs3,\r
57 IN UINT64 WakeupArgs4\r
58 )\r
59{\r
60 ASSERT (FALSE);\r
61}\r
62\r
63/**\r
64 BSP wait until all the APs arriving. It means the task triggered by BSP is started.\r
65**/\r
66VOID\r
67EFIAPI\r
68MpSerializeStart (\r
69 VOID\r
70 )\r
71{\r
72 ASSERT (FALSE);\r
73}\r
74\r
75/**\r
76 BSP wait until all the APs arriving. It means the task triggered by BSP is ended.\r
77**/\r
78VOID\r
79EFIAPI\r
80MpSerializeEnd (\r
81 VOID\r
82 )\r
83{\r
84 ASSERT (FALSE);\r
85}\r