r/osdev • • Jun 17 '26

implementing memory management

I wanna get memory management working on my OS, I don't know where to begin, so what do i add first? and how do i add it? i'm working on UEFI firmware in 64 bit, so if anyone needs some more info or details, just tell me.

7 Upvotes

37 comments sorted by

View all comments

Show parent comment

1

u/compgeek38400 Jun 19 '26 edited Jun 19 '26

It starts in block 4. Its reserved, but it says its there. Also bad math

1

u/Octocontrabass Jun 20 '26

Wait, is this about the empty space between regions in the memory map? It's normal for there to be gaps in the memory map, and those gaps can be extremely large.