Commit Graph

433 Commits

Author SHA1 Message Date
Quentin Legot
a001e45c3f Add tests files 2023-04-04 20:55:27 +02:00
Rémi Rativel
99b0128cfe Implemented calls for sys.s, problem with compilation of riscV code, need to fix it later 2023-04-04 17:59:16 +02:00
Quentin Legot
b8cba1abd7 Change Halt to Shutdown in sys.s 2023-04-04 17:25:51 +02:00
Legot Quentin
0c3a254296 Merge branch 'bin-loader' into 'thread_scheduler'
Binary loader

See merge request simpleos/burritos!12
2023-04-04 13:35:10 +00:00
Quentin Legot
4480212ab0 Merge branch 'thread_scheduler' into bin-loader 2023-04-04 15:28:24 +02:00
François Autin
2b10da1d7d Updated to debian bookworm 2023-04-04 15:20:34 +02:00
François Autin
bcc16dcec0
Updated to debian bookworm 2023-04-04 15:16:41 +02:00
François Autin
64c8104668 Correct package name 2023-04-04 15:12:29 +02:00
François Autin
f3f88e9bee UPDATING APT 2023-04-04 15:12:29 +02:00
François Autin
e7178f4490
Correct package name 2023-04-04 15:09:52 +02:00
François Autin
45647a784c
UPDATING APT 2023-04-04 15:05:45 +02:00
François Autin
63c2f62a19 Ok no sudo i get it 2023-04-04 15:05:12 +02:00
François Autin
d1d3ae64a6
Ok no sudo i get it 2023-04-04 15:03:47 +02:00
François Autin
aeb5cacb4e Added glibc dependency 2023-04-04 15:03:14 +02:00
François Autin
793bf482fc
Added glibc dependency 2023-04-04 15:02:35 +02:00
François Autin
72743ded87 fixed compiler not being copied to /opt/riscv 2023-04-04 14:55:35 +02:00
François Autin
9f937ff81f
fixed compiler not being copied to /opt/riscv 2023-04-04 14:54:28 +02:00
Rémi Rativel
aa6d52fae7 Merge remote-tracking branch 'origin/thread_scheduler' into thread_scheduler 2023-04-04 14:50:35 +02:00
Rémi Rativel
d4f8ba2e32 fixed dumps not properly move into target 2023-04-04 14:50:25 +02:00
François Autin
aa5ba94842 Calmly asked wget to shut the fuck up 2023-04-04 14:42:26 +02:00
François Autin
4be02a2a03
Calmly asked wget to shut the fuck up 2023-04-04 14:41:14 +02:00
François Autin
025c62b243 i am stupid i reckon 2023-04-04 14:41:09 +02:00
François Autin
2eee88c1d3 Update .gitlab-ci.yml 2023-04-04 14:41:09 +02:00
François Autin
ba8e7fe205
i am stupid i reckon 2023-04-04 14:36:48 +02:00
François Autin
f19515f6e8
Update .gitlab-ci.yml 2023-04-04 14:35:33 +02:00
François Autin
57e3ef397b
Updated .gitignore to exclude .vscode folder 2023-04-04 14:16:00 +02:00
Quentin Legot
fc3237c4ad Adding test to loader, update ci (hope it work) 2023-04-04 11:50:29 +02:00
Samy Solhi
655bf9eab7 added tests for SC_SHUTDOWN and SC_WRITE (print) 2023-04-03 23:08:13 +02:00
Quentin Legot
aef8d219d0 Continue to add comments 2023-04-03 15:58:57 +02:00
Quentin Legot
025ede6080 Add some comments 2023-04-03 15:26:55 +02:00
Quentin Legot
8c844c3e5c Initialize sp value for each threads (temporary workaround) 2023-04-02 19:55:06 +02:00
Quentin Legot
8239079130 Add section flag support, loader now ready to run binary files 2023-04-01 00:14:09 +02:00
Quentin Legot
0a744f0f94 Add parsing of sections 2023-03-31 22:48:02 +02:00
Quentin Legot
443556b18a Refactor loader into multiple struct 2023-03-31 21:49:26 +02:00
Quentin Legot
35c81e5269 Fix get_address_point 2023-03-31 19:34:45 +02:00
Quentin Legot
453de4b704 Fix is_riscv_isa 2023-03-31 15:34:04 +02:00
Quentin Legot
b4b7eb69c2 Add elf header parsing 2023-03-31 15:18:58 +02:00
Samy Solhi
5c7979b746 Added Write system call 2023-03-29 17:52:25 +02:00
Samy Solhi
dc33c857a6 Merge branch 'thread_scheduler' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into thread_scheduler 2023-03-29 17:21:45 +02:00
Samy Solhi
2981925401 Added shutdown system call 2023-03-29 17:21:34 +02:00
Rémi Rativel
8e81358e51 Started to implement syscall.rs 2023-03-29 17:16:16 +02:00
Samy Solhi
e117ec2132 Merge branch 'thread_scheduler' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into thread_scheduler 2023-03-29 17:01:44 +02:00
Samy Solhi
06f6137852 Added MachineOk to one_instruction 2023-03-29 17:01:28 +02:00
François Autin
8629d859e4
♻️ Documentation updates and fn renaming 2023-03-29 16:42:08 +02:00
François Autin
45a2ee952c
Merge branch 'thread_scheduler' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into thread_scheduler 2023-03-29 16:26:35 +02:00
François Autin
2d241e4dd5
♻️ Started refactoring instruction.rs 2023-03-29 16:26:27 +02:00
Samy Solhi
ac1f2287a2 Merge branch 'thread_scheduler' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into thread_scheduler 2023-03-29 16:15:53 +02:00
Samy Solhi
15f3608b63 Start syscall 2023-03-29 16:13:57 +02:00
François Autin
3fa3ce0e99
♻️ Consolidated instruction definition and manipulation in instruction.rs 2023-03-29 16:08:06 +02:00
François Autin
d77c2448e3
📝 Commented trait RegisterNum 2023-03-29 15:40:35 +02:00