Drew Galbraith
f815eb5614
[Yunq] Fix cmake variables.
2023-10-25 22:20:16 -07:00
Drew Galbraith
598816df12
[Yunq] Move yunq cmake macro to yunq dir.
2023-10-25 22:18:29 -07:00
Drew Galbraith
60de1ec9d3
[Yunq] Move example files into subdir.
2023-10-25 22:17:32 -07:00
Drew Galbraith
c8dcc07d7d
Update CMakeLists to autogen yunq files.
2023-10-25 21:53:55 -07:00
Drew Galbraith
0dbafbfa66
[Yunq] Reset cap buffers between server uses.
2023-10-25 20:46:36 -07:00
Drew Galbraith
b85af8d0f8
[Yunq] Fix bug in logging reply errors.
2023-10-25 20:40:39 -07:00
Drew Galbraith
3e4fdfee84
[Denali] Move denali server to yunq.
2023-10-25 20:28:28 -07:00
Drew Galbraith
acfaf26391
[Denali] Use mutexes to synchronize the AHCI responses.
...
This is a temporary solution to allow denali to migrate to the
yunq framework until we have a good async solution.
2023-10-25 19:39:09 -07:00
Drew Galbraith
adfffdd3c3
[Yellowstone] Use mutex to wait for denali to spawn VFS.
...
Kind of a hacky way to pass a signal between threads but works as
a POC for thread synchronization.
2023-10-25 19:08:00 -07:00
Drew Galbraith
6cb0041253
[Mammoth] Create userspace mutex capability.
2023-10-25 19:07:36 -07:00
Drew Galbraith
4c04f9d561
[Zion] Add a mutex object with appropriate syscalls.
2023-10-25 14:47:45 -07:00
Drew Galbraith
4c2237fa72
[Yellowstone] Move yellowstone yunq def to yellowstone/lib/
2023-10-24 23:49:42 -07:00
Drew Galbraith
af0852a5fa
[yellowstone] Update TODO.
2023-10-24 23:43:57 -07:00
Drew Galbraith
05e12aaa7d
[Yellowstone] Move registration service to the main yellowstone service
2023-10-24 23:42:49 -07:00
Drew Galbraith
b516087922
[Zion] Add the ability to pass capabilities via endpoint call.
2023-10-24 23:32:05 -07:00
Drew Galbraith
5b781bb394
Update READMEs and TODOs
2023-10-24 22:56:45 -07:00
Drew Galbraith
2b27af5814
[Yellowstone] Move to yunq definition for yellowstone server.
2023-10-24 18:24:26 -07:00
Drew Galbraith
9c9fd167cd
[Yunq] Clean up codegen issues for client and server.
2023-10-24 18:19:12 -07:00
Drew Galbraith
71e3521b87
[yunq] Add codegen for clients and servers (untested).
2023-10-24 15:57:35 -07:00
Drew Galbraith
963cc0b4fa
[Yunq] Move to using jinja for codegen.
2023-10-24 14:54:00 -07:00
Drew Galbraith
3faa19e4cb
[Yunq] Cleanup codegen bugs.
2023-10-24 12:40:15 -07:00
Drew Galbraith
d45f831b46
[Glacier] Add buffer types for holding bytes and capabilities.
2023-10-24 12:38:11 -07:00
Drew Galbraith
ca5361b847
[Glacier] Add the [] operator to string.
2023-10-24 12:34:52 -07:00
Drew Galbraith
990dd4c1e1
[yunq] Add codegen for message parsing and serialization methods.
2023-10-13 15:04:25 -07:00
Drew Galbraith
fdd2d693bc
[glacier] Add default constructor for a string.
2023-10-13 15:03:35 -07:00
Drew Galbraith
28a6d543ec
[Yunq] First pass at codegen for message headers and parsing.
2023-10-13 00:15:31 -07:00
Drew Galbraith
3323826f3b
[Yunq] Check that the type of request and response is a message
2023-10-12 23:14:25 -07:00
Drew Galbraith
90d840879f
[Yunq] Add identifier collision checking.
2023-10-12 23:04:11 -07:00
Drew Galbraith
19f7ba44c4
[Yunq] First pass at parsing the yunq idl for ipc.
...
Writing my own idl to make ipc simpler and allow easy passing of
capabilities between processes.
2023-10-12 22:46:37 -07:00
Drew Galbraith
ee603b7478
[zion] Add a basic slab allocator to the kernel.
...
Don't free from the slab allocator yet but allocations appear to work.
2023-08-02 00:54:39 -07:00
Drew Galbraith
e3a425e274
[zion] Use a separate stack for PF and GP faults in the kernel.
2023-08-01 23:11:12 -07:00
Drew Galbraith
259c64ef2a
[zion] Check if scheduler exists in PF handler before trying to resolve
2023-08-01 23:10:20 -07:00
Drew Galbraith
35b1844862
[zion] Move all APIC functions into a global class.
2023-08-01 22:38:40 -07:00
Drew Galbraith
f8de60e2dd
[zion] Move more initialization into the ApicTimer class.
2023-08-01 21:48:20 -07:00
Drew Galbraith
d99624daf6
[zion] Move to using the LAPIC timer over the PIT.
2023-08-01 20:18:47 -07:00
Drew Galbraith
f0add6e0c3
[zion] Enforce cap transmit permissions in more places.
2023-08-01 18:43:48 -07:00
Drew Galbraith
4e9ad6a516
[zion] Begin requiring capability transmit permission.
...
As a first pass require the permission when passing a capability to a
new process.
2023-08-01 18:37:20 -07:00
Drew Galbraith
f0a27d30be
[zion] Enfore Duplication permissions on capabilities.
2023-08-01 18:30:24 -07:00
Drew Galbraith
1364fbed9f
[zion] Move to default permissions being supplied by KernelObjects
2023-08-01 18:22:41 -07:00
Drew Galbraith
48c6e5b3a4
[zion] Add a method for duplicating and scoping down VMMOs.
...
Use the AHCI section of the PCI config as an example POC of this.
We can now pass a memory capability instead of just the physical
address.
2023-08-01 17:46:26 -07:00
Drew Galbraith
8f84f8c3ca
[zion] Remove temp PCI Memory Object create function.
...
Pass the PCI memory space to the yellowstone init process instead.
2023-08-01 17:13:19 -07:00
Drew Galbraith
c70b5b0753
[mammoth] Run EndpointServer in its own thread.
2023-08-01 16:08:34 -07:00
Drew Galbraith
caccb08e16
Generalize the EndpointServer to require less boilerplate.
...
Classes can now inherit from the EndpointServer and just implement the
HandleRequest function.
2023-08-01 15:52:08 -07:00
Drew Galbraith
847d37addc
[zion] Add info about APIC mapping
2023-08-01 11:19:48 -07:00
Drew Galbraith
3110087498
[zion] Don't dump process states on sleep
2023-08-01 10:42:53 -07:00
Drew Galbraith
083ed52ddd
[Victoria Falls] Print only the root directory information.
...
Move the InodeTable creating to the Init function which (somewhat)
requires us to stop taking the Ext2BlockReader as a reference (the reference
from the Init function goes out of scope). Make the Ext2BlockReader Init
function return a shared ptr by default.
2023-08-01 10:39:26 -07:00
Drew Galbraith
bed685af65
[Victoria Falls] Clean up directory probe debug printing
2023-07-31 23:54:41 -07:00
Drew Galbraith
3dce058562
[Victoria Falls] Fix DirEntry member size
2023-07-31 23:42:52 -07:00
Drew Galbraith
ef1b5ab9a4
Add a text file to the sysroot for testing ext2
2023-07-31 23:42:52 -07:00
Drew Galbraith
db5c9ab859
[libc] Consume the %s format character in vsprintf
...
Previously we were outputing a single 's' after the string.
2023-07-31 23:42:52 -07:00