提交 c35c064e 创建 作者: rsc's avatar rsc

cmain -> bootmain

上级 fc210467
......@@ -67,9 +67,9 @@ protcseg:
# Set up the stack pointer and call into C.
movl $start, %esp
call cmain
call bootmain
# If cmain returns (it shouldn't), loop.
# If bootmain returns (it shouldn't), loop.
spin:
jmp spin
......
......@@ -15,7 +15,7 @@
void readseg(uint, uint, uint);
void
cmain(void)
bootmain(void)
{
struct elfhdr *elf;
struct proghdr *ph, *eph;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论