Commit Graph

143 Commits

Author SHA1 Message Date
Jan Schär
9edba91b34 Implement UMP binding 2022-05-17 15:19:12 +02:00
Sparchatus
807e804bb8 Less annoying paging exception handler output 2022-05-11 13:50:08 +00:00
Sparchatus
b2c12e8c15 Fix performance measurements 2022-05-09 09:36:04 +00:00
Sparchatus
8642c075ea Realized yielding is actually faster by a lot 2022-05-09 07:42:27 +00:00
Sparchatus
4dbaf216b3 Added some measurements of URPC 2022-05-05 21:35:50 +00:00
Sparchatus
30d030fae4 Performance measurement framework 2022-05-05 21:23:01 +00: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
Sparchatus
80313640f4 Bugfix urpc should handle a missing cap 2022-05-05 08:32:24 +00:00
Sparchatus
2751ed3a15 Store full log in file 2022-05-04 15:43:21 +00:00
Sparchatus
689e045b9c Add python venv to docker image 2022-05-04 15:42:49 +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
323a9cc088 Bugfix slot allocation during urpc causes cap reuse 2022-05-02 09:11:03 +00:00
Sparchatus
5c6d186a3c Bugfix Allow other threads to continue even if one fails paging 2022-05-02 09:02:47 +00:00
Jan Schär
cd53dfd7f3 Fix thread stack allocation
We need to allocate the stack before the thread starts running.
2022-04-28 19:40:18 +02:00
Sparchatus
d46c7a5875 URPC server wait defer instead of yield for lower CPU load 2022-04-28 17:30:41 +00:00
Sparchatus
9b29393930 Small quality of life improvements 2022-04-28 17:25:18 +00:00
Sparchatus
42980b1c20 Bugfix: create module cnode for app init 2022-04-28 17:24:55 +00:00
Sparchatus
627b395f39 Bufgix: Kernel does not set cap owner for pt mapping 2022-04-28 17:23:12 +00:00
Jan Schär
36530499fb Allocate URPC thread stack on main thread 2022-04-28 19:18:19 +02:00
df146c227a Merge branch 'main' of gitlab.ethz.ch:rueegges/aos into main 2022-04-28 15:50:44 +00:00
47f554c940 also transfer slot0 capability of bootinfo 2022-04-28 17:49:53 +02:00
Sparchatus
7b1ffe2f94 Move early testing so mm alloc is available 2022-04-28 13:38:07 +00:00
Sparchatus
57920c9aa4 Check for malloc failure 2022-04-28 13:36:53 +00:00
9e35e00500 forge devframe instead of frame for bootinfo 2022-04-28 15:06:14 +02:00
fb5e35287d progress 2022-04-28 14:48:44 +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
Sparchatus
08071e6858 Bugfix NULL pointer dereference during pagefault error printing 2022-04-27 14:17:37 +00:00
Sparchatus
e8fef8d87c pushing urpc experiments 2022-04-27 09:19:57 +00:00
Sparchatus
976311cb3e Merge branch 'main' of gitlab.ethz.ch:rueegges/aos into main 2022-04-27 09:13:46 +00:00
Sparchatus
81018ac2fd Implemented app_main 2022-04-27 09:13:29 +00:00
Aurel Feer
4f71689996 fix booting second core on toradex 2022-04-26 20:55:03 +02:00
Sparchatus
b66f20ae24 Fix coreboot cache flushing. 2022-04-25 14:44:45 +00:00
Sparchatus
8948748963 Added define to c_cpp_properties.json 2022-04-25 14:43:30 +00:00
fc44e3efc6 try to boot second core 2022-04-25 15:55:00 +02:00
Sparchatus
1e225bac85 Merge Aurel and Sandro proress 2022-04-25 11:42:37 +00:00
Aurel Feer
ea92f78fca start on booting second core 2022-04-24 18:31:00 +02:00
42925eb214 fix guarded region 2022-04-14 15:39:35 +02:00
Sparchatus
2bebc35bd6 Revert "fine grained paging locking to avoid deadlocks"
This reverts commit fca2584d89.
2022-04-13 19:04:49 +00:00
Jan Schär
02b40ebb11 Fix RPC locking 2022-04-13 19:42:35 +02:00
3c85b4d971 add stackoverflow test 2022-04-13 17:42:55 +02:00
f6364278d0 implement guard pages for stack 2022-04-13 17:15:11 +02:00
Jan Schär
42d51de0b1 Fix for page fault while disabled 2022-04-13 15:47:38 +02:00
Sparchatus
e5a5ec13bb Even more effective multu thred testing and dirty fix for paging slab stealing issue 2022-04-13 13:38:35 +00:00
Sparchatus
fca2584d89 fine grained paging locking to avoid deadlocks 2022-04-13 12:55:56 +00:00
Sparchatus
0dc8227beb Reducing number of threads to below MAX_THREADS 2022-04-13 12:48:28 +00:00