initcall.c
initcall_run_list 初始化调用列表
1 | int initcall_run_list(const init_fnc_t init_sequence[]) |
事件声明
- 从.map中搜索
__u_boot_list_2_evspy_info
从_1
到_3
的段,并执行notify_static
函数
boot/vbe_request.c
boot/vbe_simple_os.c
initcall_is_event 判断是否是事件
1 |
|
vsprintf.c
- vsnprintf_internal函数,用于格式化字符串
- 该文件内部自行实现了printf函数,并进行了对于u-boot的适配
vprintf
- 需要配置CONFIG_PRINTF 和 CONFIG_SYS_PBSIZE
1 |
|
hang.c
1 | void hang(void) |
trace.c
1 | int notrace trace_early_init(void) |
qsort.c
- 使用希尔排序
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 wdfk-prog的个人博客!
评论