]> git.proxmox.com Git - mirror_edk2.git/blob - StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h
StandaloneMmPkg/StandaloneMmCpu: fix typo Standlone -> Standalone
[mirror_edk2.git] / StandaloneMmPkg / Drivers / StandaloneMmCpu / AArch64 / StandaloneMmCpu.h
1 /** @file
2 Private header with declarations and definitions specific to the MM Standalone
3 CPU driver
4
5 Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 #ifndef _ARM_TF_CPU_DRIVER_H_
17 #define _ARM_TF_CPU_DRIVER_H_
18
19 #include <Protocol/MmCommunication.h>
20 #include <Protocol/MmConfiguration.h>
21 #include <Protocol/MmCpu.h>
22 #include <Guid/MpInformation.h>
23
24 //
25 // CPU driver initialization specific declarations
26 //
27 extern EFI_MM_SYSTEM_TABLE *mMmst;
28
29 //
30 // CPU State Save protocol specific declarations
31 //
32 extern EFI_MM_CPU_PROTOCOL mMmCpuState;
33
34 //
35 // MM event handling specific declarations
36 //
37 extern EFI_MM_COMMUNICATE_HEADER **PerCpuGuidedEventContext;
38 extern EFI_MMRAM_DESCRIPTOR mNsCommBuffer;
39 extern MP_INFORMATION_HOB_DATA *mMpInformationHobData;
40 extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig;
41
42 EFI_STATUS
43 PiMmStandaloneArmTfCpuDriverEntry (
44 IN UINTN EventId,
45 IN UINTN CpuNumber,
46 IN UINTN NsCommBufferAddr
47 );
48
49 EFI_STATUS
50 EFIAPI
51 PiMmCpuTpFwRootMmiHandler (
52 IN EFI_HANDLE DispatchHandle,
53 IN CONST VOID *Context, OPTIONAL
54 IN OUT VOID *CommBuffer, OPTIONAL
55 IN OUT UINTN *CommBufferSize OPTIONAL
56 );
57
58 #endif