init -> kernel_init

rust
E. Almqvist 3 years ago
parent a3516b9ded
commit 14e5cd804a
  1. 2
      kernel/kernel.c
  2. 4
      kernel/kernel_entry.asm

@ -1,6 +1,6 @@
#include "kernel.h" #include "kernel.h"
void init() { void kernel_init() {
vga_init(); // Initialize the screen first vga_init(); // Initialize the screen first
// i.e. clear the screen et cetera. // i.e. clear the screen et cetera.

@ -1,8 +1,8 @@
[bits 32] [bits 32]
[extern init] [extern kernel_init]
multiboot2: multiboot2:
dw 0xE85250D6 dw 0xE85250D6
call init call kernel_init
jmp $ jmp $

Loading…
Cancel
Save