https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
53 lines
1.3 KiB
C
53 lines
1.3 KiB
C
/** @file
|
|
Private header with declarations and definitions specific to the MM Standalone
|
|
CPU driver
|
|
|
|
Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef _ARM_TF_CPU_DRIVER_H_
|
|
#define _ARM_TF_CPU_DRIVER_H_
|
|
|
|
#include <Protocol/MmCommunication.h>
|
|
#include <Protocol/MmConfiguration.h>
|
|
#include <Protocol/MmCpu.h>
|
|
#include <Guid/MpInformation.h>
|
|
|
|
//
|
|
// CPU driver initialization specific declarations
|
|
//
|
|
extern EFI_MM_SYSTEM_TABLE *mMmst;
|
|
|
|
//
|
|
// CPU State Save protocol specific declarations
|
|
//
|
|
extern EFI_MM_CPU_PROTOCOL mMmCpuState;
|
|
|
|
//
|
|
// MM event handling specific declarations
|
|
//
|
|
extern EFI_MM_COMMUNICATE_HEADER **PerCpuGuidedEventContext;
|
|
extern EFI_MMRAM_DESCRIPTOR mNsCommBuffer;
|
|
extern MP_INFORMATION_HOB_DATA *mMpInformationHobData;
|
|
extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig;
|
|
|
|
EFI_STATUS
|
|
PiMmStandaloneArmTfCpuDriverEntry (
|
|
IN UINTN EventId,
|
|
IN UINTN CpuNumber,
|
|
IN UINTN NsCommBufferAddr
|
|
);
|
|
|
|
EFI_STATUS
|
|
EFIAPI
|
|
PiMmCpuTpFwRootMmiHandler (
|
|
IN EFI_HANDLE DispatchHandle,
|
|
IN CONST VOID *Context, OPTIONAL
|
|
IN OUT VOID *CommBuffer, OPTIONAL
|
|
IN OUT UINTN *CommBufferSize OPTIONAL
|
|
);
|
|
|
|
#endif
|