]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Drivers/MmCommunicationDxe/MmCommunicate.h
ArmPkg: Apply uncrustify changes
[mirror_edk2.git] / ArmPkg / Drivers / MmCommunicationDxe / MmCommunicate.h
1 /** @file
2
3 Copyright (c) 2016-2021, Arm Limited. All rights reserved.<BR>
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef 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_ */