aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/boot.asm
diff options
context:
space:
mode:
authorMarvin Borner2020-04-17 19:55:42 +0200
committerMarvin Borner2020-04-17 19:55:42 +0200
commit27c38d3f6e473d2bf7075fb364db148f22aca203 (patch)
treefeec581b3198056143efab07d154a3dafeb79d80 /src/kernel/boot.asm
parent0aea2cf7d4c53f49e48c272ac7427ab337b476db (diff)
Added multiboot smbios table
idk why, but grub doesn't seem to find a smbios table in qemu. I tried a local dump of my pc's smbios but this doesn't work either.. *thinking*
Diffstat (limited to 'src/kernel/boot.asm')
-rw-r--r--src/kernel/boot.asm13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/kernel/boot.asm b/src/kernel/boot.asm
index 5ce6014..5513fc7 100644
--- a/src/kernel/boot.asm
+++ b/src/kernel/boot.asm
@@ -5,14 +5,15 @@ section .multiboot
dd header_end - header_start
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start))
- ; Information tag (force)
+ ; Information tag
align 8
dw 1
- dw 0
- dd 20
- dd 2
- dd 4
- dd 6
+ dw 1
+ dd 24
+ dd 2 ; bootloader name
+ dd 4 ; meminfo
+ dd 6 ; mmap
+ dd 13 ; smbios
; Empty tag
align 8