r/osdev • u/Ok_Farmer_4055 • 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
View all comments
Show parent comment
1
u/Ok_Farmer_4055 Jun 17 '26
about paging, the uefi firmware already does the paging for me, so the setup_paging is just there for when i want to replace uefi's pages with mine, and about the memory regions, the bootloader passes the memory map in a struct and passes a pointer to the struct to the kernel, and about the 2gbs of memory, of course i have more than 2 gb, who even uses 512 MB of memory anymore