• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *    http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef PTHREAD_ATTR_H
17 #define PTHREAD_ATTR_H
18 /**
19  * @addtogroup TeeTrusted
20  * @{
21  *
22  * @brief TEE(Trusted Excution Environment) API.
23  * Provides security capability APIs such as trusted storage, encryption and decryption,
24  * and trusted time for trusted application development.
25  *
26  * @since 12
27  */
28 
29 /**
30  * @file pthread_attr.h
31  *
32  * @brief Provides the attr about TA multi-thread.
33  *
34  * @library NA
35  * @kit TEE Kit
36  * @syscap SystemCapability.Tee.TeeClient
37  * @since 12
38  * @version 1.0
39  */
40 
41 #define TEESMP_THREAD_ATTR_CA_WILDCARD 0
42 
43 #define TEESMP_THREAD_ATTR_CA_INHERIT (-1U)
44 
45 #define TEESMP_THREAD_ATTR_TASK_ID_INHERIT (-1U)
46 
47 #define TEESMP_THREAD_ATTR_HAS_SHADOW 0x1
48 
49 #define TEESMP_THREAD_ATTR_NO_SHADOW 0x0
50 
51 /** @} */
52 #endif