Anton Lydike
|
4b31bd9fda
|
made all ecall handlers return optional_int and correctly handle erorrs
|
3 years ago |
Anton Lydike
|
828ea0c2e2
|
made itoa and dbgln empty macros if no textIO is available to remove overhead
|
3 years ago |
Anton Lydike
|
5dccd2dc80
|
adding comments to scheduling code
|
3 years ago |
Anton Lydike
|
737a9a1cf3
|
cleaning up print statements and unusded variables
|
3 years ago |
Anton Lydike
|
cef79a92aa
|
added end of config comment to package.py
|
3 years ago |
Anton Lydike
|
4e7a6a20f9
|
updated readme
|
3 years ago |
Anton Lydike
|
314da51aaf
|
added various (bad) example programs
|
3 years ago |
Anton Lydike
|
3b93b864ac
|
various imrpovements and implementations on the kernel
|
3 years ago |
Anton Lydike
|
61017db51c
|
sched.h: create_new_process - correct function to create a new process in an available spot
|
3 years ago |
Anton Lydike
|
ef854fba54
|
made error codes positive numbers
|
3 years ago |
Anton Lydike
|
409a993d77
|
removed lib as it was out of date and discontinued
|
3 years ago |
Anton Lydike
|
efb372cb5f
|
added .rdata and .rodata sections to packaging script
|
3 years ago |
Anton Lydike
|
601b507370
|
switched boot.S to use csr.h constants for csr addresses
|
3 years ago |
Anton Lydike
|
a25c28d661
|
added bundled version of kernel types in ktypes.h
|
3 years ago |
Anton Lydike
|
b979ab9b04
|
switched kernel init to use malloc with optionals
|
3 years ago |
Anton Lydike
|
c8c19f298a
|
bundled all types into ktypes.h and added optionals
|
3 years ago |
Anton Lydike
|
b6d967262a
|
improvments to debugging symbols emitted by package.py script
|
3 years ago |
Anton Lydike
|
7894808e09
|
removed current_process_index in scheduling in favour of pointers
|
3 years ago |
Anton Lydike
|
16d0c05272
|
starting all available binaries as processes on kernel startup
|
3 years ago |
Anton Lydike
|
a0c3a57921
|
added placeholder malloc_stack as malloc precursor
|
3 years ago |
Anton Lydike
|
1e472d2a4a
|
small linker.ld fixes for _start section and global pointer
|
3 years ago |
Anton Lydike
|
26e70d2f60
|
added TextIO module for outputting text
|
3 years ago |
Anton Lydike
|
ab19abe12b
|
kernel scheduling now working better with ecalls, not resetting the time slice
|
3 years ago |
Anton Lydike
|
d7b5a1b8d0
|
cleaned packaging script up and added debug symbols
|
3 years ago |
Anton Lydike
|
b5a26ba0c7
|
added .img files to gitignore
|
3 years ago |
Anton Lydike
|
c0f5de14ac
|
fixed packaging script
- added more sections to the included sections list
- fixed imports
- better output
- fixed argument usage
|
3 years ago |
Anton Lydike
|
33168689c6
|
added -Wall -Wextra -pedantic-errors to gcc flags
|
3 years ago |
Anton Lydike
|
cc498154aa
|
moved binary_table from .bss to .data section to prevent overwriting it with zeros on startup
|
3 years ago |
Anton Lydike
|
ce9c6e6cfb
|
started properly implementing syscall structure
|
3 years ago |
Anton Lydike
|
962b209f30
|
switched to a real linker script
|
3 years ago |
Anton Lydike
|
b058330a16
|
Revert "renamed .sdata -> .data in linker.ld"
This reverts commit f0bc98c441 .
|
3 years ago |
Anton Lydike
|
31339216b7
|
fixed missing semicolon in sched.h
|
3 years ago |
Anton Lydike
|
f0bc98c441
|
renamed .sdata -> .data in linker.ld
|
3 years ago |
Anton Lydike
|
79c93de90e
|
changed objdump flags in makefile to only disassemble text sections
|
3 years ago |
Anton Lydike
|
39a5eada2f
|
introduced data structure to manage binaries in memory
|
3 years ago |
Anton Lydike
|
1b0ee53e4e
|
removed unused parts of boot.S and changed ordering in boot process
|
3 years ago |
Anton Lydike
|
06f8cfd279
|
removed mutex kernel code
|
3 years ago |
Anton Lydike
|
76c5c3ba3a
|
added script for packaging binaries into image
|
3 years ago |
Anton Lydike
|
20704f86ce
|
changed binary starting location and added linker comments
|
3 years ago |
Anton Lydike
|
d9625b445a
|
cleaned up scheduling and boot code
|
3 years ago |
Anton Lydike
|
04f6c80d7d
|
removed -mexplicit-relocs cc flag and other options in the Makefile
|
3 years ago |
Anton Lydike
|
cfd74e66b4
|
fixed assembly format of read_time and write_mtimecmp
|
3 years ago |
Anton Lydike
|
cfc1c5c74b
|
removing mutex syscalls
|
3 years ago |
Anton Lydike
|
1ab51aadff
|
added toolchain compilation infos to readme
|
3 years ago |
Anton Lydike
|
e08a58a29d
|
added gcc flags to make binaries more relocatable
|
3 years ago |
Anton Lydike
|
1cf5458247
|
added memset for non-rv32m environments
|
3 years ago |
Anton Lydike
|
b2dab6cb37
|
added config options to makefile - now able to build various variations
|
3 years ago |
Anton Lydike
|
37380ee055
|
added comment for jump to init
|
3 years ago |
Anton Lydike
|
a8aa7a8f7c
|
implemented a smart memset routine, use it to clear bss, and halt after returning from init
|
3 years ago |
Anton Lydike
|
d3f3adbf40
|
using my own linker now
|
3 years ago |