uboot
Simbr
凭兴趣学习
展开
-
uboot中的知识点记录-2
文章目录9 uboot中的console_init_f函数10 uboot中的display_banner函数 9 uboot中的console_init_f函数 console初始化的第一阶段 int console_init_f (void) { gd->have_console = 1; #ifdef CONFIG_SILENT_CONSOLE if (getenv("silent") != NULL) gd->flags |= GD_FLG_SILENT; #endif ret原创 2020-08-23 16:00:33 · 235 阅读 · 0 评论 -
uboot中的知识点记录-1
文章目录1 函数类型的使用场景1.1 第一层理解1.2 第二层理解1.3 第三层理解1.3.1 第一种1.3.2 第二种二级指针遍历指针数组 1 函数类型的使用场景 1.1 第一层理解 通常使用定义函数类型的时候,我们习惯定义成函数指针来使用,如 typedef int(*fuc_ptr_t)(int,int); int add(int a, int b) { return a+b; } int main(void) { fuc_ptr_t my_fuc = NULL; my_fuc = add;原创 2020-08-23 09:11:39 · 320 阅读 · 0 评论