I can bootup my kernel with OWN bootloader (named: omega) and GRUB (multiboot v1).
Kernel can recognize that.
But, if i boot kernel with Qemu and option -kernel, there is kernel panic about Memory Map not found.
How is it done? Did Qemu gives something else than Multiboot v1? (is it v2?)
Qemu -kernel option, where is Memory Map?
- CorruptedByCPU
- Member
- Posts: 79
- Joined: Tue Feb 11, 2014 4:59 pm
Qemu -kernel option, where is Memory Map?
https://blackdev.org/ - system programming, my own 64 bit kernel and software.
-
- Posts: 2
- Joined: Wed Mar 23, 2016 4:17 am
- Libera.chat IRC: Prf_Jakob
Re: Qemu -kernel option, where is Memory Map?
I'm using Qemu and get a memory map with the -kernel option. Just remember to set the MEMINFO flag in your multiboot header.
Code: Select all
%define FLAG_MEMINFO 1<<1