标签:ash cloc 进制 size 环境变量 white 拷贝 分布 应该
1 typedef struct global_data { 2 bd_t *bd; 3 unsigned long flags; 4 unsigned long baudrate; 5 unsigned long have_console; /* serial_init() was called */ 6 unsigned long reloc_off; /* Relocation Offset */ 7 unsigned long env_addr; /* Address of Environment struct */ 8 unsigned long env_valid; /* Checksum of Environment valid? */ 9 unsigned long fb_base; /* base address of frame buffer */ 10 #ifdef CONFIG_VFD 11 unsigned char vfd_type; /* display type */ 12 #endif 13 #if 0 14 unsigned long cpu_clk; /* CPU clock in Hz! */ 15 unsigned long bus_clk; 16 unsigned long ram_size; /* RAM size */ 17 unsigned long reset_status; /* reset status register at boot */ 18 #endif 19 void **jt; /* jump table */ 20 } gd_t;
1 /* 2 * Global Data Flags 3 */ 4 #define GD_FLG_RELOC 0×00001 /* Code was relocated to RAM */ 5 #define GD_FLG_DEVINIT 0×00002 /* Devices have been initialized */ 6 #define GD_FLG_SILENT 0×00004 /* Silent mode */
1 typedef struct bd_info { 2 int bi_baudrate; /* serial console baudrate */ 3 unsigned long bi_ip_addr; /* IP Address */ 4 unsigned char bi_enetaddr[6]; /* Ethernet adress */ 5 struct environment_s *bi_env; 6 ulong bi_arch_number; /* unique id for this board */ 7 ulong bi_boot_params; /* where this board expects params */ 8 struct /* RAM configuration */ 9 { 10 ulong start; 11 ulong size; 12 } bi_dram[CONFIG_NR_DRAM_BANKS]; 13 #ifdef CONFIG_HAS_ETH1 14 /* second onboard ethernet port */ 15 unsigned char bi_enet1addr[6]; 16 #endif 17 } bd_t;
标签:ash cloc 进制 size 环境变量 white 拷贝 分布 应该
原文地址:https://www.cnblogs.com/wanglouxiaozi/p/9760189.html