Commit graph

6 commits

Author SHA1 Message Date
Og-Rok
f0ff67bf90 Threading
Added sleeping and task termination
2018-04-05 01:22:06 +01:00
Og-Rok
c94ca83079 Removed conflicts issues 2018-04-04 22:59:31 +01:00
Og-Rok
5040d049e3 Merge remote-tracking branch 'origin/OgRok-Multitasking' into OgRok-Multitasking
# Conflicts:
#	source/Cosmos.Core/Processing/ProcessContext.cs
#	source/Cosmos.Core/Processing/ProcessorScheduler.cs
#	source/Cosmos.HAL2/Global.cs
2018-04-04 01:28:54 +01:00
Og-Rok
2d5f637a91 Softwaare Multitasking
Working context switching but far from stable. Changes needed to be made
to the internals of cosmos to include mutex's in vital components (Heap,
Thread Manager, ect). Context switching currently only switches the
general registers and does not switch the MMX context, however this will
be added in the future. Also when a thread currently dies it takes the
whole system down, patches to the IDT handlers needed to be made to
prevent system lockup in the future
2018-04-04 01:22:52 +01:00
Og-Rok
bd78428621 Trying to use a manual register switching 2018-03-26 23:36:09 +01:00
Og-Rok
1ac2ff7d0c Starting work 2018-03-26 20:44:29 +01:00