Carlos Fenollosa 10 роки тому
батько
коміт
18c8989d33
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      13-kernel-barebones/kernel.c
  2. 1 1
      13-kernel-barebones/kernel_entry.asm

+ 1 - 1
13-kernel-barebones/kernel.c

@@ -1,4 +1,4 @@
-/* This will force us to create a kernel entry function */
+/* This will force us to create a kernel entry function instead of jumping to kernel.c:0x00 */
 void dummy_test_entrypoint() {
 }
 

+ 1 - 1
13-kernel-barebones/kernel_entry.asm

@@ -1,4 +1,4 @@
 [bits 32]
-[extern main] ; Define calling point. Must haveSame name as kernel.c 'main' function
+[extern main] ; Define calling point. Must have same name as kernel.c 'main' function
 call main ; Calls the C function. The linker will know where it is placed in memory
 jmp $