Commit Graph

89 Commits

Author SHA1 Message Date
2b04f8a82e add multiple threads to mallocator test 2022-04-12 13:33:37 +02:00
Sparchatus
d0f9e8dfcf Fix a deadlock during paging 2022-04-12 10:56:09 +00:00
53369ab564 alloc and free many small buffers 2022-04-11 18:27:16 +02:00
3e2ee555f8 spawn many mallocators 2022-04-11 00:40:01 +02:00
070b2fe8e4 add mallocator module 2022-04-11 00:16:14 +02:00
148b2a02ad add test_threads file 2022-04-10 22:40:42 +02:00
4eb6b2de56 remove unnecessary slot_alloc 2022-04-10 22:27:29 +02:00
Jan Schär
d8f2439b7b Implement heap allocation on page fault 2022-04-07 18:42:58 +02:00
Sparchatus
0c224f9066 locked rpc for thread safety 2022-04-06 14:05:44 +00:00
Sparchatus
3c8987f5f3 locked paging for thread safety? hope this suffices 2022-04-06 12:35:00 +00:00
Sparchatus
c96e6bcf66 add define to c_cpp_properties.c 2022-04-06 12:06:14 +00:00
Sparchatus
b7bee13f8e Add missing include dir to c_pp_properties.json 2022-04-06 11:15:16 +00:00
Jan Schär
51ccc7e3a0 Enable SELF_PAGING_WORKS 2022-04-06 11:31:31 +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
d3ada884d7 Bugfix as per Forum
https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=102070
2022-04-04 13:15:48 +00:00
Sparchatus
5f9ce34445 Added simple exception handler that prints stuff 2022-04-04 13:05:32 +00:00
Sparchatus
ec591bbb54 Bugfix for root slot allocator refill as in Q&A Forum
https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=100538
2022-03-31 20:39:59 +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
Jan Schär
8e5760627e Fix menu.lst file 2022-03-31 19:06:50 +02: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
Sparchatus
f22a6fa5a0 Fix kernel BUG in INIT_LX_SIZE definitions as in Q&A Forum
https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=100480
2022-03-31 12:54:08 +00:00
Sparchatus
69feeaf9d0 Revert "Fix kernel bug in INIT_LX_SIZE"
This reverts commit 16f26e8aa0.
2022-03-31 12:53:38 +00:00
Sparchatus
16f26e8aa0 Fix kernel bug in INIT_LX_SIZE
https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=100480
2022-03-31 12:52:00 +00:00
Sparchatus
84d16648d8 Fix kernel bug reported in Q&A forum
https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=100366
2022-03-31 10:53:05 +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
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