]> git.corax.cc Git - corax/commit
Implement various IPC and scheduling improvements:
authorMatthias Kruk <m@m10k.eu>
Sat, 26 Oct 2019 07:24:58 +0000 (16:24 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 26 Oct 2019 07:24:58 +0000 (16:24 +0900)
commit646e6baef7a62a15eabc32d2acee3cd5dcf39ddf
tree509dd5c8b16f7c94ef9a14a8674525b571767073
parent43edb90cf62a3f0e8382155b7901a292f94a14f4
Implement various IPC and scheduling improvements:
 - Implement signalling/waiting facilities for processes and tasks
 - Implement primitive message passing between processes
 - Implement helper functions for accesing properties of a process
 - Also keep the pid within the task structure, for faster access
 - Add a wait-queue to the scheduler, to keep track of waiting processes
14 files changed:
include/corax/ipc.h [new file with mode: 0644]
include/corax/syscall.h
include/corax/types.h
kernel/arch/defs.h
kernel/arch/entry.S
kernel/arch/init.S
kernel/arch/interrupt.c
kernel/core/Makefile
kernel/core/cxipc.c [new file with mode: 0644]
kernel/core/process.c
kernel/core/sched.c
kernel/include/arch.h
kernel/include/process.h
libc/syscall.S