Memory Allocation Stuff #2

Open
opened 2025-05-15 23:23:44 -04:00 by shibedrill · 3 comments
Owner

Need to get the memory allocation stuff worked out. I don't know how any of it works. :/

  • Implement kernel heap allocator (maybe not needed?)
  • Process memory allocation
  • Global Descriptor Table
Need to get the memory allocation stuff worked out. I don't know how any of it works. :/ - Implement kernel heap allocator (maybe not needed?) - Process memory allocation - Global Descriptor Table
shibedrill added this to the Gila Version 1.0 project 2025-05-15 23:23:44 -04:00
shibedrill added a new dependency 2025-05-17 12:21:20 -04:00
Author
Owner

Currently, the OS is able to enumerate the page lists provided by the bootloader. Next, it has to create its own page tables (levels 4 through 1), populate them with new page mappings, and then switch to the new page table, before it can begin allocating page table entries for processes.

It is important to note that the kernel must be able to create these structures on 4KiB boundaries.

Currently, the OS is able to enumerate the page lists provided by the bootloader. Next, it has to create its own page tables (levels 4 through 1), populate them with new page mappings, and then switch to the new page table, before it can begin allocating page table entries for processes. It is important to note that the kernel must be able to create these structures on 4KiB boundaries.
shibedrill added the
Kind/Feature
Priority
Critical
labels 2025-11-06 23:53:46 -05:00
shibedrill added this to the Gila v1.0.0 milestone 2025-11-06 23:55:06 -05:00
Author
Owner

The GDT is working, but before I can assign memory pages to a process, I need a fixed format by which to store capabilities to pages.

The GDT is working, but before I can assign memory pages to a process, I need a fixed format by which to store capabilities to pages.
Author
Owner

Capability format is WIP. Model seems stable. API is next.

Capability format is WIP. Model seems stable. API is next.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: shibedrill/gila#2
No description provided.