25 Commits

Author SHA1 Message Date
Rémi Rativel
c60aaa1aae Documentation for the simulator 2023-05-09 22:02:22 +02:00
François Autin
73ac8d3083 BurritOS now read configuration file 2023-04-19 18:09:08 +02:00
Quentin Legot
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
Quentin Legot
66d6daf0b9 Lint: remove some warnings 2023-04-06 13:46:59 +02:00
Quentin Legot
9cc57e7f03 Add launch argument parser, add debug parameter to machine
burritos now launch binary
2023-04-06 13:27:03 +02:00
François Autin
2f0b9e6592
Tests now point to the correct locations 2023-04-05 17:07:58 +02:00
Quentin Legot
b804117127 Fix loader test, only use one bin file in test_thread_context 2023-04-05 16:51:32 +02:00
Quentin Legot
0fd2815a59 Improve test in thread_manager, increase memory size to make it fit 2023-04-04 22:01:49 +02:00
Quentin Legot
fc3237c4ad Adding test to loader, update ci (hope it work) 2023-04-04 11:50:29 +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
Quentin Legot
703c8e5448 Loader seem to work, be seem we have a problem with jalr 2023-03-28 21:26:58 +02:00
Quentin Legot
08ba0154f7 Add a bin loader 2023-03-27 18:10:11 +02:00
François Autin
177abfe846
Renamed Machine::init_machine and fixed stack overflow by allocating main_memory to the heap 2023-03-11 23:49:20 +01:00
François Autin
6ee74ba126
Fixed more clippy complaining 2023-03-10 11:03:54 +01:00
Baptiste
73c49414ff print_memory dans Machine 2023-03-01 15:11:35 +01:00
Samy Solhi
82c9282f0e debug loader 2023-02-15 18:09:18 +01:00
Samy Solhi
6507b601e7 Added loader 2023-02-15 17:20:10 +01:00