Commit Graph

16 Commits

Author SHA1 Message Date
d78e7743ce Fix warnings 2019-04-21 14:19:52 -05:00
e3fd4fd5e1 Fix warnings 2019-04-13 09:23:40 -05:00
edded2e3a1 Added errno 2019-04-08 15:58:30 -05:00
a1267bd5b3 tasking_yield enables interrupts when switching to user mode 2019-03-26 17:52:08 -05:00
0c50e1eb8c Fixed interrupts using wrong stack
Tasks were running in kernel mode, so the tss stack was not being used.
Unfortunatley, I had to set kmalloc to user r/w so switchTask can save 
and load registers.
2019-03-24 14:25:32 -05:00
5618dd6834 Fixed reboot problem
STACK GROWS DOWN, NOT UP!
2019-03-24 13:42:00 -05:00
e1579b5f2a Yield now loads the address space 2019-03-23 11:14:59 -05:00
2b65782369 Tasks now have separate address spaces
When switchTask loads the stack, the next push intruction fails, but the 
stack can be manually accessed fine.
2019-03-23 10:35:11 -05:00
9caf48cb6d Kmalloc is now used to allocate task structures 2019-03-23 07:30:18 -05:00
bfc3964804 Memory allocation is now a syscall 2019-03-17 12:22:00 -05:00
7d2a8b0894 IPC now uses void pointers 2019-03-15 18:53:50 -05:00
f2ebc5e31e More work 2019-03-12 17:26:19 -05:00
99d7fed783 Work and cleanup 2019-03-11 09:32:55 -05:00
7131f4ae5a Lots of work 2019-02-25 15:42:23 -06:00
4f25ff7a09 Add yield syscall (Not working in umode) 2019-02-11 09:47:28 -06:00
fdd7afa1c8 Add tasking (No usermode support) 2019-02-11 09:30:28 -06:00