Commit Graph

  • 8fac92474a Update readme for publishing master thomas 2019-06-30 09:35:14 +02:00
  • f78cb6fbe9 DOC - CH10 More WIP thomas 2018-09-11 14:36:24 +02:00
  • 6749a63145 DOC - CH10 WIP thomas 2018-03-27 14:50:59 +02:00
  • 7648358078 A bit of ACPI code cleanup thomas 2018-03-13 12:51:45 +01:00
  • 9d9515c399 Read and save data from MADT thomas 2018-02-23 22:19:47 +01:00
  • f0e6a35941 Find and read ACPI tables thomas 2018-02-23 13:31:55 +01:00
  • 20ae7d56b3 TODO - Distribute those changes earlier thomas 2018-03-16 10:23:52 +01:00
  • 80aad418fc Cleanup and commenting thomas 2018-03-16 09:01:31 +01:00
  • cce444f546 Reference cpu specific information via gs segment thomas 2018-03-15 12:58:03 +01:00
  • 01ff25eefb Collect cpu specific information at one place thomas 2018-02-27 13:57:18 +01:00
  • 18481604f9 Chapter 13: Process Memory Management - NOTHING thomas 2018-03-12 14:25:16 +01:00
  • 4c4e7136cc Handle pagefaults caused by running of the stack thomas 2018-03-07 21:17:06 +01:00
  • 28c82567a0 Process page fault handler thomas 2018-03-06 10:28:35 +01:00
  • 4ecec1eec6 Stupidly simple process memory manager with brk() thomas 2018-03-01 15:12:35 +01:00
  • 19d58ec71d Functions for copying stuff between kernel and user space thomas 2018-02-28 22:02:20 +01:00
  • ace36fe919 Chapter 12: User Mode thomas 2018-02-23 13:34:49 +01:00
  • 42baf14321 A bit of cleanup thomas 2018-02-22 12:38:25 +01:00
  • 68ec6fa575 Running in user mode thomas 2018-02-22 12:16:20 +01:00
  • 6c078289f9 Load TSS thomas 2018-02-21 15:10:34 +01:00
  • 132645c0e6 Reload GDT from c thomas 2018-02-19 10:24:07 +01:00
  • 04f2123499 Move BootGDT definition to C thomas 2018-02-16 12:38:25 +01:00
  • 3508b182b7 Chapter 11: Processes thomas 2018-02-21 14:37:48 +01:00
  • e868b83f50 At this point the threads are really processes... thomas 2018-02-20 20:46:24 +01:00
  • 6523b10984 Threads have isolated memory spaces thomas 2018-02-20 20:38:32 +01:00
  • 2d0f539e23 Create and load new page directories thomas 2018-02-20 13:41:32 +01:00
  • d483d8f39e Global variables are overwritten... let's fix that thomas 2018-02-20 13:32:54 +01:00
  • 2de7e537ea Chapter 10: Threading thomas 2018-02-15 22:06:13 +01:00
  • a39fdcf3ce Adding a scheduler function and cleanup thomas 2018-03-29 12:28:10 +02:00
  • b5f5a40fbc Further queue improvements thomas 2018-02-19 10:24:47 +01:00
  • e5da45df2f Queue improvements thomas 2018-02-15 15:54:21 +01:00
  • 8af18644a3 Interface cleanup thomas 2018-02-15 12:09:37 +01:00
  • 024d772be8 Queues using some macro magic thomas 2018-01-27 22:06:36 +01:00
  • fd0ca6f617 Rename some stuff - cleanup thomas 2018-01-27 20:27:34 +01:00
  • 13946b1758 Pass around tcbs instead of thread stacks thomas 2018-01-26 15:02:13 +01:00
  • 1fca5af522 Change interface for getting and setting current thread thomas 2018-01-26 14:55:59 +01:00
  • c26434f814 Some threading code cleanup thomas 2018-01-16 19:52:38 +01:00
  • 251b5f71c9 Simple scheduler thomas 2018-01-10 22:28:55 +01:00
  • 1e2f81a5d8 Very simple threading and context switching. thomas 2018-01-05 17:07:22 +01:00
  • 63ae2a0b9d Chapter 9: Memory Management - COMPLETE thomas 2018-01-04 15:00:39 +01:00
  • fc6c7f3bc7 VMM -- Interface cleanup thomas 2018-03-21 09:16:19 +01:00
  • 4011b5f12f VMM -- Use a simple uint64 for page table entries thomas 2018-03-20 15:41:08 +01:00
  • cb09833ebc VMM -- Know what? Let's ignore huge pages for simplicity thomas 2018-03-20 13:08:55 +01:00
  • ae2de799f3 VMM -- Various cleanup thomas 2018-03-20 12:00:57 +01:00
  • e86857dca4 PMM -- simplification of code thomas 2018-03-20 10:20:27 +01:00
  • 9bc1abceff VMM -- Touch and set page in one operation thomas 2018-02-20 21:58:14 +01:00
  • df0df93da7 Don't put multiboot data in page stack thomas 2018-02-22 13:08:39 +01:00
  • 36c517dd82 Use a direct address for P4 rather than a pointer thomas 2018-02-20 14:02:47 +01:00
  • 8711fee390 Interface cleanup thomas 2018-02-15 14:20:10 +01:00
  • 9a479b1132 Add a PAGE_GLOBAL flag for kernel pages thomas 2018-01-04 00:45:01 +01:00
  • 470eb5e9f9 Also map non-free memory areas into kernel space thomas 2018-01-04 00:39:50 +01:00
  • 3a4136c225 PMM -- calloc function for getting cleared pages thomas 2018-01-04 00:36:59 +01:00
  • 5dc4e27392 Map all free memory pages and add to page stack thomas 2018-01-04 00:10:27 +01:00
  • cf1b631461 VMM -- making sure things will work with virtual memory thomas 2018-01-03 22:18:17 +01:00
  • 8ac8bc7b6c VMM -- adding interface to header file thomas 2018-01-03 15:34:06 +01:00
  • ce937c8088 VMM - free_page does not unset P2 entry if P1 is not empty thomas 2018-01-03 14:16:02 +01:00
  • 96a877c95b VMM - touch_page stops at P2 for huge pages thomas 2018-01-03 14:05:27 +01:00
  • e68698ff80 VMM - set_page does not overwrite 4kb pages with 2mb thomas 2018-01-02 12:24:02 +01:00
  • 518eaf73c3 VMM - set_page sets 2Mb pages thomas 2018-01-02 11:55:06 +01:00
  • f81e5cd8b0 VMM - get_page gets 2mb pages thomas 2018-01-01 23:53:18 +01:00
  • 69022cadd5 VMM -- refactoring, break out test for page presence thomas 2017-12-31 09:51:25 +01:00
  • d54a206f82 VMM - free_page returns P1 to PMM if empty thomas 2017-12-30 13:16:20 +01:00
  • 46e27fb817 VMM - free_page deos not unset P2 entry if P1 is not empty thomas 2017-12-30 11:30:45 +01:00
  • 992930d293 VMM - free_page deos not unset P2 entry if not asked to thomas 2017-12-29 23:35:34 +01:00
  • 3134a1d6ad VMM - free_page unsets P2 entry if P1 is empty thomas 2017-12-29 23:33:48 +01:00
  • e62c167494 VMM -- refactor page table setup in tests thomas 2017-12-29 23:26:49 +01:00
  • 063c065d2f VMM - free_page unsets page thomas 2017-12-29 23:15:34 +01:00
  • bbd220a395 VMM -- test refactoring thomas 2017-12-29 22:32:43 +01:00
  • f78500d603 PMM -- Make sure stuff works even with V2P and P2V thomas 2017-12-29 21:46:00 +01:00
  • acf9a43980 VMM - touch_page fails if out of pages thomas 2017-12-27 23:30:14 +01:00
  • 59ffd9d5f5 VMM - touch_page sets flags thomas 2017-12-27 23:20:15 +01:00
  • 86d8aea9ea VMM - touch_page adds P2 and P1 thomas 2017-12-27 23:18:01 +01:00
  • 1d4b689215 VMM - touch_page adds P3 thomas 2017-12-27 23:08:41 +01:00
  • 28c8afe3c5 VMM - set_page with tests thomas 2017-12-27 22:40:41 +01:00
  • cd7ed38a40 VMM -- get_page should include flags thomas 2017-12-27 22:26:06 +01:00
  • 57482136ae VMM - get_page fails if PTE not present thomas 2017-12-24 01:59:35 +01:00
  • d32e93b72b VMM - get_page works for different address thomas 2017-12-24 01:50:13 +01:00
  • 1ad156902a VMM - get_page ignores flags -- also restructuring - bad Thomas! thomas 2017-12-23 22:01:07 +01:00
  • 1b928b3c97 VMM - get_page returns correct address thomas 2017-12-21 23:24:22 +01:00
  • 1a7852de4d PMM -- finishing up and changing names, types thomas 2017-12-21 21:03:06 +01:00
  • 28916257f1 PMM -- Fix type for pointer to next block thomas 2017-12-21 16:25:59 +01:00
  • 82fbafc38e PMM -- Convert between virtual and physical address thomas 2017-12-21 16:17:55 +01:00
  • 1daf8ed47b PMM - alloc two pages thomas 2017-12-21 16:15:55 +01:00
  • e7bdea771b PMM - alloc zero after all free pages thomas 2017-12-21 15:17:28 +01:00
  • 9b930ae5d3 PMM - alloc return 0 if no free pages thomas 2017-12-21 15:11:01 +01:00
  • 776fd87862 PMM - alloc returns freed page thomas 2017-12-21 15:00:35 +01:00
  • 80cc165957 Read memory map tags from multiboot thomas 2017-12-19 22:51:11 +01:00
  • 0b3648de7c Chapter 8: Exceptions - COMPLETE thomas 2017-12-21 16:21:58 +01:00
  • 73a33c23a4 Clean up header file for interrupts thomas 2018-02-14 08:30:58 +01:00
  • 6f0a745adc Ability to bind handler functions to interrupts thomas 2018-02-13 14:27:26 +01:00
  • c1c3842ace Functions for reading/writing some special registers thomas 2018-02-13 12:47:50 +01:00
  • 96d2ebd977 Collect the cpu specific stuff thomas 2018-02-13 12:46:36 +01:00
  • b801c7cf3c Make tests unassuming thomas 2018-02-12 13:59:10 +01:00
  • 86808bce0d Breakpoint in int_handler. Function for checking fault in gdb thomas 2017-12-06 22:25:42 +01:00
  • 61bc1221bf Make python script py3 compatible thomas 2017-12-06 21:29:12 +01:00
  • 83e204e52e Change the way python generates .o files via .S thomas 2017-12-06 21:28:50 +01:00
  • 6cbdb8f7de Remove magic numbers thomas 2017-12-06 21:20:33 +01:00
  • 127d6ca5a4 Interrupt cleanup thomas 2017-12-06 19:53:56 +01:00
  • cbcc67fc31 Quick and dirty IDT setup thomas 2017-12-06 16:53:12 +01:00
  • 25ef5f4688 Chapter 7: Multiboot Data - COMPLETE thomas 2017-12-06 11:14:41 +01:00
  • e4e891bb86 Clean up interface thomas 2018-02-15 09:26:07 +01:00