Commit Graph

36 Commits

Author SHA1 Message Date
François Autin
15a04fb9da
Fixed tests failing because of a too small memory 2023-05-09 20:52:00 +02:00
François Autin
86113da9d3
Fixed missing UserStackSize from default configuration 2023-05-09 19:32:33 +02:00
a211e93905 try to implement join 2023-04-23 15:42:33 +02:00
François Autin
aba2fbc718
Updated lock_release to update lock in objaddr list 2023-04-20 14:50:44 +02:00
François Autin
efe00ffa26 📝 Documentation update 2023-04-19 18:12:27 +02:00
François Autin
73ac8d3083 BurritOS now read configuration file 2023-04-19 18:09:08 +02:00
François Autin
74a0960ec3 Added user configuration to utility module 2023-04-19 16:39:39 +02:00
Rémi Rativel
35b2949243 implemented lock_release in thread_manager.rs, for this, I derived the clone function for lock in synch.rs and list in list.rs 2023-04-18 12:13:56 +02:00
f144438490 loader now return better understanable errors, fix when compiler when to use bss section, add join exception, fix get_string_param, add support for thread in obbAddr, add a test 2023-04-13 00:18:51 +02:00
35736821c0 lint: remove some warning 2023-04-12 15:32:46 +02:00
752b70e448 Remove old P and V semaphore function and moved tests 2023-04-12 15:22:22 +02:00
21f3a72a3d Fix exceptions with semaphore 2023-04-12 14:49:08 +02:00
134e2bd2cc Fix a lot of errors 2023-04-12 14:01:39 +02:00
François Autin
729eba656c
Added sc_v call 2023-04-12 13:25:33 +02:00
66d6daf0b9 Lint: remove some warnings 2023-04-06 13:46:59 +02:00
François Autin
df4fd53c96
Added documentation for trait 2023-04-05 16:44:41 +02:00
François Autin
91f5c6054c
Added trait SynchObj to relevant structs 2023-04-05 16:12:15 +02:00
François Autin
8ee7470dc5
Added objaddr 2023-04-05 16:09:10 +02:00
8b3a3bebe7 Fix list::remove when trying to remove first element of the list (SIGSEGV) 2023-04-05 13:07:10 +02:00
b104bcc6da Fix memory leak 2023-03-22 14:33:56 +01:00
b9c329219a Added 2 tests to list.rs, improve semantic and using Default trait instant of function new 2023-03-21 22:40:49 +01:00
d3b2d0bac6 List is now a fifo list 2023-03-21 22:03:48 +01:00
François Autin
bed763cf54 📝 Updated mod doc for list and system 2023-03-15 11:01:25 +01:00
5a6a70f1b7 Force the compiler and clippy to return a warning when a function isn't documented 2023-03-13 14:51:32 +01:00
François Autin
ec07158633
Added partialeq trait to Node 2023-03-10 19:04:23 +01:00
bf4be44676
Add list.remove(T) 2023-03-10 19:04:22 +01:00
François Autin
6b95969c4b
Added partialeq trait to List struct 2023-03-10 19:04:22 +01:00
621b0568b0
Move system to the right location 2023-03-10 19:01:22 +01:00
83df053dc6
Implement Thread::start and join 2023-03-10 19:01:22 +01:00
c140830faa
Adding some content to thread 2023-03-10 19:01:22 +01:00
99fc514720
Change var name to fit with rust conventions 2023-03-10 19:01:22 +01:00
cf1c7aad5a
Fix global var 2023-03-10 19:01:22 +01:00
e3e217c57f
scheduler done 2023-03-10 19:01:22 +01:00
336ccd1425
Add thread structure 2023-03-10 19:01:21 +01:00
958407ab77
Improve list by adding iterator trait 2023-03-10 19:01:21 +01:00
407480bcd4
Add double linked list 2023-03-10 19:01:21 +01:00