Commit Graph

55 Commits

Author SHA1 Message Date
Sparchatus
f51fbb441e Added block driver client and server 2022-05-31 09:50:06 +00:00
Sparchatus
12c1c2a23a Merge branch 'main' of gitlab.ethz.ch:rueegges/aos into main 2022-05-20 09:53:21 +00:00
Sparchatus
07f8cfe2bc UMP Channel implementation 2022-05-20 09:51:30 +00:00
Jan Schär
6a2b1f61bf enet: Map device registers 2022-05-18 17:45:24 +02:00
Jan Schär
9edba91b34 Implement UMP binding 2022-05-17 15:19:12 +02:00
Sparchatus
0d69c8b0ad Add NOP rpc call 2022-05-05 09:25:00 +00:00
Sparchatus
f59c3b52c5 Free paging slab space used in spawning a child process 2022-05-05 09:21:30 +00:00
9c1906082a forward rpc calls using urpc 2022-05-04 16:08:13 +02:00
Jan Schär
ede347c10b Allocate pids on bsp core 2022-05-04 14:03:06 +02:00
Sparchatus
9b29393930 Small quality of life improvements 2022-04-28 17:25:18 +00:00
47f554c940 also transfer slot0 capability of bootinfo 2022-04-28 17:49:53 +02:00
9e35e00500 forge devframe instead of frame for bootinfo 2022-04-28 15:06:14 +02:00
fbbb2ae5b2 work on bootinfo transfer 2022-04-28 14:02:31 +02:00
Jan Schär
691c295cf9 Implement spawn over URPC
It doesn't work yet because bootinfo is missing on core 1.
2022-04-28 11:25:04 +02:00
Jan Schär
0148df04a0 Partially implement urpc
Allocating memory on core 1 now works, but spawning on core 1 not yet.
2022-04-27 16:31:17 +02:00
Sparchatus
d90add66da Bugfix spawn error when no arguments are provided 2022-04-27 14:18:23 +00:00
Aurel Feer
ea92f78fca start on booting second core 2022-04-24 18:31:00 +02:00
Jan Schär
8e56ac9244 Merge remote-tracking branch 'handout/main' 2022-04-05 16:15:08 +02:00
Daniel Schwyn
a7a01f8ea1 Bug fixes
Signed-off-by: Daniel Schwyn <daniel.schwyn@inf.ethz.ch>
2022-04-04 15:16:17 +02:00
Sparchatus
5f9ce34445 Added simple exception handler that prints stuff 2022-04-04 13:05:32 +00:00
Sparchatus
62af3cbd65 Bugfixes for serial read rpc. Using kernel sys_getchar for dummy terminal read. Added silly shell to hello.c 2022-03-31 20:29:43 +00:00
d4a5a904dd remove debug prints 2022-03-31 17:50:05 +02:00
Sparchatus
c060cb8498 Fix bug in child spawning causing incomplete paging state passing 2022-03-31 15:42:56 +00:00
04803f06f8 maybe finish memory server 2022-03-31 17:19:47 +02:00
Sparchatus
12ee3bb5b6 Added arbitrary length terminal write and read with early return 2022-03-31 13:12:33 +00:00
Jan Schär
da6dbaaff7 Use default waitset on server 2022-03-31 11:47:38 +02:00
Jan Schär
042a4187ed Fix bugs 2022-03-31 10:24:28 +02:00
Sparchatus
9750a752c3 Added: Terminal RPC, Spawn RPC, small abstraction fixes, automatic recv slot allocation in aos_rpc 2022-03-31 07:59:00 +00:00
Jan Schär
14063e60be Implement RPC 2022-03-30 20:12:19 +02:00
f2fb4d5d01 start memory server 2022-03-30 16:23:39 +02:00
Sparchatus
50c75ed361 Working Init Channel 2022-03-28 15:33:53 +00:00
Sparchatus
24c9fa55a9 Pass init EP to spawn child 2022-03-28 07:58:55 +00:00
Sparchatus
22401e4cb0 Add PIDs and Milestone 3 preparation 2022-03-25 15:51:38 +00:00
Jan Schär
d58ae46282 Make it possible to use caps in child 2022-03-24 21:50:08 +01:00
Sandro Rüegge
0224bc8fd2 Extra/pass paging state 2022-03-24 14:18:15 +00:00
Jan Schär
24b4c54978 paging: Unmap and free 2022-03-23 23:15:15 +01:00
Sparchatus
0e3c365e4d Implemented killing a process + test 2022-03-23 15:24:37 +00:00
2a4e34ed8d implement invoke_dispatcher_stop 2022-03-23 14:50:04 +01:00
Sparchatus
a8700b9734 Fixed process list 2022-03-23 13:35:02 +00:00
Jan Schär
b6287225a0 spawn: Fix arguments 2022-03-23 14:24:22 +01:00
Jan Schär
bd1b3bed8d spawn: Start process 2022-03-23 14:19:49 +01:00
86907b831d set up arguments 2022-03-23 14:14:47 +01:00
Sparchatus
6c74f8fd18 store spawned processes in list for now 2022-03-23 09:59:00 +00:00
Jan Schär
3f60fdbb72 spawn: Map dispatcher into child 2022-03-23 10:31:13 +01:00
Sparchatus
c62530f230 Add translation from elf to paging flags 2022-03-23 09:27:54 +00:00
Sparchatus
e682cbc0b8 Merge branches 'main' and 'main' of gitlab.ethz.ch:rueegges/aos into main 2022-03-23 09:04:55 +00:00
Sparchatus
3493884ecc Map ELF into child address space 2022-03-23 09:02:07 +00:00
Jan Schär
2dbebcd684 spawn: Setup dispatcher 2022-03-23 09:45:08 +01:00
c83edbb696 setup child vspace 2022-03-22 22:36:38 +01:00
Jan Schär
e5632b050f spawn: Move code to correct function 2022-03-22 22:24:58 +01:00