Commit Graph

45 Commits

Author SHA1 Message Date
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
Sparchatus
9173726d68 Added virtual address handling and speed up paging 2022-03-22 15:51:23 +00:00
Jan Schär
2aedc23665 Fix include path for cpptools 2022-03-22 15:32:38 +01:00
Sparchatus
07a861ea61 Fixed leaking of allocated stuff in paging (but not partially completed mapping) 2022-03-22 13:58:13 +00:00
Sparchatus
347f3a1155 Fix paging_map_fixed_attr precondition 2022-03-22 11:02:11 +00:00
Sparchatus
292ca0b63b Merge rueegges paging into jschaer code 2022-03-22 10:56:57 +00:00
Sparchatus
070111da22 Added vscode devcontainer, cpp include configuration and vscode tasks 2022-03-22 09:36:54 +00:00
Jan Schär
ca52d1ed91 Fix mapping bug in kernel
See https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=100246
2022-03-17 17:31:06 +01:00
Jan Schär
10138df397 Implement Milestone 1 2022-03-17 17:29:59 +01:00
Jan Schär
da5181799d Clean up docker container after it stops 2022-03-04 17:40:50 +01:00
Daniel Schwyn
6d444bf552 Main handout
Signed-off-by: Daniel Schwyn <daniel.schwyn@inf.ethz.ch>
2022-03-03 14:57:51 +01:00