Drew Galbraith
|
eb04242a59
|
Add a debug mode for the KernelHeap.
|
2023-06-07 10:01:22 -07:00 |
Drew Galbraith
|
23895b5c6c
|
Spawn Processes using memory primitives rather than and elf loader.
This allows us to remove the temporary syscall for that style of process
spawn.
|
2023-06-07 00:04:53 -07:00 |
Drew Galbraith
|
b06c76e477
|
Create a MemoryObject class and use it to load programs.
|
2023-06-06 21:44:10 -07:00 |
Drew Galbraith
|
de49dcc01a
|
Move scheduler to new global class format.
|
2023-05-29 23:48:32 -07:00 |
Drew Galbraith
|
b58186265e
|
Split Yield and Preempt into separate scheduling functions.
This switch makes the logic for each much easier to parse.
|
2023-05-29 23:09:39 -07:00 |
Drew Galbraith
|
656687b183
|
Schedule on PIC timer raise.
This causes a page fault because we don't properly handle the sleep
case.
|
2023-05-29 22:32:50 -07:00 |
Drew Galbraith
|
496dfeaef9
|
Update the timer to a more reasonable time slice of 50ms
|
2023-05-29 22:17:56 -07:00 |
Drew Galbraith
|
9869d1022a
|
Mask all interrupts on the master PIC except the timer.
This prevents us from getting a GP fault when an unhandled interrupt
arises.
|
2023-05-29 22:07:47 -07:00 |
Drew Galbraith
|
a949055bce
|
Flesh out the GP Fault hanlder slightly.
|
2023-05-29 22:01:06 -07:00 |
Drew Galbraith
|
629dca278b
|
Enable the PIC and add a timer.
This causes a GP fault after the timer runs for some time.
|
2023-05-29 21:52:01 -07:00 |
Drew Galbraith
|
7a3b4d2d42
|
Add true page fault handler.
|
2023-05-18 13:56:09 -07:00 |
Drew Galbraith
|
747c2a4e17
|
Add a page fault handler
|
2023-05-18 10:59:45 -07:00 |
Drew Galbraith
|
9fc1aa15ef
|
Add an interrupt descriptor table.
Set up a very basic handler for divide by zero and
general protection faults.
|
2023-05-17 22:54:37 -07:00 |