]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Drivers/MmCommunicationDxe/MmCommunicate.h
ArmPkg: Fix Ecc error 10014 in MmCommunicationDxe
[mirror_edk2.git] / ArmPkg / Drivers / MmCommunicationDxe / MmCommunicate.h
1 /** @file
2
3 Copyright (c) 2016-2018, ARM Limited. All rights reserved.
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #if !defined _MM_COMMUNICATE_H_
10 #define _MM_COMMUNICATE_H_
11
12 #define MM_MAJOR_VER_MASK 0xEFFF0000
13 #define MM_MINOR_VER_MASK 0x0000FFFF
14 #define MM_MAJOR_VER_SHIFT 16
15
16 #define MM_MAJOR_VER(x) (((x) & MM_MAJOR_VER_MASK) >> MM_MAJOR_VER_SHIFT)
17 #define MM_MINOR_VER(x) ((x) & MM_MINOR_VER_MASK)
18
19 #define MM_CALLER_MAJOR_VER 0x1UL
20 #define MM_CALLER_MINOR_VER 0x0
21
22 #endif /* _MM_COMMUNICATE_H_ */