You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jminrang edited this page Feb 22, 2013
·
1 revision
void main (void)
copy_boot_params();
refer by /linux/Document/x86/boot.txt
boot protocol version check
struct boot_params 나중에 천천히 보자.
console_init();
parse_earlyprintk();
commpressed 에 있는 거랑 다르다.
boot_params.hdr.cmd_line_ptr에서 option "earlyprintk" 찾아서 버퍼에 넣어준다
그리고 그것에 맞는거 찾아준다.
early_serial_init(port, baund);
검색된 포트 찾기 and init
parse_console_uart8250();
refer by http://en.wikipedia.org/wiki/8250_UART
init_heap();
boot_params.hdr.loadflags check
결과적으로 heap_end ⇐ stack_end