Commit Graph

551 Commits

Author SHA1 Message Date
Drew Galbraith 642fc4d80d [Zion/Mammoth] Move init cap decls to mammoth.
They no longer need to be independent now that we have removed the libc.
2023-12-01 10:42:26 -08:00
Drew Galbraith c209925a3c [Yunq] Return status from client calls. 2023-12-01 10:35:42 -08:00
Drew Galbraith 700f3f94cb [Yunq] Return status in server code. 2023-12-01 10:26:03 -08:00
Drew Galbraith 3eba0bd9d8 [Yunq] Check identify byte and ensure users check status code. 2023-12-01 09:42:11 -08:00
Drew Galbraith 7d9f9a7ae9 [Yunq] Create libyunq and move parsing code to it. 2023-12-01 09:30:52 -08:00
Drew Galbraith 91f3f8ee43 [Yunq] Don't print ast. 2023-12-01 09:30:34 -08:00
Drew Galbraith 6212aef336 [Yellowstone] Move yellowstone yunq to namespace "yellowstone" 2023-11-30 08:50:43 -08:00
Drew Galbraith f1e09b2ae6 [Yunq] Add ability to namespace declarations using "package". 2023-11-30 08:50:15 -08:00
Drew Galbraith 9fdd670a23 [Voyageurs] Create unowned cap to pass to yellowstone. 2023-11-27 08:34:51 -08:00
Drew Galbraith 17b22c913b [Denali] Create unowned cap to pass to yellowstone. 2023-11-27 08:34:37 -08:00
Drew Galbraith 1614f2ae53 [VictoriaFalls] Create unowned cap to pass to yellowstone. 2023-11-27 08:31:55 -08:00
Drew Galbraith ad7794c694 [Yunq] Delete client capability in destructor.
Add a method to the server class to create an unowned capability. This
makes it simpler to create a capability for passing to other processes.

Duplicate the init yellowstone cap when using it temporarily.
2023-11-27 08:29:01 -08:00
Drew Galbraith 96a2f74e14 [Yunq] Release server cap on destructor. 2023-11-27 08:12:51 -08:00
Drew Galbraith 43d7bfa7ad [Voyageurs] Use yunq native empty response for service. 2023-11-27 08:08:03 -08:00
Drew Galbraith b95c736825 [Yellowstone] Use yunq native empty requests and responses for service. 2023-11-27 08:06:04 -08:00
Drew Galbraith cc4b5bd811 [Yunq] Add support for empty requests and responses. 2023-11-27 08:03:12 -08:00
Drew Galbraith 6d108f6965 [Zion] Compile kernel with -Wall -Werror. 2023-11-26 22:07:52 -08:00
Drew Galbraith 4e25a7e3b9 [Usr] Add a test process to spawn from Teton. 2023-11-26 21:14:45 -08:00
Drew Galbraith 7c75b832b2 [Teton] Add a barebones way to spawn a process. 2023-11-26 21:14:15 -08:00
Drew Galbraith 26ab661dbf [Teton] Change cwd command to pwd. 2023-11-26 19:12:54 -08:00
Drew Galbraith 29148c8756 [Teton] Add a cd command. 2023-11-26 19:12:09 -08:00
Drew Galbraith ea8598068d [Teton] Add a ls command. 2023-11-26 14:48:33 -08:00
Drew Galbraith e0bf7a9a1c [Mammoth] Add a call for listing a directory. 2023-11-26 14:48:20 -08:00
Drew Galbraith d0a3bf3936 [VictoriaFalls] Add a get directory ipc call for victoria falls. 2023-11-26 14:48:01 -08:00
Drew Galbraith 7d7cb8024c [Teton] Add a help command. 2023-11-26 13:53:22 -08:00
Drew Galbraith 57947fb5dd [Teton] Add a command to print the working directory. 2023-11-26 13:51:35 -08:00
Drew Galbraith faa54bc3dc [Teton] Buffer current command for executing. 2023-11-26 13:39:39 -08:00
Drew Galbraith c8e5441c7f [Glacier] Add the ability to remove a character from a StringBuilder. 2023-11-26 13:39:18 -08:00
Drew Galbraith 134185117d [Teton] Handle Tab and Backspace. 2023-11-26 13:21:04 -08:00
Drew Galbraith f01b447af4 [Mammoth] Add keycodes for all non-fn keys. 2023-11-26 12:12:27 -08:00
Drew Galbraith a83893d110 [Mammoth] Add keycodes for most symbol scancodes and shift. 2023-11-26 11:48:30 -08:00
Drew Galbraith 7f2b01438d [Teton] Just print a simple promp on the screen. 2023-11-26 11:29:15 -08:00
Drew Galbraith 2bc64b045c [Mammoth] Add a keyboard library that translates scancode to keycodes. 2023-11-26 11:21:56 -08:00
Drew Galbraith aecae8e41f [Teton] Fix offset in console to write correct character. 2023-11-25 19:56:08 -08:00
Drew Galbraith 1b7d2b9085 [Teton/Voyageurs] Subscribe to scancodes in teton and print them to screen.
Right now there appears to be an error with the font so that the
proper character is received but we write an incorect character to the
screen (off by one?).
2023-11-25 19:48:06 -08:00
Drew Galbraith ea17c143cc [Voyageurs] Register with yellowstone. 2023-11-25 19:37:04 -08:00
Drew Galbraith 8365d47cbe [Voyageurs] Add a basic ps/2 keyboard driver. 2023-11-25 13:08:30 -08:00
Drew Galbraith 7151a509ee [Mammoth] clean up check crash (we log the error code in the kernel. 2023-11-25 13:07:59 -08:00
Drew Galbraith 24bcff2e40 [Yunq] Fix syntax error in yunq. 2023-11-25 13:07:27 -08:00
Drew Galbraith 4ee4f9cb87 [Zion] Fix thread start checks and add logging. 2023-11-25 13:06:50 -08:00
Drew Galbraith f9ce4a4a8e [Zion] Don't ignore DriverManager Register return code. 2023-11-25 13:06:14 -08:00
Drew Galbraith 838ef01a2a [Zion] Add a keyboard interrupt handler and a driver manager. 2023-11-25 11:14:30 -08:00
Drew Galbraith d9a936db09 [Glacier] Fix div0 bug when calling .Contains on empty hashmap. 2023-11-25 11:13:09 -08:00
Drew Galbraith 46ae5de30a [Zion] Free paging structures after process exit. 2023-11-24 17:19:32 -08:00
Drew Galbraith 39ac0216dd [Zion] Free all user space mappings when exitting a process. 2023-11-24 17:08:37 -08:00
Drew Galbraith e50d3f8abc [Zion] Remove all capabilities on process cleanup. 2023-11-24 17:05:11 -08:00
Drew Galbraith 430dc36728 [Zion] Add TODO to separate user stacks for safety. 2023-11-24 16:57:00 -08:00
Drew Galbraith 85b701ce31 [Zion] Clarify kernel stack reuse in a comment. 2023-11-24 16:55:45 -08:00
Drew Galbraith 2dd69f5844 [Zion] Map user stacks in as regular MemoryObjects.
This allows us to easily track the physical memory so it
can be freed when the thread exits. It also simplifies the page fault
handler as it just needs to check regular mappings to find a user stack.
2023-11-24 16:51:35 -08:00
Drew Galbraith ba1b4df702 [Zion] Add more context to GPT faults in the interrupt handler. 2023-11-24 16:49:05 -08:00