cmain -> bootmain

This commit is contained in:
rsc 2007-08-28 13:01:10 +00:00
parent fc21046754
commit c35c064e04
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -15,7 +15,7 @@
void readseg(uint, uint, uint);
void
cmain(void)
bootmain(void)
{
struct elfhdr *elf;
struct proghdr *ph, *eph;