U-Boot源代码分析
大小:337 人气: 2010-02-10 需要积分:0
标签:源代码(65730)
U-Boot源代码分析for (;;) {
len = readline (CFG_PROMPT);
flag = 0; /* assume no special flags for now */
if (len > 0)
strcpy (lastcommand, console_buffer);
else if (len == 0)
flag |= CMD_FLAG_REPEAT;
if (len == -1)
puts ("
else
rc = run_command (lastcommand, flag);
if (rc <= 0) {
/* invalid command or not repeatable, forget it */
lastcommand[0] = 0;
}
}
}
(
1
)
非常好我支持^.^
(3) 100%
不好我反对
(0) 0%