Commit Graph

126 Commits

Author SHA1 Message Date
9c74aafe3d Initial implementation of process initialization 2023-02-24 19:52:20 +01:00
c4d1f1cd0d Initial implementation of the thread initialization 2023-02-23 20:11:21 +01:00
cbca1e21c6 Add missing forward reference to KeInitializeThread() 2023-02-21 22:49:13 +01:00
b43afac326 Cleanup definitions in kernel headers 2023-02-11 22:26:13 +01:00
c4a52938d2 Implement KeGetCurrentThread() routine 2023-02-08 23:58:24 +01:00
9132c47cd9 Initial process and thread related structures 2023-02-08 23:40:58 +01:00
929d3dfae7 Implement KeGetCurrentProcessorBlock() and KeGetCurrentProcessorControlBlock() routines for both amd64 and i686 2023-02-08 16:39:05 +01:00
75c519a70c Use more generic name for this macro use pointer used behind it will point to kernel debugger after it gets initialized 2023-02-07 19:37:44 +01:00
d6aac59199 Let kernel initialize stack on it's own without relying on boot loader 2023-02-05 09:55:59 +01:00
0b743a5f26 Add stub routine for identifying processor 2023-02-05 00:42:30 +01:00
55cdae7c83 Initialize AMD64 processor registers 2023-02-04 23:40:03 +01:00
f181215341 Initialize segment registers 2023-02-04 00:17:07 +01:00
a49d0804ce Add trap handlers for both i686 and amd64 2023-02-02 23:31:32 +01:00
3522539d4b Initialize Interrupt Descriptor Table (IDT) 2023-02-01 21:56:17 +01:00
1ef205d47b Initialize DoubleFault and NonMaskableInterrupt TSS entries 2023-02-01 20:36:40 +01:00
e2813bcdaa Fix entries in Global Descriptor Table (GDT) 2023-02-01 20:24:55 +01:00
6f068513cd Initial processor block initialization 2023-01-30 19:07:05 +01:00
7ac434cb99 Move architecture specific globals to external header, as ex. there is no GDT on ARM 2023-01-29 09:48:59 +01:00
7bf4a9ab8d Initialize boot CPU structures inside kernel on AMD64 2023-01-29 00:45:17 +01:00
9cd9a1eafa Correct typos 2023-01-29 00:25:25 +01:00
b57e79aa7f Proceed with architecture specific initialization 2023-01-25 19:37:13 +01:00
8da38af489 Rename KepInitializeBootStructures() to KepInitializeStack() 2023-01-25 19:28:12 +01:00
9cbe2d458c Initial support for EFI framebuffer 2023-01-23 15:26:35 +01:00
12b8c5f539 Switch kernel stack and move boot structures initialization into separate routine 2023-01-08 10:35:49 +01:00
5730e8692e Reorganisation of KeStartXtSystem() routine and early debug printing 2023-01-04 23:08:59 +01:00
dec021b1ec Reorganize early debug printing; initialize kernel stacks when needed 2022-12-28 23:11:35 +01:00