]> git.proxmox.com Git - mirror_edk2.git/blame - StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h
StandaloneMmPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / StandaloneMmPkg / Drivers / StandaloneMmCpu / AArch64 / StandaloneMmCpu.h
CommitLineData
275d4bd4
SV
1/** @file\r
2 Private header with declarations and definitions specific to the MM Standalone\r
3 CPU driver\r
4\r
5 Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.\r
86094561 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
275d4bd4
SV
7\r
8**/\r
9\r
10#ifndef _ARM_TF_CPU_DRIVER_H_\r
11#define _ARM_TF_CPU_DRIVER_H_\r
12\r
13#include <Protocol/MmCommunication.h>\r
14#include <Protocol/MmConfiguration.h>\r
15#include <Protocol/MmCpu.h>\r
16#include <Guid/MpInformation.h>\r
17\r
18//\r
19// CPU driver initialization specific declarations\r
20//\r
21extern EFI_MM_SYSTEM_TABLE *mMmst;\r
22\r
23//\r
24// CPU State Save protocol specific declarations\r
25//\r
26extern EFI_MM_CPU_PROTOCOL mMmCpuState;\r
27\r
28//\r
29// MM event handling specific declarations\r
30//\r
31extern EFI_MM_COMMUNICATE_HEADER **PerCpuGuidedEventContext;\r
32extern EFI_MMRAM_DESCRIPTOR mNsCommBuffer;\r
33extern MP_INFORMATION_HOB_DATA *mMpInformationHobData;\r
34extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig;\r
35\r
36EFI_STATUS\r
c8102727 37PiMmStandaloneArmTfCpuDriverEntry (\r
275d4bd4
SV
38 IN UINTN EventId,\r
39 IN UINTN CpuNumber,\r
40 IN UINTN NsCommBufferAddr\r
41 );\r
42\r
43EFI_STATUS\r
44EFIAPI\r
45PiMmCpuTpFwRootMmiHandler (\r
46 IN EFI_HANDLE DispatchHandle,\r
47 IN CONST VOID *Context, OPTIONAL\r
48 IN OUT VOID *CommBuffer, OPTIONAL\r
49 IN OUT UINTN *CommBufferSize OPTIONAL\r
50 );\r
51\r
275d4bd4 52#endif\r