Commit Graph

29 Commits

Author SHA1 Message Date
Anton Lydike
ab19abe12b kernel scheduling now working better with ecalls, not resetting the time slice 2021-08-19 15:30:07 +02:00
Anton Lydike
d7b5a1b8d0 cleaned packaging script up and added debug symbols 2021-08-19 15:29:25 +02:00
Anton Lydike
b5a26ba0c7 added .img files to gitignore 2021-08-18 13:19:03 +02:00
Anton Lydike
c0f5de14ac fixed packaging script
- added more sections to the included sections list
- fixed imports
- better output
- fixed argument usage
2021-08-18 13:18:51 +02:00
Anton Lydike
33168689c6 added -Wall -Wextra -pedantic-errors to gcc flags 2021-08-18 13:07:01 +02:00
Anton Lydike
cc498154aa moved binary_table from .bss to .data section to prevent overwriting it with zeros on startup 2021-08-18 13:06:16 +02:00
Anton Lydike
ce9c6e6cfb started properly implementing syscall structure 2021-08-18 12:39:01 +02:00
Anton Lydike
962b209f30 switched to a real linker script 2021-08-17 13:15:50 +02:00
Anton Lydike
b058330a16 Revert "renamed .sdata -> .data in linker.ld"
This reverts commit f0bc98c441.
2021-08-17 11:06:50 +02:00
Anton Lydike
31339216b7 fixed missing semicolon in sched.h 2021-08-17 10:56:48 +02:00
Anton Lydike
f0bc98c441 renamed .sdata -> .data in linker.ld 2021-08-17 10:56:27 +02:00
Anton Lydike
79c93de90e changed objdump flags in makefile to only disassemble text sections 2021-08-17 09:15:42 +02:00
Anton Lydike
39a5eada2f introduced data structure to manage binaries in memory 2021-08-17 09:15:42 +02:00
Anton Lydike
1b0ee53e4e removed unused parts of boot.S and changed ordering in boot process 2021-08-17 09:15:42 +02:00
Anton Lydike
06f8cfd279 removed mutex kernel code 2021-08-17 09:15:42 +02:00
Anton Lydike
76c5c3ba3a added script for packaging binaries into image 2021-08-17 09:15:42 +02:00
Anton Lydike
20704f86ce changed binary starting location and added linker comments 2021-08-17 09:09:43 +02:00
Anton Lydike
d9625b445a cleaned up scheduling and boot code 2021-08-17 09:09:43 +02:00
Anton Lydike
04f6c80d7d removed -mexplicit-relocs cc flag and other options in the Makefile 2021-08-17 09:09:43 +02:00
Anton Lydike
cfd74e66b4 fixed assembly format of read_time and write_mtimecmp 2021-08-16 17:22:09 +02:00
Anton Lydike
cfc1c5c74b removing mutex syscalls 2021-08-16 12:57:59 +02:00
Anton Lydike
1ab51aadff added toolchain compilation infos to readme 2021-08-16 12:57:13 +02:00
Anton Lydike
e08a58a29d added gcc flags to make binaries more relocatable 2021-08-16 12:56:46 +02:00
Anton Lydike
1cf5458247 added memset for non-rv32m environments 2021-07-16 22:27:32 +02:00
Anton Lydike
b2dab6cb37 added config options to makefile - now able to build various variations 2021-07-16 22:26:55 +02:00
Anton Lydike
37380ee055 added comment for jump to init 2021-07-16 19:59:20 +02:00
Anton Lydike
a8aa7a8f7c implemented a smart memset routine, use it to clear bss, and halt after returning from init 2021-07-16 19:58:45 +02:00
Anton Lydike
d3f3adbf40 using my own linker now 2021-07-16 19:54:08 +02:00
Anton Lydike
8d0178aff1 initial commit 2021-06-21 11:12:33 +02:00