PopeGregoryIX / caracal

Operating System Development
0 stars 0 forks source link

Rewrite physical memory layout function. #11

Open PopeGregoryIX opened 1 year ago

PopeGregoryIX commented 1 year ago

The function void X86_64::CreateKernelMemorySpace( void ) needs a complete rewrite as some of the kernel is assuming that it is OK to simply use physical memory addresses. This needs to be written using the proper Memory Layout part of the design document.

PopeGregoryIX commented 1 year ago

The Memory Layout wiki page has now been updated. The system / user memory map was becoming unwieldy and with further planning, the memory space will be subdivided more logically. This task will now only be marked as completed once the new memory layout is in place.

PopeGregoryIX commented 1 year ago

Further changes to this issue: plans to change the memory map were restricted by bootboot - specifically the -1G restriction on placement of the kernel and other structures. Decision made to place the kernel in a tarred initrd and load a bootstrap executable.