Commit Graph

  • 43bb013fb5 updated build process to work with newer versions of riscv-unknown-gcc master Anton Lydike 2022-03-28 23:22:31 +0200
  • a3cc3cccbd fixed typo in readme thesis Anton Lydike 2021-10-10 19:50:53 +0200
  • 999d09359b better programs readme Anton Lydike 2021-10-10 19:49:24 +0200
  • bb13cbeca5 a lot of cleanup, added pmp Anton Lydike 2021-09-30 21:55:28 +0200
  • e69cfa8a5a added threads.h header file for example program Anton Lydike 2021-09-30 20:53:01 +0200
  • a720f34482 removed optimization flags as they broke scheduling Anton Lydike 2021-09-30 14:37:51 +0200
  • f75963f7bb fixed a couple of small bugs Anton Lydike 2021-09-30 14:37:26 +0200
  • 9008aa4d78 added example prorgam which creates and joins threads Anton Lydike 2021-09-30 14:36:13 +0200
  • 8fdff36c65 changed EABORT to ETIMEOUT for marking timeouts Anton Lydike 2021-09-11 09:54:58 +0200
  • b429c460a1 small changes in formatting for spawn.c example program Anton Lydike 2021-08-31 11:47:47 +0200
  • 8dc72a2d8e general cleanup in kernel code removing unised defines etc Anton Lydike 2021-08-31 11:46:53 +0200
  • f479e151cb removed typedef for process control block an renamed struct to match snake case Anton Lydike 2021-08-31 11:46:29 +0200
  • a3712570b0 fixed whitespace in Makefile Anton Lydike 2021-08-31 10:26:56 +0200
  • d0dd6595c3 cleaned up ecall code Anton Lydike 2021-08-31 10:26:31 +0200
  • a7941ce5ae big improvements to spawn.c example program Anton Lydike 2021-08-30 20:12:23 +0200
  • ac329ac147 cleaned up comments in Makefile Anton Lydike 2021-08-30 20:11:59 +0200
  • d97b7b559b more comments and better structure Anton Lydike 2021-08-30 20:11:28 +0200
  • 14c2dd95a6 ecall module now kills processes which trigger an exception Anton Lydike 2021-08-30 20:11:07 +0200
  • b08198d166 added .gitignore to example programs Anton Lydike 2021-08-26 10:39:49 +0200
  • 5ee37143af made example spawn program exit after child Anton Lydike 2021-08-26 10:38:52 +0200
  • d1bef0f8a1 improved scheduling code Anton Lydike 2021-08-26 10:34:30 +0200
  • df0a944528 Reuse stacks of dead processes Anton Lydike 2021-08-23 09:35:00 +0200
  • 1a6abb5e1b added cleanup.sh file that cleans up all source code Anton Lydike 2021-08-22 19:55:13 +0200
  • 8560bf6d5b uncrustified example programs Anton Lydike 2021-08-22 19:54:58 +0200
  • 31e2b25059 uncrustified kernel Anton Lydike 2021-08-22 19:54:25 +0200
  • 4e439f979d applied uncrustify to sched source Anton Lydike 2021-08-22 19:53:59 +0200
  • 7302c9c652 applied uncrustify to malloc source Anton Lydike 2021-08-22 19:53:59 +0200
  • 0a4c5a93c0 applied uncrustify to ktypes source Anton Lydike 2021-08-22 19:53:59 +0200
  • 7246772787 applied uncrustify to io source Anton Lydike 2021-08-22 19:53:59 +0200
  • 5128b0376f applied uncrustify to csr source Anton Lydike 2021-08-22 19:53:59 +0200
  • c5afa93bb3 applied uncrustify to ecall source Anton Lydike 2021-08-22 19:53:59 +0200
  • 74d22fb542 added uncrustify config for formatting Anton Lydike 2021-08-22 19:47:31 +0200
  • 1424776f92 removed trailing whitespaces from package.py Anton Lydike 2021-08-22 19:05:50 +0200
  • f32a8a2b87 added -O3 flag to compilation Anton Lydike 2021-08-22 19:05:31 +0200
  • b5b6b3c57e removed trailing whitespaces in example programs Anton Lydike 2021-08-22 19:05:00 +0200
  • 426a6508d1 removed trailing whitespaces Anton Lydike 2021-08-22 19:04:15 +0200
  • c2484838c1 kernel.(c|h) moved debugging code into if (DEBUGGING) section and cleaned up whitespace Anton Lydike 2021-08-22 19:03:16 +0200
  • 887056f141 removed unused and unimplemented malloc definitions Anton Lydike 2021-08-22 18:37:52 +0200
  • c71ee1498c cleaned up comments in ktypes header Anton Lydike 2021-08-22 18:35:19 +0200
  • b5893aacab cleaned up ecall code, moved debug statements into a debug check, removed trailing spaces Anton Lydike 2021-08-22 18:33:52 +0200
  • f2e83a61ac added a debugging constant to identify absence of textIO Anton Lydike 2021-08-22 13:19:49 +0200
  • 4b31bd9fda made all ecall handlers return optional_int and correctly handle erorrs Anton Lydike 2021-08-22 12:55:40 +0200
  • 828ea0c2e2 made itoa and dbgln empty macros if no textIO is available to remove overhead Anton Lydike 2021-08-22 12:22:41 +0200
  • 5dccd2dc80 adding comments to scheduling code Anton Lydike 2021-08-22 12:02:11 +0200
  • 737a9a1cf3 cleaning up print statements and unusded variables Anton Lydike 2021-08-22 11:12:34 +0200
  • cef79a92aa added end of config comment to package.py Anton Lydike 2021-08-21 21:27:27 +0200
  • 4e7a6a20f9 updated readme Anton Lydike 2021-08-21 21:27:11 +0200
  • 314da51aaf added various (bad) example programs Anton Lydike 2021-08-21 21:24:21 +0200
  • 3b93b864ac various imrpovements and implementations on the kernel Anton Lydike 2021-08-21 21:18:03 +0200
  • 61017db51c sched.h: create_new_process - correct function to create a new process in an available spot Anton Lydike 2021-08-21 15:29:41 +0200
  • ef854fba54 made error codes positive numbers Anton Lydike 2021-08-21 15:27:55 +0200
  • 409a993d77 removed lib as it was out of date and discontinued Anton Lydike 2021-08-21 12:54:31 +0200
  • efb372cb5f added .rdata and .rodata sections to packaging script Anton Lydike 2021-08-21 12:53:36 +0200
  • 601b507370 switched boot.S to use csr.h constants for csr addresses Anton Lydike 2021-08-21 12:18:20 +0200
  • a25c28d661 added bundled version of kernel types in ktypes.h Anton Lydike 2021-08-21 12:17:53 +0200
  • b979ab9b04 switched kernel init to use malloc with optionals Anton Lydike 2021-08-21 12:17:22 +0200
  • c8c19f298a bundled all types into ktypes.h and added optionals Anton Lydike 2021-08-21 12:17:04 +0200
  • b6d967262a improvments to debugging symbols emitted by package.py script Anton Lydike 2021-08-21 11:15:59 +0200
  • 7894808e09 removed current_process_index in scheduling in favour of pointers Anton Lydike 2021-08-21 11:15:30 +0200
  • 16d0c05272 starting all available binaries as processes on kernel startup Anton Lydike 2021-08-21 11:13:12 +0200
  • a0c3a57921 added placeholder malloc_stack as malloc precursor Anton Lydike 2021-08-21 11:12:44 +0200
  • 1e472d2a4a small linker.ld fixes for _start section and global pointer Anton Lydike 2021-08-21 11:08:57 +0200
  • 26e70d2f60 added TextIO module for outputting text Anton Lydike 2021-08-21 11:08:03 +0200
  • ab19abe12b kernel scheduling now working better with ecalls, not resetting the time slice Anton Lydike 2021-08-19 15:30:07 +0200
  • d7b5a1b8d0 cleaned packaging script up and added debug symbols Anton Lydike 2021-08-19 15:29:25 +0200
  • b5a26ba0c7 added .img files to gitignore Anton Lydike 2021-08-18 13:19:03 +0200
  • c0f5de14ac fixed packaging script Anton Lydike 2021-08-18 13:07:26 +0200
  • 33168689c6 added -Wall -Wextra -pedantic-errors to gcc flags Anton Lydike 2021-08-18 13:07:01 +0200
  • cc498154aa moved binary_table from .bss to .data section to prevent overwriting it with zeros on startup Anton Lydike 2021-08-18 13:06:16 +0200
  • ce9c6e6cfb started properly implementing syscall structure Anton Lydike 2021-08-18 12:39:01 +0200
  • 962b209f30 switched to a real linker script Anton Lydike 2021-08-17 13:15:50 +0200
  • b058330a16 Revert "renamed .sdata -> .data in linker.ld" Anton Lydike 2021-08-17 11:06:50 +0200
  • 31339216b7 fixed missing semicolon in sched.h Anton Lydike 2021-08-17 10:56:48 +0200
  • f0bc98c441 renamed .sdata -> .data in linker.ld Anton Lydike 2021-08-17 10:56:27 +0200
  • 79c93de90e changed objdump flags in makefile to only disassemble text sections Anton Lydike 2021-08-17 09:15:29 +0200
  • 39a5eada2f introduced data structure to manage binaries in memory Anton Lydike 2021-08-17 09:14:45 +0200
  • 1b0ee53e4e removed unused parts of boot.S and changed ordering in boot process Anton Lydike 2021-08-17 09:13:40 +0200
  • 06f8cfd279 removed mutex kernel code Anton Lydike 2021-08-17 09:12:37 +0200
  • 76c5c3ba3a added script for packaging binaries into image Anton Lydike 2021-08-16 21:49:00 +0200
  • 20704f86ce changed binary starting location and added linker comments Anton Lydike 2021-08-17 09:09:17 +0200
  • d9625b445a cleaned up scheduling and boot code Anton Lydike 2021-08-17 09:08:20 +0200
  • 04f6c80d7d removed -mexplicit-relocs cc flag and other options in the Makefile Anton Lydike 2021-08-17 09:07:00 +0200
  • cfd74e66b4 fixed assembly format of read_time and write_mtimecmp Anton Lydike 2021-08-16 17:21:29 +0200
  • cfc1c5c74b removing mutex syscalls Anton Lydike 2021-08-16 12:57:59 +0200
  • 1ab51aadff added toolchain compilation infos to readme Anton Lydike 2021-08-16 12:57:13 +0200
  • e08a58a29d added gcc flags to make binaries more relocatable Anton Lydike 2021-08-16 12:56:46 +0200
  • 1cf5458247 added memset for non-rv32m environments Anton Lydike 2021-07-16 22:27:32 +0200
  • b2dab6cb37 added config options to makefile - now able to build various variations Anton Lydike 2021-07-16 22:26:55 +0200
  • 37380ee055 added comment for jump to init Anton Lydike 2021-07-16 19:59:20 +0200
  • a8aa7a8f7c implemented a smart memset routine, use it to clear bss, and halt after returning from init Anton Lydike 2021-07-16 19:58:45 +0200
  • d3f3adbf40 using my own linker now Anton Lydike 2021-07-16 19:54:08 +0200
  • 8d0178aff1 initial commit Anton Lydike 2021-06-21 11:12:33 +0200