Drew Galbraith
|
7715a5898b
|
[Mammoth] Naively free buddy allocated blocks.
We don't yet attempt to merge them with nearby blocks.
Currently this reduces the number of 2 page blocks we allocate down from
40 to 29.
|
2023-11-24 09:01:25 -08:00 |
Drew Galbraith
|
0915cf45dc
|
Remove the basically-empty C library for now.
|
2023-11-24 08:48:16 -08:00 |
Drew Galbraith
|
cbeb736e8c
|
[Mammoth] Write a custom buddy allocator to replace libc malloc.
|
2023-11-23 18:55:02 -08:00 |
Drew Galbraith
|
d44be91099
|
[Zion] Add an argument to memory align a mapping.
|
2023-11-23 18:52:28 -08:00 |
Drew Galbraith
|
c8931a01c8
|
[Zion] Fix physical page usage tracking.
|
2023-11-23 07:20:11 -08:00 |
Drew Galbraith
|
84e1b4cdb4
|
[Zion] Plumb user stack to free function on thread exit.
|
2023-11-23 07:12:23 -08:00 |
Drew Galbraith
|
941d7c8d59
|
[Zion] Add a way to unwind the stack and recover from user-space faults.
|
2023-11-22 18:25:08 -08:00 |
Drew Galbraith
|
8ceab2ad23
|
[Yellowstone] Use the file api to load the init file.
|
2023-11-22 16:58:13 -08:00 |
Drew Galbraith
|
86ce0a68a3
|
[Mammoth/Teton] Add an OpenFile interface and use it to load a font.
|
2023-11-22 16:42:42 -08:00 |
Drew Galbraith
|
4fd17a59ea
|
[Victoriafalls] Update ext2 driver to read doubly-indirect blocks.
|
2023-11-22 16:41:12 -08:00 |
Drew Galbraith
|
8d730c67c1
|
[Mammoth] Move most classes to the mmth namespace.
|
2023-11-22 14:59:41 -08:00 |
Drew Galbraith
|
5f8d577948
|
[Mammoth] Move remaining classes to a shared folder.
|
2023-11-22 14:39:27 -08:00 |
Drew Galbraith
|
c42fb858ba
|
[Mammoth] Move thread and process to the proc/ folder
|
2023-11-22 14:10:10 -08:00 |
Drew Galbraith
|
99a75a4a76
|
[Mammoth] Move request/response context to ipc/ folder.
|
2023-11-22 13:56:40 -08:00 |
Drew Galbraith
|
f1cbfd18b7
|
[Mammoth] Move Mutex and Semaphore to a separate folder.
|
2023-11-22 13:45:04 -08:00 |
Drew Galbraith
|
ad5b55bf37
|
[Mammoth] Move ipc calls to separate folder mammoth.
|
2023-11-22 13:41:14 -08:00 |
Drew Galbraith
|
19e394ae7b
|
[Yellowstone] Use semaphores for handling yellowstone registration.
|
2023-11-22 13:30:59 -08:00 |
Drew Galbraith
|
41bf78cf98
|
[Denali] Update the read many request to take a sector count as well.
This greatly reduces the size of the message (we had surpassed the 1
page - 4KiB message limit with the previous method).
|
2023-11-22 12:17:58 -08:00 |
Drew Galbraith
|
9f0e87b51d
|
[Glacier] Add proper string formatting for ErrorCodes.
|
2023-11-22 12:17:10 -08:00 |
Drew Galbraith
|
a93aa3a426
|
[Zion] Add an invalid opcode handler.
|
2023-11-22 12:10:18 -08:00 |
Drew Galbraith
|
2efa13ab43
|
[Glacier] Add a status object to hold error and a message.
|
2023-11-22 11:34:02 -08:00 |
Drew Galbraith
|
28d9e37b87
|
[Glacier] Move hashmap to a real hash implementation.
|
2023-11-22 11:19:21 -08:00 |
Drew Galbraith
|
76fd3fc176
|
Update TODOs to reflect completed tasks.
|
2023-11-22 11:00:21 -08:00 |
Drew Galbraith
|
2b8ae027df
|
[Denali] Use semaphores for DMA callback signaling.
|
2023-11-22 10:56:07 -08:00 |
Drew Galbraith
|
4c2492e985
|
[Mammoth] Add a user-space semaphore object.
|
2023-11-22 10:55:40 -08:00 |
Drew Galbraith
|
da3901e104
|
[Zion] Add a semaphore primitive with related syscalls.
|
2023-11-22 10:19:56 -08:00 |
Drew Galbraith
|
2df1f6c006
|
[Teton] Print out every character into the framebuffer as a test.
|
2023-11-22 08:56:26 -08:00 |
Drew Galbraith
|
afdb024c36
|
[Teton] Factor drawing glyphs to screen into a separate class.
|
2023-11-21 19:32:31 -08:00 |
Drew Galbraith
|
fe44804dd9
|
[Teton] Load a font file and write a character to the screen.
|
2023-11-21 19:14:02 -08:00 |
Drew Galbraith
|
96063126cb
|
[Zion] Add task switching for SSE registers and enable them in userspace.
|
2023-11-21 15:52:17 -08:00 |
Drew Galbraith
|
2a984a93ec
|
[Zion] Add a shim Floating Point Exception handler.
|
2023-11-21 15:17:32 -08:00 |
Drew Galbraith
|
0b8e2d8268
|
[Zion] Modify the alignement of the initial user stack pointer.
|
2023-11-21 14:53:59 -08:00 |
Drew Galbraith
|
a1e1e1c2d8
|
[Zion] Enable SSE instructions at the start of boot.
These aren't ready to be used yet as we need to save them on task
switch.
|
2023-11-20 16:40:07 -08:00 |
Drew Galbraith
|
9b43d615a9
|
[Zion] Split free physical memory into two lists.
Allow partitioning create requests so for large continuous requests
we don't have to iterate past a bunch of single free pages.
|
2023-11-20 10:02:27 -08:00 |
Drew Galbraith
|
12ca4e4e89
|
[Zion] Separate Memory "Views" to a separate MemoryObject.
|
2023-11-19 23:22:56 -08:00 |
Drew Galbraith
|
a8ad225cf1
|
[Zion] Make the base MemoryObject pure abstract.
|
2023-11-19 23:17:12 -08:00 |
Drew Galbraith
|
126482f3e8
|
[Yellowstone] Release init caps after loading.
This was incredibly helpful for finding cases where we were using
uninitialized memory as it causes a lot more pages to be reused early.
|
2023-11-19 22:54:26 -08:00 |
Drew Galbraith
|
322502fcee
|
[Denali] Zero out uninitialized devices.
|
2023-11-19 22:54:01 -08:00 |
Drew Galbraith
|
0f2d6d7cc8
|
[Mammoth] Load non aligned ELF program sections properly.
Previously we would write into a memory object for an offset address but
when it would be mapped into the address space it would be page aligned.
|
2023-11-19 22:52:32 -08:00 |
Drew Galbraith
|
a0a673ee16
|
[Yellowstone] Free Teton file cap after spawning process.
|
2023-11-19 21:38:04 -08:00 |
Drew Galbraith
|
4d1846a7d5
|
[Zion] Actually free memory pages when a MemoryObject goes out of scope
|
2023-11-19 21:37:30 -08:00 |
Drew Galbraith
|
344e84c313
|
[Mammoth] Get rid of last uses of MappedMemoryRegion.
|
2023-11-19 20:48:23 -08:00 |
Drew Galbraith
|
d41a565721
|
[Mammoth] Add an OwnedMemoryRegion for ContiguousPhysical.
|
2023-11-19 20:42:38 -08:00 |
Drew Galbraith
|
deb2e708cd
|
[Mammoth] Add a helper method for duplicating memory capabilities.
|
2023-11-19 20:35:55 -08:00 |
Drew Galbraith
|
8e827a5dfb
|
[Mammoth] Move all callers of FromCapability to OwnedMemoryObject.
|
2023-11-19 20:33:15 -08:00 |
Drew Galbraith
|
337126cabb
|
[Glacier] Update String to be non-copyable by default.
|
2023-11-19 19:14:37 -08:00 |
Drew Galbraith
|
ced89834de
|
[Mammoth] Unmap an OwnedMemoryObject when it is deleted.
|
2023-11-19 19:03:20 -08:00 |
Drew Galbraith
|
2e4a12661d
|
[Zion] Add a syscall to get a memory object's length.
|
2023-11-19 19:02:55 -08:00 |
Drew Galbraith
|
30b6511467
|
[Zion] Add a AddressSpaceUnmap syscall to free memory.
|
2023-11-19 18:55:44 -08:00 |
Drew Galbraith
|
e668428d9d
|
[Zion] Move Memory Mappings to a dedicated tree impl.
|
2023-11-19 18:45:13 -08:00 |