uboot命令添加过程
来源:互联网 发布:mac香港专柜地址 编辑:程序博客网 时间:2024/05/07 01:29
#ifdef CFG_LONGHELP
#define U_BOOT_CMD(name,maxargs,rep,cmd,usage,help) \
cmd_tbl_t __u_boot_cmd_##name Struct_Section= {#name, maxargs, rep, cmd, usage, help}
#else
#define U_BOOT_CMD(name,maxargs,rep,cmd,usage,help) \
cmd_tbl_t __u_boot_cmd_##name Struct_Section= {#name, maxargs, rep, cmd, usage}
#endif
typedefstruct cmd_tbl_s cmd_tbl_t;
struct cmd_tbl_s{
#ifdef
#endif
#ifdef CONFIG_AUTO_COMPLETE
#endif
};
#define CONFIG_CMD_PING
#if defined(CONFIG_CMD_PING)
int do_ping (cmd_tbl_t*cmdtp, int flag, int argc,char *argv[])
{
}
U_BOOT_CMD(//通过宏定义命令
);
#endif
#define Struct_Section __attribute__((unused,section(".u_boot_cmd")))
#ifdef CFG_LONGHELP
#define U_BOOT_CMD(name,maxargs,rep,cmd,usage,help) \
cmd_tbl_t __u_boot_cmd_##name Struct_Section= {#name, maxargs, rep, cmd, usage, help}
#else
#define U_BOOT_CMD(name,maxargs,rep,cmd,usage,help) \
cmd_tbl_t __u_boot_cmd_##name Struct_Section= {#name, maxargs, rep, cmd, usage}
#endif
- [UBOOT]uboot命令添加过程
- uboot命令添加过程
- uboot命令添加过程
- uboot添加命令
- uboot 添加命令
- 添加一个uboot命令
- uboot 添加hello命令
- uboot添加命令
- Uboot如何添加命令
- uboot 添加命令
- uboot添加命令
- FAT文件系统编译进uboot uboot命令的添加
- uboot试验记录-添加自己的命令
- UBOOT添加命令的执行流程
- UBOOT添加命令的执行流程
- 在uboot中添加新的命令
- Uboot 添加命令的执行流程
- uboot 中添加自己的命令
- PHP实践之路(八)类与对象(1)
- ViewTreeObserver.OnPreDrawListener
- 如何打开EAS后台sql日志收集器?
- ofstream ifstream getline 对文件的操作 !
- 理解$.extend(),与$.fn.extend()方法区别
- uboot命令添加过程
- 静态电子购物网站设计回忆
- eclipse配置字体、背景颜色
- UESTC 1895(分解质因数)
- 关于“发票”
- SQL中@@ROWCOUNT函数
- Qt QML 入门 — 使用C++定义QML类型
- SSIS典型应用场景分析
- 使用jQuery的getJSON方法实现配置信息的状态的异步修改