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.
|
# Set up the stack pointer and call into C.
|
||||||
movl $start, %esp
|
movl $start, %esp
|
||||||
call cmain
|
call bootmain
|
||||||
|
|
||||||
# If cmain returns (it shouldn't), loop.
|
# If bootmain returns (it shouldn't), loop.
|
||||||
spin:
|
spin:
|
||||||
jmp spin
|
jmp spin
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
void readseg(uint, uint, uint);
|
void readseg(uint, uint, uint);
|
||||||
|
|
||||||
void
|
void
|
||||||
cmain(void)
|
bootmain(void)
|
||||||
{
|
{
|
||||||
struct elfhdr *elf;
|
struct elfhdr *elf;
|
||||||
struct proghdr *ph, *eph;
|
struct proghdr *ph, *eph;
|
||||||
|
|
Loading…
Reference in a new issue