tagsetup.c

来自「ADS下的bios工程」· C语言 代码 · 共 31 行

C
31
字号
#ifdef  __ARM_LINUX_RT_CORE__#include <asm/setup.h>/* move this configuration to sysconf and download to specified address *//* * In embedded system, no need to use initrd.img */#if 0struct tag    tagtable[] = {    {        .hdr = {12, ATAG_CORE},    }, {        .hdr = {8, ATAG_MEM},    }, {        .hdr = {8, ATAG_INITRD},  /* virtual address */    }, {        .hdr = {0, ATAG_NONE}    }};#endif voidtag_download(void *addr){    int    tagsize = sizeof(tagtable);}#endif  /* __ARM_LINUX_RT_CORE__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?