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%