]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/Library/OpteeLib.h
ArmPkg: Allow platforms to supply more data for SMBIOS Type3 record
[mirror_edk2.git] / ArmPkg / Include / Library / OpteeLib.h
index a7b2ff1b6b57e01afaaacc15290746d31e077db2..8ceab117d1328b316ed589d60b0bf765a7ca8146 100644 (file)
@@ -2,14 +2,9 @@
   OP-TEE specific header file.\r
 \r
   Copyright (c) 2018, Linaro Ltd. All rights reserved.<BR>\r
+  Copyright (c) 2021, Arm Limited. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -51,12 +46,14 @@ typedef struct {
   UINT64    C;\r
 } OPTEE_MESSAGE_PARAM_VALUE;\r
 \r
+typedef union {\r
+  OPTEE_MESSAGE_PARAM_MEMORY   Memory;\r
+  OPTEE_MESSAGE_PARAM_VALUE    Value;\r
+} OPTEE_MESSAGE_PARAM_UNION;\r
+\r
 typedef struct {\r
   UINT64 Attribute;\r
-  union {\r
-    OPTEE_MESSAGE_PARAM_MEMORY   Memory;\r
-    OPTEE_MESSAGE_PARAM_VALUE    Value;\r
-  } Union;\r
+  OPTEE_MESSAGE_PARAM_UNION Union;\r
 } OPTEE_MESSAGE_PARAM;\r
 \r
 #define OPTEE_MAX_CALL_PARAMS       4\r