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  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								3e9923f227 
								
							 
						 
						
							
							
								
								[Mammoth] Add an owned memory capability that cleans itself up.  
							
							 
							
							
							
						 
						
							2023-11-19 17:54:28 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								7d48dd2b8b 
								
							 
						 
						
							
							
								
								[Zion] Add the ability to delete a capability.  
							
							 
							
							
							
						 
						
							2023-11-19 17:53:56 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								2e08eb76ff 
								
							 
						 
						
							
							
								
								[zion] Move process.CheckState() to prevent infinite loop on thread exit.  
							
							 
							
							
							
						 
						
							2023-11-19 17:31:01 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								29fa8045af 
								
							 
						 
						
							
							
								
								[Mammoth] Fix accidental fall through on mammoth init switch.  
							
							 
							
							
							
						 
						
							2023-11-19 17:30:39 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								70bdb822a7 
								
							 
						 
						
							
							
								
								[Zion] Add implementation of KernelVmm::FreeKernelStack.  
							
							 
							
							
							
						 
						
							2023-11-19 17:29:09 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								308dd6a203 
								
							 
						 
						
							
							
								
								[Zion] Add a framework for better process exit.  
							
							 
							
							
							
						 
						
							2023-11-16 23:03:27 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								aa2d80b557 
								
							 
						 
						
							
							
								
								[Zion] Move ProcessManager to map as well.  
							
							 
							
							
							
						 
						
							2023-11-16 22:17:11 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								6e227e1cf6 
								
							 
						 
						
							
							
								
								[Zion/Glacier] Add a HashMap to store process capabilities.  
							
							 
							
							
							
						 
						
							2023-11-16 22:12:00 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								6756d25e5c 
								
							 
						 
						
							
							
								
								[Build] Add a way to start qemu in debug mode with new script.  
							
							 
							
							
							
						 
						
							2023-11-16 22:11:35 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								e1dc790155 
								
							 
						 
						
							
							
								
								[Zion] Clear interrupts on panic to actually hault the machine.  
							
							 
							
							
							
						 
						
							2023-11-16 22:10:54 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								40ea359e9f 
								
							 
						 
						
							
							
								
								Fix init file to set proper install root.h  
							
							 
							
							
							
						 
						
							2023-11-16 20:13:31 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								fb458e6fd4 
								
							 
						 
						
							
							
								
								[Teton] Draw a green square into the framebuffer.  
							
							 
							
							
							
						 
						
							2023-11-15 19:20:52 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								28719ac726 
								
							 
						 
						
							
							
								
								[Glacier] Format LinkedList code.  
							
							 
							
							
							
						 
						
							2023-11-15 18:59:12 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								e4deca716c 
								
							 
						 
						
							
							
								
								[Zion] Use range based for loop on LinkedList as POC.  
							
							 
							
							
							
						 
						
							2023-11-15 18:50:58 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								569945f06d 
								
							 
						 
						
							
							
								
								[Glacier] Cleanup formatting for Array and Vector.  
							
							 
							
							
							
						 
						
							2023-11-15 18:43:35 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								1c7eacd977 
								
							 
						 
						
							
							
								
								[Build] Separate 'ninja && ninja install' so the script exits if they fail.  
							
							 
							
							
							
						 
						
							2023-11-15 18:38:31 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								84d3caaba5 
								
							 
						 
						
							
							
								
								[Teton] Get framebuffer info from yellowstone.  
							
							 
							
							
							
						 
						
							2023-11-15 16:42:00 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								0ced0032ff 
								
							 
						 
						
							
							
								
								Move qemu startup to its own script.  
							
							 
							
							... 
							
							
							
							This causes us to reinstall and rebuild the image each time
we run qemu. This necessary now that we are loading files
from the disk because cmake makes it tricky (impossible?) to
have a command rely on a different target being "installed".
Because of this, updates to the teton executable were not being
picked up on the image. 
							
						 
						
							2023-11-15 16:39:36 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								46d02e5eae 
								
							 
						 
						
							
							
								
								[Zion] Remove sleeping messages.  
							
							 
							
							
							
						 
						
							2023-11-15 16:27:09 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								1ccbf5e12e 
								
							 
						 
						
							
							
								
								[Yellowstone] Disable most log messages in yellowstone.  
							
							 
							
							
							
						 
						
							2023-11-15 16:26:15 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								c080c61398 
								
							 
						 
						
							
							
								
								[Denali] Reduce noise on AHCI interrupt.  
							
							 
							
							
							
						 
						
							2023-11-15 16:21:19 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								a3defbba53 
								
							 
						 
						
							
							
								
								[Mammoth] Fix formatting in init debug message.  
							
							 
							
							
							
						 
						
							2023-11-15 16:20:56 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								e642f3900f 
								
							 
						 
						
							
							
								
								[Zion] Print less about acpi on boot.  
							
							 
							
							
							
						 
						
							2023-11-15 16:09:36 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								9e76c81e97 
								
							 
						 
						
							
							
								
								[Zion] Move Kernel Stack Memory constants to separate file.  
							
							 
							
							
							
						 
						
							2023-11-15 15:55:24 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								07e6e3028d 
								
							 
						 
						
							
							
								
								[Zion] Access the KernelStackManager through the VMM.  
							
							 
							
							
							
						 
						
							2023-11-15 15:38:25 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								c5b9d20c7e 
								
							 
						 
						
							
							
								
								[Zion] Remove early_dbgln since dbgln no longer allocs.  
							
							 
							
							
							
						 
						
							2023-11-15 15:19:02 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								20d6d2aaaf 
								
							 
						 
						
							
							
								
								[Zion] Introduce the Kernel VMM to centralize allocs.  
							
							 
							
							
							
						 
						
							2023-11-15 15:15:31 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								0b47e3b7fc 
								
							 
						 
						
							
							
								
								[Zion] Track used vs free physical memory.  
							
							 
							
							
							
						 
						
							2023-11-15 14:53:05 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								8e95a11907 
								
							 
						 
						
							
							
								
								[Zion] Move the physical memory manager to the LinkedList class.  
							
							 
							
							
							
						 
						
							2023-11-15 14:44:16 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								92d8a02291 
								
							 
						 
						
							
							
								
								[Zion] Cleanup memory debug statistics slightly.  
							
							 
							
							
							
						 
						
							2023-11-15 13:10:53 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								10d16e129f 
								
							 
						 
						
							
							
								
								[Zion] Use a slab allocator for 64 byte and 128 byte allocs.  
							
							 
							
							... 
							
							
							
							This has no effect on page usage for now (each uses a small amount of
pages so has some overhead.
However it does reduce the active allocations from
234 -> 146 (64B)
61 -> 51 (128B) 
							
						 
						
							2023-11-15 13:06:14 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								cc16210e90 
								
							 
						 
						
							
							
								
								[Zion] Use slab allocators immediately during heap init.  
							
							 
							
							
							
						 
						
							2023-11-15 13:02:34 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								659f122c9e 
								
							 
						 
						
							
							
								
								[Zion] Free memory that was allocated with the slab allocator.  
							
							 
							
							... 
							
							
							
							This reduces the number of active allocs by ~ 200.
Size 8: 142 -> 2
Size 16: 319 > 313
Size 32: 364-> 312 
							
						 
						
							2023-11-15 12:53:14 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								6d27ee5dc5 
								
							 
						 
						
							
							
								
								[Zion] Add more debug information about kernel heap usage.  
							
							 
							
							... 
							
							
							
							This will be helpful as we work to improve it.
Without deallocations, we currently stand at the following alloc numbers
8 - 142
16 - 319
32 - 364
unsized - 305
total page usage including slabs is 12. 
							
						 
						
							2023-11-15 12:36:18 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								4657c46f73 
								
							 
						 
						
							
							
								
								[Zion] Fix kernel heap distribution calculation.  
							
							 
							
							
							
						 
						
							2023-11-15 12:14:58 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								d71d543b2a 
								
							 
						 
						
							
							
								
								[Zion] Move to a kernel slab allocator that will allow easier dealloc.  
							
							 
							
							
							
						 
						
							2023-11-15 12:04:35 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								792e5155ba 
								
							 
						 
						
							
							
								
								[Glacier] When resizing vector use the proper T constructor.  
							
							 
							
							... 
							
							
							
							Previously when we static_casted from uint8_t[] to T[] we ended
up not properly initializing the objects in the array. This caused
issues where garbage memory provided by new was treated as a legitimate
object.
Potentially in the future it would make sense to back vectors with
a simple byte array and do memcpys to move objects in and out as
needed. 
							
						 
						
							2023-11-15 12:00:53 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								7c105c8a31 
								
							 
						 
						
							
							
								
								[Sys] Successfully spin up a new process from disk.  
							
							 
							
							
							
						 
						
							2023-11-15 09:47:32 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								e5568450c2 
								
							 
						 
						
							
							
								
								[Zion] Make kernel slab allocation failures less chatty.  
							
							 
							
							... 
							
							
							
							We started to hit this constraint but the allocators are due for
a redesign that actually does deallocation soon. 
							
						 
						
							2023-11-15 09:45:37 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								43f19d7a26 
								
							 
						 
						
							
							
								
								Hide sysroot/bin from git.  
							
							 
							
							
							
						 
						
							2023-11-14 21:47:24 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								52142afeb8 
								
							 
						 
						
							
							
								
								[Zion] Add proc prefix without allocation  
							
							 
							
							
							
						 
						
							2023-11-14 21:41:35 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								4ff4947bca 
								
							 
						 
						
							
							
								
								[Yunq] Fix Vector sizing when parsing from bytes.  
							
							 
							
							
							
						 
						
							2023-11-14 21:08:00 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								83dbd18cb4 
								
							 
						 
						
							
							
								
								[Yunq] Factor out parsing most message fields to a shared method.  
							
							 
							
							
							
						 
						
							2023-11-10 12:51:23 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								0dacbb87dc 
								
							 
						 
						
							
							
								
								[Yunq] Add repeated field parsing and serialization.  
							
							 
							
							
							
						 
						
							2023-11-10 12:26:59 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								0e99189dba 
								
							 
						 
						
							
							
								
								[Yellowstone] Try to spawn the teton process from disk.  
							
							 
							
							
							
						 
						
							2023-11-09 12:55:44 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								9e05b3b3dd 
								
							 
						 
						
							
							
								
								[Yellowstone] Add a method to get the framebuffer info from yellowstone.  
							
							 
							
							
							
						 
						
							2023-11-09 11:33:32 -08:00  
						
					 
				
					
						
							
							
								
								Drew Galbraith 
							
						 
						
							 
							
							
							
							
								
							
							
								d13e1a238f 
								
							 
						 
						
							
							
								
								[Yunq] Add comments to Yunq.  
							
							 
							
							
							
						 
						
							2023-11-09 11:33:12 -08:00