
How do I get the address at the end of the kernel?
-
- Member
- Posts: 47
- Joined: Mon Aug 19, 2024 11:12 am
- GitHub: https://github.com/ilikecoding-197
How do I get the address at the end of the kernel?
I'm working on the memory map part of my kernel, but I need to know the end of my kernel because I dont want to overwrite it (ill basically just modify the memory map to exclude the kernel). So how do I do that? Do I need to get something from the Multiboot info struct, something special i have to do to get that information to the kernel? My OS is in my signuature if that would help. Hope one of you can help! 

Re: How do I get the address at the end of the kernel?
The multiboot boot information structure contains a memory map that lists all available memory.
-
- Member
- Posts: 47
- Joined: Mon Aug 19, 2024 11:12 am
- GitHub: https://github.com/ilikecoding-197
Re: How do I get the address at the end of the kernel?
I know that. I got that in my OS, but the issue is it doesnt include where the kernel is loaded at and when it ends. It just says "oh, you have memory at 0x10000 with a length of whatever". At least, that's is what I've saw.
-
- Member
- Posts: 47
- Joined: Mon Aug 19, 2024 11:12 am
- GitHub: https://github.com/ilikecoding-197
Re: How do I get the address at the end of the kernel?
Nevermind guys. I shouldve just searched it up.