Commit graph

  • deb2e708cd [Mammoth] Add a helper method for duplicating memory capabilities. Drew Galbraith 2023-11-19 20:35:55 -08:00
  • 8e827a5dfb [Mammoth] Move all callers of FromCapability to OwnedMemoryObject. Drew Galbraith 2023-11-19 20:33:15 -08:00
  • 337126cabb [Glacier] Update String to be non-copyable by default. Drew Galbraith 2023-11-19 19:14:37 -08:00
  • ced89834de [Mammoth] Unmap an OwnedMemoryObject when it is deleted. Drew Galbraith 2023-11-19 19:03:20 -08:00
  • 2e4a12661d [Zion] Add a syscall to get a memory object's length. Drew Galbraith 2023-11-19 19:02:55 -08:00
  • 30b6511467 [Zion] Add a AddressSpaceUnmap syscall to free memory. Drew Galbraith 2023-11-19 18:55:44 -08:00
  • e668428d9d [Zion] Move Memory Mappings to a dedicated tree impl. Drew Galbraith 2023-11-19 18:45:13 -08:00
  • 3e9923f227 [Mammoth] Add an owned memory capability that cleans itself up. Drew Galbraith 2023-11-19 17:54:28 -08:00
  • 7d48dd2b8b [Zion] Add the ability to delete a capability. Drew Galbraith 2023-11-19 17:53:56 -08:00
  • 2e08eb76ff [zion] Move process.CheckState() to prevent infinite loop on thread exit. Drew Galbraith 2023-11-19 17:31:01 -08:00
  • 29fa8045af [Mammoth] Fix accidental fall through on mammoth init switch. Drew Galbraith 2023-11-19 17:30:39 -08:00
  • 70bdb822a7 [Zion] Add implementation of KernelVmm::FreeKernelStack. Drew Galbraith 2023-11-19 17:29:09 -08:00
  • 308dd6a203 [Zion] Add a framework for better process exit. Drew Galbraith 2023-11-16 23:03:27 -08:00
  • aa2d80b557 [Zion] Move ProcessManager to map as well. Drew Galbraith 2023-11-16 22:17:11 -08:00
  • 6e227e1cf6 [Zion/Glacier] Add a HashMap to store process capabilities. Drew Galbraith 2023-11-16 22:12:00 -08:00
  • 6756d25e5c [Build] Add a way to start qemu in debug mode with new script. Drew Galbraith 2023-11-16 22:11:35 -08:00
  • e1dc790155 [Zion] Clear interrupts on panic to actually hault the machine. Drew Galbraith 2023-11-16 22:10:54 -08:00
  • 40ea359e9f Fix init file to set proper install root.h Drew Galbraith 2023-11-16 20:13:31 -08:00
  • fb458e6fd4 [Teton] Draw a green square into the framebuffer. Drew Galbraith 2023-11-15 19:20:52 -08:00
  • 28719ac726 [Glacier] Format LinkedList code. Drew Galbraith 2023-11-15 18:59:12 -08:00
  • e4deca716c [Zion] Use range based for loop on LinkedList as POC. Drew Galbraith 2023-11-15 18:50:58 -08:00
  • 569945f06d [Glacier] Cleanup formatting for Array and Vector. Drew Galbraith 2023-11-15 18:43:35 -08:00
  • 1c7eacd977 [Build] Separate 'ninja && ninja install' so the script exits if they fail. Drew Galbraith 2023-11-15 18:38:31 -08:00
  • 84d3caaba5 [Teton] Get framebuffer info from yellowstone. Drew Galbraith 2023-11-15 16:41:51 -08:00
  • 0ced0032ff Move qemu startup to its own script. Drew Galbraith 2023-11-15 16:39:30 -08:00
  • 46d02e5eae [Zion] Remove sleeping messages. Drew Galbraith 2023-11-15 16:27:09 -08:00
  • 1ccbf5e12e [Yellowstone] Disable most log messages in yellowstone. Drew Galbraith 2023-11-15 16:26:08 -08:00
  • c080c61398 [Denali] Reduce noise on AHCI interrupt. Drew Galbraith 2023-11-15 16:21:19 -08:00
  • a3defbba53 [Mammoth] Fix formatting in init debug message. Drew Galbraith 2023-11-15 16:20:56 -08:00
  • e642f3900f [Zion] Print less about acpi on boot. Drew Galbraith 2023-11-15 16:09:36 -08:00
  • 9e76c81e97 [Zion] Move Kernel Stack Memory constants to separate file. Drew Galbraith 2023-11-15 15:55:24 -08:00
  • 07e6e3028d [Zion] Access the KernelStackManager through the VMM. Drew Galbraith 2023-11-15 15:38:25 -08:00
  • c5b9d20c7e [Zion] Remove early_dbgln since dbgln no longer allocs. Drew Galbraith 2023-11-15 15:19:02 -08:00
  • 20d6d2aaaf [Zion] Introduce the Kernel VMM to centralize allocs. Drew Galbraith 2023-11-15 15:14:29 -08:00
  • 0b47e3b7fc [Zion] Track used vs free physical memory. Drew Galbraith 2023-11-15 14:53:05 -08:00
  • 8e95a11907 [Zion] Move the physical memory manager to the LinkedList class. Drew Galbraith 2023-11-15 14:44:16 -08:00
  • 92d8a02291 [Zion] Cleanup memory debug statistics slightly. Drew Galbraith 2023-11-15 13:10:53 -08:00
  • 10d16e129f [Zion] Use a slab allocator for 64 byte and 128 byte allocs. Drew Galbraith 2023-11-15 13:06:14 -08:00
  • cc16210e90 [Zion] Use slab allocators immediately during heap init. Drew Galbraith 2023-11-15 13:02:34 -08:00
  • 659f122c9e [Zion] Free memory that was allocated with the slab allocator. Drew Galbraith 2023-11-15 12:53:14 -08:00
  • 6d27ee5dc5 [Zion] Add more debug information about kernel heap usage. Drew Galbraith 2023-11-15 12:36:18 -08:00
  • 4657c46f73 [Zion] Fix kernel heap distribution calculation. Drew Galbraith 2023-11-15 12:14:58 -08:00
  • d71d543b2a [Zion] Move to a kernel slab allocator that will allow easier dealloc. Drew Galbraith 2023-11-15 12:03:42 -08:00
  • 792e5155ba [Glacier] When resizing vector use the proper T constructor. Drew Galbraith 2023-11-15 12:00:48 -08:00
  • 7c105c8a31 [Sys] Successfully spin up a new process from disk. Drew Galbraith 2023-11-15 09:47:32 -08:00
  • e5568450c2 [Zion] Make kernel slab allocation failures less chatty. Drew Galbraith 2023-11-15 09:45:37 -08:00
  • 43f19d7a26 Hide sysroot/bin from git. Drew Galbraith 2023-11-14 21:47:24 -08:00
  • 52142afeb8 [Zion] Add proc prefix without allocation Drew Galbraith 2023-11-14 21:41:35 -08:00
  • 4ff4947bca [Yunq] Fix Vector sizing when parsing from bytes. Drew Galbraith 2023-11-14 21:08:00 -08:00
  • 83dbd18cb4 [Yunq] Factor out parsing most message fields to a shared method. Drew Galbraith 2023-11-10 12:51:23 -08:00
  • 0dacbb87dc [Yunq] Add repeated field parsing and serialization. Drew Galbraith 2023-11-10 12:26:59 -08:00
  • 0e99189dba [Yellowstone] Try to spawn the teton process from disk. Drew Galbraith 2023-11-09 12:55:44 -08:00
  • 9e05b3b3dd [Yellowstone] Add a method to get the framebuffer info from yellowstone. Drew Galbraith 2023-11-09 11:33:32 -08:00
  • d13e1a238f [Yunq] Add comments to Yunq. Drew Galbraith 2023-11-09 11:33:12 -08:00
  • fa6a5949b2 [Zion] Pass the framebuffer info to yellowstone init process. Drew Galbraith 2023-11-09 11:20:41 -08:00
  • 8d10f19312 [Glacier][Zion] Add a fix sized string builder to allow non-alloc debug. Drew Galbraith 2023-11-09 09:07:09 -08:00
  • 601f29c324 [Glacier] Add a specific VariableStringBuilder for StrFormat. Drew Galbraith 2023-11-09 08:52:30 -08:00
  • a745f45b5d [Zion] Add a method to dump the bootloader memory regions. Drew Galbraith 2023-11-08 08:07:57 -08:00
  • 17ed4ca1f6 Fix remainder of formats in userland. Drew Galbraith 2023-11-05 09:25:11 -08:00
  • 69aced2220 [Zion] Move to StrFormat for debug line. Drew Galbraith 2023-11-05 09:24:09 -08:00
  • 4af19d010f [Zion] Add an early debug method without allocations. Drew Galbraith 2023-11-05 08:48:41 -08:00
  • 85564b018d [Zion] Add todo comment for storing memory mappings in the address space. Drew Galbraith 2023-11-05 05:59:45 -08:00
  • 9ba26195d2 [Glacier] Implement delete for binary tree. Drew Galbraith 2023-11-03 21:59:57 -07:00
  • a16dcc2aa9 [Zion] Use a binary tree to store address space mappings. Drew Galbraith 2023-11-03 19:47:39 -07:00
  • 98f029ae23 [Glacier] Add a binary tree implementation. Drew Galbraith 2023-11-03 19:46:27 -07:00
  • 26b61db021 Move userspace to a templated StrFormat. Drew Galbraith 2023-11-03 02:48:21 -07:00
  • d9df1212b7 [Zion] Pass data to message queue as IpcMessage obj. Drew Galbraith 2023-11-03 00:37:53 -07:00
  • d7af2e3f4f [Zion] Return the IpcMessage up to the syscall level. Drew Galbraith 2023-11-03 00:12:28 -07:00
  • d2c77e1d18 [Zion] Move away from storing pointers to IpcMessages. Drew Galbraith 2023-11-02 23:51:52 -07:00
  • 59f147193a [Zion] Store IPC capabilities in a vector rather than list. Drew Galbraith 2023-11-02 23:44:15 -07:00
  • 4c09a9d019 [Zion] Move to a general IpcMessage object for Ipc. Drew Galbraith 2023-11-02 23:40:23 -07:00
  • 277b0d3ccc [Zion] Use the glacier ArrayView class for sending IPC msgs. Drew Galbraith 2023-11-02 23:31:08 -07:00
  • 6feb13d042 [Glacier] Add a basic Array and ArrayView class. Drew Galbraith 2023-11-02 23:30:44 -07:00
  • 1643f7b4cc [Zion] Update FIXME in threading. Drew Galbraith 2023-11-02 22:36:48 -07:00
  • 78624d5291 [Zion] Immediately schedule enqueued threads if we are sleeping. Drew Galbraith 2023-11-02 22:28:08 -07:00
  • c63a54d6b1 [Zion] Validate that started threads are in user space. Drew Galbraith 2023-11-02 22:23:32 -07:00
  • f8f839d8e7 [Glacier] Call an object's destructor in an ErrorOr Drew Galbraith 2023-11-02 22:16:06 -07:00
  • f31652b981 Add a way to restrict permissions on cap duplication. Drew Galbraith 2023-11-02 22:12:55 -07:00
  • 7dd10a3e53 [Zion] Remove dead ZMessage struct. Drew Galbraith 2023-11-02 21:57:29 -07:00
  • e66706d381 [Glacier] Convert ErrorCode into an Enum. Drew Galbraith 2023-11-02 21:55:12 -07:00
  • bcd9cf09bc [VictoriaFalls] Add the file size to VFS.OpenFile Drew Galbraith 2023-11-02 21:02:56 -07:00
  • d7050ff19f [VictoriaFalls] Implement Read File. Drew Galbraith 2023-11-02 20:57:28 -07:00
  • abf09d8fce [VictoriaFalls] Split the path when opening a file. Drew Galbraith 2023-11-02 20:24:33 -07:00
  • a2e80952c8 [Glacier] Add a StringView class and StrSplit method. Drew Galbraith 2023-11-02 20:23:28 -07:00
  • b6c220a350 [Yellowstone] Attempt to read a test file from the system root. Drew Galbraith 2023-11-02 19:28:27 -07:00
  • 38fb6ca170 [VictoriaFalls] Register VFS endpoint with yellowstone. Drew Galbraith 2023-11-02 18:55:05 -07:00
  • 48c7721b0f [VictoriaFalls] Add a VFS yunq stub and register it. Drew Galbraith 2023-10-25 23:08:45 -07:00
  • f815eb5614 [Yunq] Fix cmake variables. Drew Galbraith 2023-10-25 22:20:16 -07:00
  • 598816df12 [Yunq] Move yunq cmake macro to yunq dir. Drew Galbraith 2023-10-25 22:18:29 -07:00
  • 60de1ec9d3 [Yunq] Move example files into subdir. Drew Galbraith 2023-10-25 22:17:32 -07:00
  • c8dcc07d7d Update CMakeLists to autogen yunq files. Drew Galbraith 2023-10-25 21:53:55 -07:00
  • 0dbafbfa66 [Yunq] Reset cap buffers between server uses. Drew Galbraith 2023-10-25 20:46:36 -07:00
  • b85af8d0f8 [Yunq] Fix bug in logging reply errors. Drew Galbraith 2023-10-25 20:40:39 -07:00
  • 3e4fdfee84 [Denali] Move denali server to yunq. Drew Galbraith 2023-10-25 20:28:28 -07:00
  • acfaf26391 [Denali] Use mutexes to synchronize the AHCI responses. Drew Galbraith 2023-10-25 19:39:09 -07:00
  • adfffdd3c3 [Yellowstone] Use mutex to wait for denali to spawn VFS. Drew Galbraith 2023-10-25 19:08:00 -07:00
  • 6cb0041253 [Mammoth] Create userspace mutex capability. Drew Galbraith 2023-10-25 19:07:36 -07:00
  • 4c04f9d561 [Zion] Add a mutex object with appropriate syscalls. Drew Galbraith 2023-10-25 14:47:45 -07:00
  • 4c2237fa72 [Yellowstone] Move yellowstone yunq def to yellowstone/lib/ Drew Galbraith 2023-10-24 23:49:42 -07:00
  • af0852a5fa [yellowstone] Update TODO. Drew Galbraith 2023-10-24 23:43:57 -07:00