3 ms·
> You need to zero fill .bss section in the boot code before jumping to C code. GRUB does this for you. See this thread from a few years ago: https://news.ycom
by grahamedgecombe 10y ago
> You need to zero fill .bss section in the boot code before jumping to C code.
GRUB does this for you. See this thread from a few years ago: https://news.ycombinator.com/item?id=7590790 https://news.ycombinator.com/item?id=7590790
- exDM69 10y agoHah, it was a response to my comment back then too. Either that applies only to multiboot v2 or there was a bug in qemu loader since I had a non-zero value in .bss.