cmain -> bootmain
This commit is contained in:
parent
fc21046754
commit
c35c064e04
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue