博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
uboot 通用board_init_f实现
阅读量:4153 次
发布时间:2019-05-25

本文共 851 字,大约阅读时间需要 2 分钟。

common/board_f.c
void board_init_f(ulong boot_flags){#ifdef CONFIG_SYS_GENERIC_GLOBAL_DATA /*  * For some architectures, global data is initialized and used before  * calling this function. The data should be preserved. For others,  * CONFIG_SYS_GENERIC_GLOBAL_DATA should be defined and use the stack  * here to host global data until relocation.  */ gd_t data;  gd = &data;  /*  * Clear global data before it is accessed at debug print  * in initcall_run_list. Otherwise the debug print probably  * get the wrong value of gd->have_console.  */ zero_global_data();#endif  gd->flags = boot_flags; gd->have_console = 0;  if (initcall_run_list(init_sequence_f))  hang(); #if !defined(CONFIG_ARM) && !defined(CONFIG_SANDBOX) && \  !defined(CONFIG_EFI_APP) && !CONFIG_IS_ENABLED(X86_64) /* NOTREACHED - jump_to_copy() does not return */ hang();#endif}  
 

转载地址:http://nkhti.baihongyu.com/

你可能感兴趣的文章
servlet中的cookie和session
查看>>
过滤器及JSP九大隐式对象
查看>>
软件(项目)的分层
查看>>
【Python】学习笔记——-7.0、面向对象编程
查看>>
【Python】学习笔记——-7.2、访问限制
查看>>
【Python】学习笔记——-7.3、继承和多态
查看>>
【Python】学习笔记——-7.5、实例属性和类属性
查看>>
git中文安装教程
查看>>
虚拟机 CentOS7/RedHat7/OracleLinux7 配置静态IP地址 Ping 物理机和互联网
查看>>
Jackson Tree Model Example
查看>>
常用js收集
查看>>
如何防止sql注入
查看>>
springmvc传值
查看>>
在Eclipse中查看Android源码
查看>>
Android使用webservice客户端实例
查看>>
[转]C语言printf
查看>>
C 语言学习 --设置文本框内容及进制转换
查看>>
C 语言 学习---判断文本框取得的数是否是整数
查看>>
C 语言 学习---ComboBox相关、简易“假”管理系统
查看>>
C 语言 学习---回调、时间定时更新程序
查看>>