28 Commits

Author SHA1 Message Date
6523b10984 Threads have isolated memory spaces 2018-03-29 19:36:32 +02:00
2d0f539e23 Create and load new page directories 2018-03-29 19:36:32 +02:00
d483d8f39e Global variables are overwritten... let's fix that 2018-03-29 19:36:32 +02:00
a39fdcf3ce Adding a scheduler function and cleanup 2018-03-29 19:36:32 +02:00
fd0ca6f617 Rename some stuff - cleanup 2018-03-21 23:12:43 +01:00
c26434f814 Some threading code cleanup 2018-03-21 23:12:43 +01:00
251b5f71c9 Simple scheduler 2018-03-21 23:12:43 +01:00
1e2f81a5d8 Very simple threading and context switching. 2018-03-21 23:12:43 +01:00
8711fee390 Interface cleanup 2018-03-20 14:11:22 +01:00
9a479b1132 Add a PAGE_GLOBAL flag for kernel pages 2018-03-20 14:11:22 +01:00
470eb5e9f9 Also map non-free memory areas into kernel space 2018-03-20 14:11:22 +01:00
5dc4e27392 Map all free memory pages and add to page stack 2018-03-20 14:11:22 +01:00
80cc165957 Read memory map tags from multiboot 2018-03-20 14:11:21 +01:00
6f0a745adc Ability to bind handler functions to interrupts 2018-03-20 14:11:21 +01:00
96d2ebd977 Collect the cpu specific stuff 2018-03-20 14:11:21 +01:00
127d6ca5a4 Interrupt cleanup 2018-03-20 14:11:21 +01:00
cbcc67fc31 Quick and dirty IDT setup 2018-03-20 14:11:21 +01:00
79ca4681ff Make tests independent of structures in header files 2018-03-20 14:11:21 +01:00
9dbbc7013c Use debug macros 2018-03-20 14:11:21 +01:00
497bdef9f4 Debug print some of the multiboot data 2018-03-20 14:11:21 +01:00
49f7738be2 Parse multiboot information 2018-03-20 14:11:21 +01:00
9e2483d78e Halt-And-Catch-Fire macro 2018-03-20 14:11:21 +01:00
0659cf73f6 Some more debug macros 2018-03-20 14:11:21 +01:00
572bee19cc Add ability to disable debug printing and gdb symbols 2018-03-20 14:11:21 +01:00
4f00d428bf Writing (debug output) to screen 2018-03-20 14:11:21 +01:00
034a870ac7 Sending data (debug printing) to serial port 2018-03-20 14:11:21 +01:00
83f81b9a74 Cleaning up and commenting 2018-03-20 14:10:03 +01:00
ab1a471857 Call a c function. 2018-03-20 14:10:03 +01:00