• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2022 Huawei Technologies Co., Ltd.
3  * Licensed under the Mulan PSL v2.
4  * You can use this software according to the terms and conditions of the Mulan PSL v2.
5  * You may obtain a copy of Mulan PSL v2 at:
6  *     http://license.coscl.org.cn/MulanPSL2
7  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
8  * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
9  * PURPOSE.
10  * See the Mulan PSL v2 for more details.
11  */
12 
13 #ifndef TEEOS_UUID_H
14 #define TEEOS_UUID_H
15 
16 #define TEE_SERVICE_SYSTEM                              \
17 {                                                      \
18     0x00000000, 0x0000, 0x0000,                        \
19     {                                                  \
20         0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \
21     }                                                  \
22 }
23 
24 #define TEE_SERVICE_ALL                                \
25 {                                                      \
26     0xFFFFFFFF, 0xFFFF, 0xFFFF,                        \
27     {                                                  \
28         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF \
29     }                                                  \
30 }
31 
32 #define NODE_LEN 8
33 typedef struct tee_uuid {
34     uint32_t timeLow;
35     uint16_t timeMid;
36     uint16_t timeHiAndVersion;
37     uint8_t clockSeqAndNode[NODE_LEN];
38 } TEE_UUID;
39 
40 #endif
41