Commit Graph

55 Commits

Author SHA1 Message Date
Drew Galbraith c8f84ec352 Moved victoriafalls to sys dir in rust. 2025-02-07 18:05:38 -08:00
Drew Galbraith faa71d08c5 Reduce wait in async executor. 2025-02-01 14:29:38 -08:00
Drew Galbraith 6f0dfa8719 Register denali on yellowstone, handle read requests. 2025-02-01 13:09:42 -08:00
Drew Galbraith a5cdd23f0b Run denali server thread. 2025-02-01 12:11:59 -08:00
Drew Galbraith 10e536acab Add an async server implementation for Yunq. 2025-02-01 11:25:37 -08:00
Drew Galbraith 017367c4de Store ahci hba and pci device header as mut references 2025-01-31 21:38:06 -08:00
Drew Galbraith 04effd44f8 Move Ahci Port Controller to hold raw references. 2025-01-31 21:23:42 -08:00
Drew Galbraith 741b605a1c Move init implementation into hba and introduce volatile. 2025-01-31 18:03:04 -08:00
Drew Galbraith 34bd3b80d3 Created a basic async runtime. 2025-01-27 23:50:23 -08:00
Drew Galbraith d777b8f4ab Move yunq to new thread spawn and remove old one. 2025-01-26 00:05:55 -08:00
Drew Galbraith d1b5720abd Add a Mutex implementation. 2025-01-25 23:17:45 -08:00
Drew Galbraith 71c6003905 Move teton to use new thread spawning. 2025-01-25 23:16:27 -08:00
Drew Galbraith 9da38d608a Add thread spawn with proper trait checks. 2025-01-25 21:49:28 -08:00
Drew Galbraith d94f61511b [Denali] Interrupts working in rust. 2024-10-02 23:59:50 -07:00
Drew Galbraith df79233bbb [Denali] Reset HBA and iterate over ports. 2024-09-10 01:12:32 -07:00
Drew Galbraith 8dfd57b411 Clean up rust unused warnings. 2024-08-30 00:49:33 -07:00
Drew Galbraith 51478e7ccf [Denali] Begin porting to rust. 2024-08-30 00:38:15 -07:00
Drew Galbraith 72e5d8c618 [Yunq] Rust tests for nested messages. 2024-08-29 23:39:30 -07:00
Drew Galbraith f94f56f9ec [Yunq] Create repeated field implementations in rust. 2024-08-29 23:29:58 -07:00
Drew Galbraith 4ee8dc924c Add a uniq test module for yunq in rust. 2024-08-29 21:27:27 -07:00
Drew Galbraith bbb44be96e [Victoriafalls] Add file access to underlying memory. 2024-08-18 12:26:15 -07:00
Drew Galbraith 8d3f77e648 [Yellowstone] Read init file from disk. 2024-08-18 11:57:00 -07:00
Drew Galbraith e90018b42e [Yellowstone] Allow registering denali. 2024-08-17 21:54:30 -07:00
Drew Galbraith c9b484089e [Yellowstone] Wireframe for moving yellowstone to rust. 2024-08-17 20:19:45 -07:00
Drew Galbraith f551cc88cd [Yunq] Allow creating a client cap. 2024-08-17 20:18:25 -07:00
Drew Galbraith 52f530f8c1 Add yunq support for nested messages. 2024-08-17 20:18:03 -07:00
Drew Galbraith 7e68c1b641 Add a rust user-space Capability struct.
This is a thin wrapper around a capability ptr that releases the
capability when it is done and prevents copying/cloning it.

To get a copy a caller must explicitly use duplicate.
2024-08-17 17:15:33 -07:00
Drew Galbraith 19a8ab41d4 [Zion] Make sure result of ValidateCapability is used. 2024-08-17 17:14:30 -07:00
Drew Galbraith 006f9f8ac5 [Teton] Exec process in rust. 2024-08-17 12:55:13 -07:00
Drew Galbraith f5a27156d2 [Teton] Add ls and cd commands to rust impl. 2024-08-14 08:47:29 -07:00
Drew Galbraith f04e720811 Typing in terminal is now supported in rust teton. 2024-08-13 19:55:44 -07:00
Drew Galbraith 18e512cf1f [Teton] Move console/shell to rust. WIP 2024-08-12 11:35:54 -07:00
Drew Galbraith 76f8795a46 Implement yunq server in rust. 2024-07-31 19:59:46 -07:00
Drew Galbraith 6ae111dc66 Move request/response serialization to YunqMessage trait. 2024-07-30 15:13:34 -07:00
Drew Galbraith e41f58c714 Use method number in rust yunq client. 2024-07-30 14:33:19 -07:00
Drew Galbraith d4f60f4942 Moved process exit to syscall helper.
Final call moved so syscall is private now.

Also cleans up the macro a fair bit.
2024-07-28 21:01:03 -07:00
Drew Galbraith c2f9f5388b Move yunq client to use syscall helpers. 2024-07-28 20:54:52 -07:00
Drew Galbraith 5705f8d2ab Move more syscall usages to helper functions. 2024-07-28 20:10:32 -07:00
Drew Galbraith ca67da16e6 [Mammoth] Move thread syscalls to wrappers. 2024-07-28 19:48:05 -07:00
Drew Galbraith 612a5ac572 Remove unused zcap 2024-07-28 19:30:31 -07:00
Drew Galbraith 4d94bc0ea8 Make unsafe more limited in memory initialization. 2024-07-28 19:29:23 -07:00
Drew Galbraith d35e8d253f Reorganize mammoth lib in rust. 2024-07-28 19:26:23 -07:00
Drew Galbraith d5a5041c4b Add multithreading to rust code. 2024-07-28 19:02:03 -07:00
Drew Galbraith 19144f7be9 Fix rust compiler warnings. 2024-07-28 18:14:18 -07:00
Drew Galbraith 1e073d5060 Split yunq compliation to library and use it in build process. 2024-07-28 18:08:34 -07:00
Drew Galbraith 370ba9ae40 Hacky auto build for rust yunq. 2024-07-28 14:32:50 -07:00
Drew Galbraith 2cbf871d09 Add codegen for new rust yunq parser. 2024-07-27 20:23:03 -07:00
Drew Galbraith 8f35d38e93 Add macros to derive message serializations. 2024-07-27 18:30:17 -07:00
Drew Galbraith ccd13fecf1 Use in macro. 2024-07-27 08:36:56 -07:00
Drew Galbraith 3eea4d811a Example yunq implementation for one Yellowstone endpoint. 2024-07-26 23:36:07 -07:00