Added multiboot header, ports methods and added new part of libc(string)
This commit is contained in:
20
kernel/cpu/multiboot.asm
Normal file
20
kernel/cpu/multiboot.asm
Normal file
@@ -0,0 +1,20 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; iceOS Kernel ;
|
||||
; Developed by Marco 'icebit' Cetica ;
|
||||
; (c) 2019 ;
|
||||
; Released under GPLv3 ;
|
||||
; https://github.com/ice-bit/iceOS ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
section .multiboot
|
||||
head_s:
|
||||
dd 0xe85250d6 ; Magic number
|
||||
dd 0 ; Code for protected mode
|
||||
dd head_e - head_s ; Header length
|
||||
dd 0x100000000 - (0xe85250d6 + 0 + (head_e - head_s)) ; Checksum of above
|
||||
|
||||
; Various flags
|
||||
dw 0 ; type
|
||||
dw 0 ; flags
|
||||
dd 0 ; size
|
||||
head_e:
|
||||
Reference in New Issue
Block a user