Drew Galbraith
b2354ae341
Move many loops over glcr::Vector to range-based loops.
2024-01-11 17:13:35 -08:00
Drew Galbraith
0b9f83b321
[Teton] Wait on spawned processes to exit.
2023-12-02 13:26:42 -08:00
Drew Galbraith
6212aef336
[Yellowstone] Move yellowstone yunq to namespace "yellowstone"
2023-11-30 08:50:43 -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
8ceab2ad23
[Yellowstone] Use the file api to load the init file.
2023-11-22 16:58:13 -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
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
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
a0a673ee16
[Yellowstone] Free Teton file cap after spawning process.
2023-11-19 21:38:04 -08:00
Drew Galbraith
8e827a5dfb
[Mammoth] Move all callers of FromCapability to OwnedMemoryObject.
2023-11-19 20:33:15 -08:00
Drew Galbraith
7c105c8a31
[Sys] Successfully spin up a new process from disk.
2023-11-15 09:47:32 -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
fa6a5949b2
[Zion] Pass the framebuffer info to yellowstone init process.
2023-11-09 11:20:41 -08:00
Drew Galbraith
26b61db021
Move userspace to a templated StrFormat.
2023-11-03 02:48:21 -07:00
Drew Galbraith
bcd9cf09bc
[VictoriaFalls] Add the file size to VFS.OpenFile
2023-11-02 21:02:56 -07:00
Drew Galbraith
d7050ff19f
[VictoriaFalls] Implement Read File.
2023-11-02 20:57:28 -07:00
Drew Galbraith
b6c220a350
[Yellowstone] Attempt to read a test file from the system root.
2023-11-02 19:28:27 -07:00
Drew Galbraith
38fb6ca170
[VictoriaFalls] Register VFS endpoint with yellowstone.
2023-11-02 18:55:05 -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
05e12aaa7d
[Yellowstone] Move registration service to the main yellowstone service
2023-10-24 23:42:49 -07:00
Drew Galbraith
2b27af5814
[Yellowstone] Move to yunq definition for yellowstone server.
2023-10-24 18:24:26 -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
29d9923f5a
[yellowstone] Add a way to retrieve to denali client from yellowstone
2023-07-05 16:03:20 -07:00
Drew Galbraith
16dd675828
[denali] Get Ahci device address from yellowstone.
2023-06-26 17:01:59 -07:00
Drew Galbraith
90f33f31c5
[mammoth] Move EndpointClient to move-only semantics.
2023-06-26 11:54:36 -07:00
Drew Galbraith
2e89aee5a3
[mammoth] Update EndpointServer to have move-only semantics.
2023-06-26 11:38:17 -07:00
Drew Galbraith
a46694d0f7
[yellowstone] Add yellowstone server for endpoint registration.
2023-06-22 02:19:16 -07:00
Drew Galbraith
f0e8ce14a4
[victoria] Create and start VictoriaFalls process
2023-06-22 00:22:59 -07:00
Drew Galbraith
69501bfe01
[all] Add stub for new Endpoint kernel object
2023-06-21 21:43:27 -07:00
Drew Galbraith
1f7a15eed4
[mammoth] Return ErrorOr when creating a process
2023-06-21 20:58:08 -07:00
Drew Galbraith
36a83b142b
[yellowstone] Use denali client to parse GPT
2023-06-19 22:58:00 -07:00
Drew Galbraith
a202bf2371
Have yellowstone dump the MBR/GPT tables
2023-06-19 21:54:40 -07:00
Drew Galbraith
685070d65e
Get rid of the type field on zmessage
2023-06-17 02:01:21 -07:00
Drew Galbraith
5e99dbf7d1
Refactor all Zion decls into one header
2023-06-17 01:45:53 -07:00
Drew Galbraith
09ac87e6f5
[yellowstone] Recieve all caps via init port.
2023-06-17 00:17:43 -07:00
Drew Galbraith
528723e490
[mammoth] Create a method for getting initial caps.
2023-06-16 23:51:49 -07:00
Drew Galbraith
4c936623b5
Specify our target in .ccls
2023-06-16 23:15:41 -07:00
Drew Galbraith
21b73b5b92
[zion] [yellowstone] Pass the denali VMMO by port as a POC.
...
Preparing to bootsrap via port write rather than hard coding capability
ids.
2023-06-16 15:58:50 -07:00
Drew Galbraith
e5da93757a
Working AHCI DMA IPC from yellowstone to denali.
...
We have a weird bug in context switching where a process's rsp0 ends up
pointing at the wrong value sometimes which crashes the OS.
2023-06-16 01:31:23 -07:00
Drew Galbraith
ffa2d97a64
First iteration of denali server
2023-06-15 16:20:29 -07:00
Drew Galbraith
56789400d7
Allow mapping the PCI Config so Yellowstone can map it.
...
This is a temp system call. Evemtually we should probably supply the
root process with all of the system physical memory objects.
2023-06-07 22:45:42 -07:00
Drew Galbraith
7c9d1075eb
Move sys/test to Yellowstone init process.
2023-06-07 11:18:35 -07:00