Commit Graph

298 Commits

Author SHA1 Message Date
78424385fc
Convert RGB colors to FrameBuffer format 2024-05-13 08:51:27 +02:00
e311cad8f7
Allow to clear framebuffer screen with any, custom background color 2024-05-12 22:43:06 +02:00
3d08be4fac
Refactor kernel startup code 2024-05-12 09:06:24 +02:00
eeeb9d6ed7
Update PoInitializeProcessorControlBlock() routine and corresponding structures 2024-05-09 22:12:50 +02:00
c34b6ff6c1
Take CPU number from processor block 2024-05-08 21:59:18 +02:00
38b0b2ac7d
Use correct stack when using preallocated processor structures 2024-05-08 15:57:24 +02:00
3c3a756771
Allow to initialize CPU with allocated processor structures 2024-05-08 00:02:47 +02:00
fb099a1988
Preallocate buffer for all supported CPUs 2024-05-07 23:47:58 +02:00
b65ff2a767
Implement MmAllocateProcessorStructures() routine as a temporary hack to get a buffer for AP initialization 2024-05-07 23:30:11 +02:00
8d6d27651c
Implement KeGetCurrentProcessorNumber() routine 2024-05-07 18:52:43 +02:00
f66e9aea9e
Store CPU number and mask interrupts in processor block 2024-05-07 16:21:38 +02:00
ac0b8ab36a
Allow to specify CPU number when initializing (A)PIC 2024-05-07 16:16:49 +02:00
2c384d780f
Fix storing CPU vendor name in PRCB 2024-05-06 20:01:19 +02:00
243aacc9c1
Cleanup thread context initialization code 2024-05-06 16:57:29 +02:00
cf0d23b6fe
Correct a typo causing page fault during int handling after switching to new kernel stack 2024-05-06 16:47:12 +02:00
e4155ee008
Lower runlevel to APC before initializing idle process 2024-05-05 21:48:58 +02:00
c98ad3862b
Use kernel boot stack for the idle thread 2024-05-05 21:47:48 +02:00
40e0dd8c5e
Mask LVTERR first to prevent local APIC errors 2024-05-05 15:24:17 +02:00
a6b8f97fbb
Remove empty line 2024-04-29 08:40:07 +02:00
22693a48d3
Rework trap handling assembly code 2024-04-23 15:07:08 +02:00
30a2cb9849
Update timers support 2024-04-21 13:57:55 +02:00
331c5bfeda
Rework initial timer support 2024-04-20 23:15:57 +02:00
12ce7aae3f
Correct formatting 2024-04-19 23:59:21 +02:00
9f2279f28f
Use common way of setting initial runlevel across architectures 2024-04-19 23:56:33 +02:00
5539d98572
Raise to HIGH runlevel before switching the stack 2024-04-19 23:55:26 +02:00
3aa0413756
Use common routine to set runlevel 2024-04-19 23:52:21 +02:00
28c89986fb
Tweaks to AMD64 architecture support 2024-04-19 23:37:39 +02:00
b30d15719c
Temporarily comment out thread code related to trap frame 2024-04-19 16:59:57 +02:00
51df6c3acb
Update trap handler to allow access to the registers 2024-04-19 16:54:55 +02:00
92ee74b494
Rework trap handling to access registers 2024-04-19 16:52:37 +02:00
cf408519ad
Initialize AMD64 segments properly 2024-04-17 20:02:27 +02:00
8aa33874ff
Initialize CS segment on i686 architecture 2024-04-17 18:27:57 +02:00
7011d456e9
Fix loading CS segment for AMD64 architecture 2024-04-17 16:48:18 +02:00
b31aa82872
Fix loading CS segment for i686 architecture 2024-04-17 16:46:03 +02:00
7193e698f1
Store page map level 2024-04-07 17:49:24 +02:00
7c9233c9a2
Copy memory descriptor to fix i686 compiler error 2024-04-07 10:51:14 +02:00
e82c3cbf18
Fix function prototypes 2024-04-07 10:37:27 +02:00
cf8bac9fbe
Initial memory manager initialization code 2024-04-07 10:27:30 +02:00
04e22c127e
Initial memory manager initialization code 2024-04-07 10:26:12 +02:00
74b2c80869
RtlCountLeadingZeroes64() should take 64bit value 2024-03-23 00:36:59 +01:00
9aff665d1a
Export RtlClearSetBits(), RtlFindClearBits(), RtlFindSetBits() and RtlSetClearBits() routines 2024-03-22 22:49:12 +01:00
715f842445
Implement RtlClearSetBits(), RtlFindClearBits(), RtlFindSetBits() and RtlSetClearBits() routines 2024-03-22 18:53:30 +01:00
7895cb0d32
Fix RtlClearBits() and RtlSetBits() 2024-03-21 21:36:33 +01:00
b6f915c0c5
Implement RtlClearBits() and RtlSetBits() routines 2024-03-19 19:53:49 +01:00
26d5118cea
Add forward references to bit map related routines 2024-03-12 22:02:24 +01:00
067a8bbade
Export bit map related routines 2024-03-12 19:31:32 +01:00
c3831f82e7
Initial bit maps support 2024-03-12 19:15:02 +01:00
3a86ab1424
Remove duplicated code 2024-03-10 22:51:34 +01:00
bb44caee31
Implement HlPutCharacter() routine 2024-03-10 17:02:30 +01:00
cb4292dccf
Allow to use custom framebuffer fonts 2024-03-10 10:02:30 +01:00