[vari] Fix a typo, move some stuff
This commit is contained in:
parent
fd57f9df32
commit
4f8cd57996
4
Makefile
4
Makefile
@ -33,9 +33,9 @@ toaruos-kernel: kernel/start.o kernel/link.ld kernel/main.o ${MODULES} ${FILESYS
|
||||
@${ECHO} "\r\033[32;1m LD $<\033[0m"
|
||||
@${ECHO} "\033[34;1m -- Kernel is ready!\033[0m"
|
||||
|
||||
kernel/start.o: kernel/start.asm
|
||||
kernel/start.o: kernel/start.s
|
||||
@${ECHO} -n "\033[32m yasm $<\033[0m"
|
||||
@${YASM} -f elf -o kernel/start.o kernel/start.asm
|
||||
@${YASM} -f elf -o kernel/start.o kernel/start.s
|
||||
@${ECHO} "\r\033[32;1m yasm $<\033[0m"
|
||||
|
||||
%.o: %.c
|
||||
|
@ -60,7 +60,7 @@ int main(struct multiboot *mboot_ptr, uint32_t mboot_mag)
|
||||
char * ramdisk = NULL;
|
||||
if (mboot_mag == MULTIBOOT_EAX_MAGIC) {
|
||||
boot_mode = multiboot;
|
||||
/* Realing memory to the end of the multiboot modules */
|
||||
/* Realign memory to the end of the multiboot modules */
|
||||
kmalloc_startat(0x200000);
|
||||
if (mboot_ptr->flags & (1 << 3)) {
|
||||
if (mboot_ptr->mods_count > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user