• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022-2022 Huawei Technologies Co., Ltd. All rights reserved.
3  *
4  * UniProton is licensed under Mulan PSL v2.
5  * You can use this software according to the terms and conditions of the Mulan PSL v2.
6  * You may obtain a copy of Mulan PSL v2 at:
7  *          http://license.coscl.org.cn/MulanPSL2
8  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
9  * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
10  * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
11  * See the Mulan PSL v2 for more details.
12  * Create: 2022-09-21
13  * Description: 网络
14  */
15 #ifndef LWIP_PORTING_SYS_ARCH_H
16 #define LWIP_PORTING_SYS_ARCH_H
17 
18 #include <stdint.h>
19 
20 /**
21  * Semaphore
22  */
23 typedef uint32_t sys_sem_t;
24 
25 /**
26  * Mutex
27  */
28 typedef sys_sem_t sys_mutex_t;
29 
30 /**
31  * MessageBox
32  */
33 typedef sys_sem_t sys_mbox_t;
34 
35 /**
36  * Protector
37  */
38 typedef void *sys_prot_t;
39 
40 /**
41  * Thread
42  */
43 typedef sys_sem_t sys_thread_t;
44 
45 #endif /* LWIP_PORTING_SYS_ARCH_H */
46