diff options
| author | Jake Mannens <jake72360@gmail.com> | 2018-07-13 03:51:23 +1000 |
|---|---|---|
| committer | Jake Mannens <jake72360@gmail.com> | 2018-07-13 03:51:23 +1000 |
| commit | be74842e37ad54f4fd18ae647e2bdf3e435a0fb8 (patch) | |
| tree | 7bf6af7ad55456d8b2a2d620d87cf948d10c1a26 /Makefile | |
| parent | 778301ab212d9bb8ffa527491cbc93955eb0cb92 (diff) | |
Added a state field to the task structure to hold the task's run state.
Now, reschedule() requires a task to be in the TSTATE_RUNNING state for
it to run.
Renamed the TSS structure within the task structure from 'state' to
'tss' to avoid confusion with the task's run state.
Removed the task_state structure declaration from sched.c as it is no
longer needed due to context switches now being performed entirely in
hardware.
Removed the cstate pointer from sched.c. Interrupt handlers no longer
set a pointer to saved state information on the stack since this was
only needed for software task switching. NOTE: This may be re-introduced
should it become necessary to access state information on the stack.
Added a basic implementation of the wake_up() scheduling primative. This
function is currently not used and may be completely re-written in
future.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
