mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
AmrPkg/MmCommunication: move Mmcommunicate.h to common include
MmCommunication.h is used in MmCommunicationDxe/Pei both. Move this header file to common include. Signed-off-by: Levi Yun <yeoreum.yun@arm.com>
This commit is contained in:
parent
73b2831879
commit
8f3c157e04
@ -20,8 +20,7 @@
|
||||
|
||||
#include <IndustryStandard/ArmStdSmc.h>
|
||||
#include <IndustryStandard/ArmFfaSvc.h>
|
||||
|
||||
#include "MmCommunicate.h"
|
||||
#include <IndustryStandard/MmCommunicate.h>
|
||||
|
||||
//
|
||||
// Partition ID if FF-A support is enabled
|
||||
|
@ -24,7 +24,6 @@
|
||||
#
|
||||
|
||||
[Sources.AARCH64]
|
||||
MmCommunicate.h
|
||||
MmCommunication.c
|
||||
|
||||
[Packages]
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include <PiPei.h>
|
||||
#include <IndustryStandard/ArmStdSmc.h>
|
||||
#include <IndustryStandard/MmCommunicate.h>
|
||||
|
||||
#include <Protocol/MmCommunication.h>
|
||||
#include <Ppi/MmCommunication.h>
|
||||
@ -21,16 +22,6 @@
|
||||
#include <Library/PeimEntryPoint.h>
|
||||
#include <Library/PeiServicesLib.h>
|
||||
|
||||
#define MM_MAJOR_VER_MASK 0xEFFF0000
|
||||
#define MM_MINOR_VER_MASK 0x0000FFFF
|
||||
#define MM_MAJOR_VER_SHIFT 16
|
||||
|
||||
#define MM_MAJOR_VER(x) (((x) & MM_MAJOR_VER_MASK) >> MM_MAJOR_VER_SHIFT)
|
||||
#define MM_MINOR_VER(x) ((x) & MM_MINOR_VER_MASK)
|
||||
|
||||
#define MM_CALLER_MAJOR_VER 0x1UL
|
||||
#define MM_CALLER_MINOR_VER 0x0
|
||||
|
||||
//
|
||||
// Partition ID if FF-A support is enabled
|
||||
//
|
||||
|
@ -1,9 +1,18 @@
|
||||
/** @file
|
||||
Header file for Management Mode Interface via SMC.
|
||||
This header file is used in normal world only.
|
||||
|
||||
Copyright (c) 2016-2021, Arm Limited. All rights reserved.<BR>
|
||||
Copyright (c) 2016-2024, Arm Limited. All rights reserved.<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
@par Glossary:
|
||||
- MM - MM Management mode.
|
||||
|
||||
@par Reference(s):
|
||||
- ARM Management Mode Interface Specification
|
||||
[https://developer.arm.com/documentation/den0060/latest/]
|
||||
|
||||
**/
|
||||
|
||||
#ifndef MM_COMMUNICATE_H_
|
Loading…
x
Reference in New Issue
Block a user