Last change
on this file was 99404, checked in by vboxsync, 22 months ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | /** @file
|
---|
2 |
|
---|
3 | Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
|
---|
4 | (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
---|
5 |
|
---|
6 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 |
|
---|
8 | **/
|
---|
9 |
|
---|
10 | #include <Library/DebugLib.h>
|
---|
11 | #include <Library/TdxMailboxLib.h>
|
---|
12 |
|
---|
13 | /**
|
---|
14 | This function will be called by BSP to get the CPU number.
|
---|
15 |
|
---|
16 | @retval CPU number
|
---|
17 | **/
|
---|
18 | UINT32
|
---|
19 | EFIAPI
|
---|
20 | GetCpusNum (
|
---|
21 | VOID
|
---|
22 | )
|
---|
23 | {
|
---|
24 | ASSERT (FALSE);
|
---|
25 | return 0;
|
---|
26 | }
|
---|
27 |
|
---|
28 | /**
|
---|
29 | Get the address of Td mailbox.
|
---|
30 | **/
|
---|
31 | volatile VOID *
|
---|
32 | EFIAPI
|
---|
33 | GetTdxMailBox (
|
---|
34 | VOID
|
---|
35 | )
|
---|
36 | {
|
---|
37 | ASSERT (FALSE);
|
---|
38 | return (volatile VOID *)NULL;
|
---|
39 | }
|
---|
40 |
|
---|
41 | /**
|
---|
42 | This function will be called by BSP to wakeup APs the are spinning on mailbox
|
---|
43 | in protected mode
|
---|
44 |
|
---|
45 | @param[in] Command Command to send APs
|
---|
46 | @param[in] WakeupVector If used, address for APs to start executing
|
---|
47 | @param[in] WakeArgsX Args to pass to APs for excuting commands
|
---|
48 | **/
|
---|
49 | VOID
|
---|
50 | EFIAPI
|
---|
51 | MpSendWakeupCommand (
|
---|
52 | IN UINT16 Command,
|
---|
53 | IN UINT64 WakeupVector,
|
---|
54 | IN UINT64 WakeupArgs1,
|
---|
55 | IN UINT64 WakeupArgs2,
|
---|
56 | IN UINT64 WakeupArgs3,
|
---|
57 | IN UINT64 WakeupArgs4
|
---|
58 | )
|
---|
59 | {
|
---|
60 | ASSERT (FALSE);
|
---|
61 | }
|
---|
62 |
|
---|
63 | /**
|
---|
64 | BSP wait until all the APs arriving. It means the task triggered by BSP is started.
|
---|
65 | **/
|
---|
66 | VOID
|
---|
67 | EFIAPI
|
---|
68 | MpSerializeStart (
|
---|
69 | VOID
|
---|
70 | )
|
---|
71 | {
|
---|
72 | ASSERT (FALSE);
|
---|
73 | }
|
---|
74 |
|
---|
75 | /**
|
---|
76 | BSP wait until all the APs arriving. It means the task triggered by BSP is ended.
|
---|
77 | **/
|
---|
78 | VOID
|
---|
79 | EFIAPI
|
---|
80 | MpSerializeEnd (
|
---|
81 | VOID
|
---|
82 | )
|
---|
83 | {
|
---|
84 | ASSERT (FALSE);
|
---|
85 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.