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.
[SOLVED] Strange errors when kernel goes bigger
- wichtounet
- Member
- Posts: 90
- Joined: Fri Nov 01, 2013 4:05 pm
- Location: Fribourg, Switzerland
- Contact:
Re: Strange errors when kernel goes bigger
Thor Operating System: C++ 64 bits OS: https://github.com/wichtounet/thor-os
Good osdeving!
Good osdeving!