WS63 SDK 文档
7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
los_init_level.h
浏览该文件的文档.
1
2
/* ----------------------------------------------------------------------------
3
* Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
4
* Description: System Init Level HeadFile
5
* Author: Huawei LiteOS Team
6
* Create: 2023-02-07
7
* Redistribution and use in source and binary forms, with or without modification,
8
* are permitted provided that the following conditions are met:
9
* 1. Redistributions of source code must retain the above copyright notice, this list of
10
* conditions and the following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
12
* of conditions and the following disclaimer in the documentation and/or other materials
13
* provided with the distribution.
14
* 3. Neither the name of the copyright holder nor the names of its contributors may be used
15
* to endorse or promote products derived from this software without specific prior written
16
* permission.
17
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
* --------------------------------------------------------------------------- */
29
30
#ifndef _LOS_INIT_LEVEL_H
31
#define _LOS_INIT_LEVEL_H
32
33
/*
34
* This header file only used for board.ld.S.
35
* Do not include other header file here, otherwise compiler may can not find the file.
36
*/
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
/* __cplusplus */
41
42
#define SYSINIT_CALLS_LEVEL(level) \
43
__sysinitcall##level##_start = .; \
44
KEEP(*(SORT(.sysinitcall_level##level##_*)))
45
46
#define SYSINIT_CALLS \
47
__sysinitcall_start = .; \
48
SYSINIT_CALLS_LEVEL(0) \
49
SYSINIT_CALLS_LEVEL(1) \
50
SYSINIT_CALLS_LEVEL(2) \
51
SYSINIT_CALLS_LEVEL(3) \
52
SYSINIT_CALLS_LEVEL(4) \
53
SYSINIT_CALLS_LEVEL(5) \
54
SYSINIT_CALLS_LEVEL(6) \
55
SYSINIT_CALLS_LEVEL(7) \
56
__sysinitcall_end = .;
57
58
#ifdef __cplusplus
59
}
60
#endif
/* __cplusplus */
61
62
#endif
/* _LOS_INIT_LEVEL_H */
src
kernel
liteos
liteos_v208.5.0
Huawei_LiteOS
kernel
base
include
los_init_level.h
由
William Goodspeed
维护 | E-mail: gongzl@stu.hebust.edu.cn | Wechat: a23333344 | ALSO CHECKOUT
WS63FLASH
!
生成于 2025年 一月 4日 星期六 17:47:12 , 为 WS63 SDK 文档使用
1.9.8