diff --git a/arch/x86/kernel/entry.asm b/arch/x86/kernel/entry.asm index 58ce63ad..0efabd40 100644 --- a/arch/x86/kernel/entry.asm +++ b/arch/x86/kernel/entry.asm @@ -33,7 +33,7 @@ start: ; This part MUST be 4byte aligned, so we solve that issue using 'ALIGN 4' ALIGN 4 mboot: - ; Multiboot macros to make a few lines later more readable + ; Multiboot macros to make a few lines more readable later MULTIBOOT_PAGE_ALIGN equ 1<<0 MULTIBOOT_MEMORY_INFO equ 1<<1 MULTIBOOT_AOUT_KLUDGE equ 1<<16 @@ -61,9 +61,9 @@ stublet: extern multiboot_init push ebx call multiboot_init - pop ebp + add esp, 4 -; This is an endless loop here. Make a note of this: Later on, we +; This is an endless loop. Make a note of this: Later on, we ; will insert an 'extern _main', followed by 'call _main', right ; before the 'jmp $'. extern main @@ -479,7 +479,7 @@ global reschedule reschedule: cli ; eax could change across a function call - ; => we have not to save the original eax value + ; => so we don't have to save the original eax value push ebx call get_current_task