Commit Graph

210 Commits

Author SHA1 Message Date
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
6b77ee35e4 test_ipc: fix memeater spawn 2022-03-30 14:07:21 +00:00
Sparchatus
ac171a2851 Fixed oupsie in init chanel setup 2022-03-30 13:26:49 +00:00
d05b40fdc8 add memeater to tests 2022-03-30 13:14:01 +02:00
Sparchatus
1ec7d103a2 Also remove dispatchers from wakeup when killing 2022-03-28 16:06:59 +00: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
Sparchatus
f46cf6d66a fix paging test 2022-03-25 10:25:22 +00:00
Sparchatus
31e6421b83 Added commands for handling Toradex build&run 2022-03-25 08:37:21 +00:00
Jan Schär
d58ae46282 Make it possible to use caps in child 2022-03-24 21:50:08 +01:00
Jan Schär
c835aa477b Revert ram_alloc_set prototype
Rather than changing the prototype of an existing function, we should
create a new function and make the old function a wrapper around that.
2022-03-24 18:28:31 +01:00
Sandro Rüegge
24cfb539fa Merge branch 'extra/pass-paging-state' into 'main'
Extra/pass paging state

See merge request rueegges/aos!1
2022-03-24 14:18:15 +00:00
Sandro Rüegge
0224bc8fd2 Extra/pass paging state 2022-03-24 14:18:15 +00:00
Sparchatus
ba1eaa12dc Added test for paging_unmap 2022-03-24 08:05:03 +00:00
Jan Schär
24b4c54978 paging: Unmap and free 2022-03-23 23:15:15 +01:00
Sparchatus
f2f7c37442 Added time_wait_ms function to stdlib 2022-03-23 15:55:20 +00:00
Sparchatus
6e1f536635 Oups 2022-03-23 15:27:31 +00:00
Sparchatus
0e3c365e4d Implemented killing a process + test 2022-03-23 15:24:37 +00:00
Sparchatus
efa60d03b8 Fixed hello sleep 2022-03-23 13:52:32 +00:00
Sparchatus
f2a5dae163 Merge branch 'main' of gitlab.ethz.ch:rueegges/aos into main 2022-03-23 13:51:29 +00:00
Sparchatus
55b3b80b16 Added tests for paging_map_frame_attr and spawn multiple processes 2022-03-23 13:50:09 +00:00
2a4e34ed8d implement invoke_dispatcher_stop 2022-03-23 14:50:04 +01:00
47c7038002 DispatcherCmd_Stop capability command 2022-03-23 14:45:50 +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
dac5b0a7de Added catch command to hello.c 2022-03-23 10:23:33 +00:00
Sparchatus
19ceb35c71 Hello World should print all its arguments 2022-03-23 10:06:14 +00: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
Sparchatus
fdf72890f1 Add foreign state init 2022-03-23 08:29:02 +00: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
8bd3bd5f55 Merge branch 'main' of gitlab.ethz.ch:rueegges/aos into main
merge
2022-03-22 21:50:57 +01:00
68c6df0238 create cspace 2022-03-22 20:49:42 +00:00
Jan Schär
07a20776de spawn: Parse the ELF 2022-03-22 21:18:36 +01:00
Jan Schär
6b911752f0 spawn: Find and map module, print magic, add test 2022-03-22 19:37:14 +01:00
Jan Schär
ec5ccea70c Clean up tests 2022-03-22 19:35:03 +01:00
Sparchatus
54c9c5d73b fix paging SEG 2022-03-22 16:12:52 +00:00
Sparchatus
2dd4f8d45f Store mapping size in page table metadata 2022-03-22 16:01:05 +00:00
Sparchatus
10371dc78f Merge branch 'main' of gitlab.ethz.ch:rueegges/aos into main 2022-03-22 15:53:16 +00:00