Re: Strange errors when kernel goes bigger
Posted: Sun Jan 12, 2014 4:42 am
Yes, I thought about getting them from ELF, but you're right I could just pass them to the bootloaderXenOS wrote:Why? It is very simple to define these two symbols in your linker script and to use them in your assembly. This also works for flat binary files.wichtounet wrote:Yes, the assembly code for writing zeros is simple... but the assembly code to find BSS_START and BSS_SIZE is not... Moreover, it implies an ELF executable, which I don't have, since I'm only using a flat binary.