diff options
-rw-r--r-- | bootasm.S | 4 | ||||
-rw-r--r-- | bootmain.c | 2 |
2 files changed, 3 insertions, 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; |