]>
git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Drivers/MmCommunicationDxe/MmCommunicate.h
3 Copyright (c) 2016-2021, Arm Limited. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef MM_COMMUNICATE_H_
10 #define MM_COMMUNICATE_H_
12 #define MM_MAJOR_VER_MASK 0xEFFF0000
13 #define MM_MINOR_VER_MASK 0x0000FFFF
14 #define MM_MAJOR_VER_SHIFT 16
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)
19 #define MM_CALLER_MAJOR_VER 0x1UL
20 #define MM_CALLER_MINOR_VER 0x0
22 #endif /* MM_COMMUNICATE_H_ */