Commit Graph

  • 134e2bd2cc Fix a lot of errors Quentin Legot 2023-04-12 14:01:39 +02:00
  • e8629b1ebf Moving sc_new_thread to it own function Quentin Legot 2023-04-12 13:55:32 +02:00
  • 0d70751279
    Moved sc_sem_create to own function François Autin 2023-04-12 13:50:54 +02:00
  • 355071a2f1
    Added sc_p call François Autin 2023-04-12 13:28:55 +02:00
  • 729eba656c
    Added sc_v call François Autin 2023-04-12 13:25:33 +02:00
  • afce2c66c9
    Synch now public mod François Autin 2023-04-12 13:16:04 +02:00
  • a36e470ea1 Add new thread exception (untested) Quentin Legot 2023-04-11 17:47:36 +02:00
  • 6c19f66d62 use setter instead of modifying the field itself Quentin Legot 2023-04-06 13:48:37 +02:00
  • 66d6daf0b9 Lint: remove some warnings Quentin Legot 2023-04-06 13:46:59 +02:00
  • 9cc57e7f03 Add launch argument parser, add debug parameter to machine Quentin Legot 2023-04-06 13:27:03 +02:00
  • 85e999a7b0 no more errors in filesys & fsmisc... for now Baptiste 2023-04-05 17:23:54 +02:00
  • 2f0b9e6592
    Tests now point to the correct locations François Autin 2023-04-05 17:07:58 +02:00
  • 968137cc1b
    Refactored makefiles François Autin 2023-04-05 17:05:55 +02:00
  • 01ac29160b Fix test Quentin Legot 2023-04-05 16:57:04 +02:00
  • ffd9b92f24
    Updated CI François Autin 2023-04-05 16:53:37 +02:00
  • b804117127 Fix loader test, only use one bin file in test_thread_context Quentin Legot 2023-04-05 16:47:43 +02:00
  • dae609c6ed Merge branch 'disk' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into disk Baptiste 2023-04-05 16:50:05 +02:00
  • cfb58fd6b3
    Fixed machine tests not passing François Autin 2023-04-05 16:44:26 +02:00
  • df4fd53c96
    Added documentation for trait François Autin 2023-04-05 16:17:35 +02:00
  • 551c9079b9 adding filesys & drvdisk in params of filesys and fsmisc Baptiste 2023-04-05 16:44:28 +02:00
  • f79b63e930 implemented getter for objaddr Rémi Rativel 2023-04-05 16:43:09 +02:00
  • d6ed2f1d75 modification of the bitmap::fetch_from et bitmap::write_back AmauryBrodu 2023-04-05 16:38:36 +02:00
  • 4d2f27b3b2 removed drv_disk from init file header AmauryBrodu 2023-04-05 16:14:40 +02:00
  • f246e84f91 Use Default trait instead of init_machine() Quentin Legot 2023-04-05 16:12:21 +02:00
  • 91f5c6054c
    Added trait SynchObj to relevant structs François Autin 2023-04-05 16:12:15 +02:00
  • 586c077002 fixed get_string_param Rémi Rativel 2023-04-05 16:09:26 +02:00
  • 8ee7470dc5
    Added objaddr François Autin 2023-04-05 16:09:06 +02:00
  • 02dd1f5ccf Merge branch 'thread_scheduler' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into thread_scheduler Quentin Legot 2023-04-05 16:05:31 +02:00
  • 44cfb828fb Remove useless libc, elf and ucontext, add comments to exceptions Quentin Legot 2023-04-05 16:02:54 +02:00
  • 7060098809 Merge remote-tracking branch 'origin/thread_scheduler' into thread_scheduler Samy Solhi 2023-04-05 16:00:06 +02:00
  • a151bef7ef added fn get string param Samy Solhi 2023-04-05 15:57:34 +02:00
  • 77086155b5 started to implement sc_sem_create and auxiliar function Rémi Rativel 2023-04-05 15:47:46 +02:00
  • 41611b54e8 Merge branch 'exception' into 'thread_scheduler' François Autin 2023-04-05 13:21:50 +00:00
  • 24919a9879
    Makefile fixes François Autin 2023-04-05 15:09:10 +02:00
  • 7179931224
    Makefile fixes François Autin 2023-04-05 15:09:10 +02:00
  • cb25b09cff Documentation Rémi Rativel 2023-04-05 14:52:46 +02:00
  • 81302b67a1 Struct refractore Rémi Rativel 2023-04-05 14:51:50 +02:00
  • 5a5c5a9141 Doc and Makefile update Rémi Rativel 2023-04-05 14:50:58 +02:00
  • 2756477e67
    Project now builds François Autin 2023-04-05 13:49:32 +02:00
  • b96808b55f
    Fixed incorrect flow control François Autin 2023-04-05 13:44:43 +02:00
  • 3685bb6590
    Added general failure case in raise exception and removed break in main loop for system exceptions François Autin 2023-04-05 13:41:56 +02:00
  • 1a884f2e98 FileHdr write_back AmauryBrodu 2023-04-05 13:34:37 +02:00
  • 69f91170f6
    Optimized to avoid cloning heap values François Autin 2023-04-05 13:34:06 +02:00
  • 70d7893bed
    Moved userlib.rs back into ./userlib François Autin 2023-04-05 13:12:25 +02:00
  • 8470dcc04f
    Fixed in order to build object files instead of archives François Autin 2023-04-05 13:08:27 +02:00
  • 8b3a3bebe7 Fix list::remove when trying to remove first element of the list (SIGSEGV) Quentin Legot 2023-04-05 13:07:10 +02:00
  • 743299fcdb
    repo clean-up François Autin 2023-04-05 13:02:29 +02:00
  • 87dcf71857 Merge branch 'assembly_lib' into 'thread_scheduler' François Autin 2023-04-05 10:53:35 +00:00
  • 411caac86f Assembly lib François Autin 2023-04-05 10:53:34 +00:00
  • 24be35547e Add Exit Exception Quentin Legot 2023-04-05 12:01:31 +02:00
  • 00b4ed0066 latest version of directory AmauryBrodu 2023-04-05 10:51:18 +02:00
  • 6ad3b36201 impl oft to finish Moysan Gabriel 2023-04-05 01:26:17 +02:00
  • 0fd2815a59 Improve test in thread_manager, increase memory size to make it fit Quentin Legot 2023-04-04 22:01:49 +02:00
  • 3f3c79ec0c Merge branch 'disk' of https://gitlab.istic.univ-rennes1.fr/simpleos/burritos into disk AmauryBrodu 2023-04-04 21:52:20 +02:00
  • 25140bda17 ajout de directory.rs AmauryBrodu 2023-04-04 21:51:45 +02:00
  • a001e45c3f Add tests files Quentin Legot 2023-04-04 20:55:27 +02:00
  • 61b3643945 more impl open file Moysan Gabriel 2023-04-04 20:37:10 +02:00
  • 99b0128cfe Implemented calls for sys.s, problem with compilation of riscV code, need to fix it later Rémi Rativel 2023-04-04 17:59:05 +02:00
  • b8cba1abd7 Change Halt to Shutdown in sys.s Quentin Legot 2023-04-04 17:25:51 +02:00
  • 0c3a254296 Merge branch 'bin-loader' into 'thread_scheduler' Legot Quentin 2023-04-04 13:35:10 +00:00
  • 4480212ab0 Merge branch 'thread_scheduler' into bin-loader Quentin Legot 2023-04-04 15:28:24 +02:00
  • 2b10da1d7d Updated to debian bookworm François Autin 2023-04-04 15:16:41 +02:00
  • bcc16dcec0
    Updated to debian bookworm François Autin 2023-04-04 15:16:41 +02:00
  • 64c8104668 Correct package name François Autin 2023-04-04 15:09:52 +02:00
  • f3f88e9bee UPDATING APT François Autin 2023-04-04 15:05:45 +02:00
  • e7178f4490
    Correct package name François Autin 2023-04-04 15:09:52 +02:00
  • 45647a784c
    UPDATING APT François Autin 2023-04-04 15:05:45 +02:00
  • 63c2f62a19 Ok no sudo i get it François Autin 2023-04-04 15:03:47 +02:00
  • d1d3ae64a6
    Ok no sudo i get it François Autin 2023-04-04 15:03:47 +02:00
  • aeb5cacb4e Added glibc dependency François Autin 2023-04-04 15:02:35 +02:00
  • 793bf482fc
    Added glibc dependency François Autin 2023-04-04 15:02:35 +02:00
  • 72743ded87 fixed compiler not being copied to /opt/riscv François Autin 2023-04-04 14:54:28 +02:00
  • 9f937ff81f
    fixed compiler not being copied to /opt/riscv François Autin 2023-04-04 14:54:28 +02:00
  • aa6d52fae7 Merge remote-tracking branch 'origin/thread_scheduler' into thread_scheduler Rémi Rativel 2023-04-04 14:50:35 +02:00
  • d4f8ba2e32 fixed dumps not properly move into target Rémi Rativel 2023-04-04 14:50:25 +02:00
  • aa5ba94842 Calmly asked wget to shut the fuck up François Autin 2023-04-04 14:41:14 +02:00
  • 4be02a2a03
    Calmly asked wget to shut the fuck up François Autin 2023-04-04 14:41:14 +02:00
  • 025c62b243 i am stupid i reckon François Autin 2023-04-04 14:36:40 +02:00
  • 2eee88c1d3 Update .gitlab-ci.yml François Autin 2023-04-04 14:35:33 +02:00
  • ba8e7fe205
    i am stupid i reckon François Autin 2023-04-04 14:36:40 +02:00
  • f19515f6e8
    Update .gitlab-ci.yml François Autin 2023-04-04 14:35:33 +02:00
  • 57e3ef397b
    Updated .gitignore to exclude .vscode folder François Autin 2023-04-04 14:16:00 +02:00
  • fc3237c4ad Adding test to loader, update ci (hope it work) Quentin Legot 2023-04-04 11:50:29 +02:00
  • 655bf9eab7 added tests for SC_SHUTDOWN and SC_WRITE (print) Samy Solhi 2023-04-03 23:08:13 +02:00
  • 2549103636 open_file impl Moysan Gabriel 2023-04-03 22:48:22 +02:00
  • aef8d219d0 Continue to add comments Quentin Legot 2023-04-03 15:58:57 +02:00
  • 025ede6080 Add some comments Quentin Legot 2023-04-03 15:26:55 +02:00
  • 8c844c3e5c Initialize sp value for each threads (temporary workaround) Quentin Legot 2023-04-02 19:55:06 +02:00
  • 8239079130 Add section flag support, loader now ready to run binary files Quentin Legot 2023-04-01 00:14:09 +02:00
  • 0a744f0f94 Add parsing of sections Quentin Legot 2023-03-31 22:48:02 +02:00
  • 443556b18a Refactor loader into multiple struct Quentin Legot 2023-03-31 21:49:26 +02:00
  • 35c81e5269 Fix get_address_point Quentin Legot 2023-03-31 19:34:45 +02:00
  • 453de4b704 Fix is_riscv_isa Quentin Legot 2023-03-31 15:34:04 +02:00
  • b4b7eb69c2 Add elf header parsing Quentin Legot 2023-03-31 15:18:58 +02:00
  • 856cbdfe01 adding getters in filesys.rs Baptiste 2023-03-29 18:25:30 +02:00
  • 391359a54e merge and some fix Baptiste 2023-03-29 18:22:45 +02:00
  • f4420d9306 filesys.rs : decompname & find_dir Baptiste 2023-03-29 18:04:55 +02:00
  • 5c7979b746 Added Write system call Samy Solhi 2023-03-29 17:52:25 +02:00
  • dc33c857a6 Merge branch 'thread_scheduler' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into thread_scheduler Samy Solhi 2023-03-29 17:21:45 +02:00
  • 2981925401 Added shutdown system call Samy Solhi 2023-03-29 17:21:34 +02:00