ethandmd / reedos

rust riscv minimal os
2 stars 6 forks source link

Processes #23

Closed ethandmd closed 1 year ago

ethandmd commented 1 year ago

Tasklist: src/vm/task.rs Kernel data structure representing all current tasks as a doubly linked list. Sub lists are formed within this global list for tasks which are ready to run, waiting, running, ...

Process: src/vm/process.rs A process has state, and is a kind of task. A process's state consists of:

Hart: src/hw.rs Abstraction of a riscv hart:

Process state: src/vm/process.rs Possible defined states a process can be in:

ethandmd commented 1 year ago

Stubbed in: