]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Drivers/MmCommunicationDxe/MmCommunicate.h
ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver.
[mirror_edk2.git] / ArmPkg / Drivers / MmCommunicationDxe / MmCommunicate.h
CommitLineData
4c2f32ed
AG
1/** @file\r
2\r
3 Copyright (c) 2016-2018, ARM Limited. All rights reserved.\r
4\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#if !defined _MM_COMMUNICATE_H_\r
16#define _MM_COMMUNICATE_H_\r
17\r
18#define MM_MAJOR_VER_MASK 0xEFFF0000\r
19#define MM_MINOR_VER_MASK 0x0000FFFF\r
20#define MM_MAJOR_VER_SHIFT 16\r
21\r
22#define MM_MAJOR_VER(x) (((x) & MM_MAJOR_VER_MASK) >> MM_MAJOR_VER_SHIFT)\r
23#define MM_MINOR_VER(x) ((x) & MM_MINOR_VER_MASK)\r
24\r
25#define MM_CALLER_MAJOR_VER 0x1UL\r
26#define MM_CALLER_MINOR_VER 0x0\r
27\r
28#endif /* _MM_COMMUNICATE_H_ */\r