This website requires JavaScript.
9f1a4f0ced
Compose the AMD family and model IDs according to the AMD CPUID manual, section 2
Rafal Kupiec
2024-05-14 19:39:07 +0200
2a8cc7397e
Implement ArGetCpuFlags() routine
Rafal Kupiec
2024-05-14 16:26:02 +0200
efef3cb80d
Cleanup EFLAGS related definitions
Rafal Kupiec
2024-05-14 16:22:10 +0200
01d127f49e
Consider not initialized list as empty, what prevents page faults
Rafal Kupiec
2024-05-14 15:53:21 +0200
60a9e4b534
Rename source file with fb-related stuff, fix build
Rafal Kupiec
2024-05-13 15:59:24 +0200
086d9ed7e2
Rename source file with fb-related stuff
Rafal Kupiec
2024-05-13 15:55:39 +0200
78424385fc
Convert RGB colors to FrameBuffer format
Rafal Kupiec
2024-05-13 08:51:27 +0200
e311cad8f7
Allow to clear framebuffer screen with any, custom background color
Rafal Kupiec
2024-05-12 22:43:06 +0200
c576f7f8f2
Provide pixel information to the kernel
Rafal Kupiec
2024-05-12 22:28:06 +0200
615a1457bf
Fixes to FbpGetPixelInformation() and FbpGetColorMask() routines
Rafal Kupiec
2024-05-12 22:20:22 +0200
3d08be4fac
Refactor kernel startup code
Rafal Kupiec
2024-05-12 09:06:24 +0200
eeeb9d6ed7
Update PoInitializeProcessorControlBlock() routine and corresponding structures
Rafal Kupiec
2024-05-09 22:12:50 +0200
c34b6ff6c1
Take CPU number from processor block
Rafal Kupiec
2024-05-08 21:59:18 +0200
38b0b2ac7d
Use correct stack when using preallocated processor structures
Rafal Kupiec
2024-05-08 15:57:24 +0200
3c3a756771
Allow to initialize CPU with allocated processor structures
Rafal Kupiec
2024-05-08 00:02:47 +0200
fb099a1988
Preallocate buffer for all supported CPUs
Rafal Kupiec
2024-05-07 23:47:58 +0200
b65ff2a767
Implement MmAllocateProcessorStructures() routine as a temporary hack to get a buffer for AP initialization
Rafal Kupiec
2024-05-07 23:30:11 +0200
8d6d27651c
Implement KeGetCurrentProcessorNumber() routine
Rafal Kupiec
2024-05-07 18:52:43 +0200
f66e9aea9e
Store CPU number and mask interrupts in processor block
Rafal Kupiec
2024-05-07 16:21:38 +0200
276eb77862
Update KPROCESSOR_BLOCK structure
Rafal Kupiec
2024-05-07 16:20:40 +0200
ac0b8ab36a
Allow to specify CPU number when initializing (A)PIC
Rafal Kupiec
2024-05-07 16:16:49 +0200
2c384d780f
Fix storing CPU vendor name in PRCB
Rafal Kupiec
2024-05-06 20:01:19 +0200
363e100493
Saving processor features in the processor control block Fixed correct AMD Family 25 model detection Fixed procedure for saving processor vendor name (previously corrupted) Added a debugging print of the processor identification
PerikiyoXD
2024-05-06 17:55:37 +0200
243aacc9c1
Cleanup thread context initialization code
Rafal Kupiec
2024-05-06 16:57:29 +0200
cf0d23b6fe
Correct a typo causing page fault during int handling after switching to new kernel stack
Rafal Kupiec
2024-05-06 16:47:12 +0200
e4155ee008
Lower runlevel to APC before initializing idle process
Rafal Kupiec
2024-05-05 21:48:58 +0200
c98ad3862b
Use kernel boot stack for the idle thread
Rafal Kupiec
2024-05-05 21:47:48 +0200
07d7e06b2b
Flush keyboard buffer out of any keystrokes before waiting for user input
Rafal Kupiec
2024-05-05 15:29:20 +0200
40e0dd8c5e
Mask LVTERR first to prevent local APIC errors
Rafal Kupiec
2024-05-05 15:24:17 +0200
5a013e3ab5
Properly free memory after reading a file
Rafal Kupiec
2024-04-30 12:27:27 +0200
e86313603a
Correct path to cmake file
Rafal Kupiec
2024-04-30 12:19:38 +0200
7a62ce3feb
Enable Bochs-based emulation
Rafal Kupiec
2024-04-30 12:16:19 +0200
ecf62ff231
Add OVMF firmware and VGA Bios suitable for use with Bochs
Rafal Kupiec
2024-04-30 11:57:35 +0200
99ff358287
Don't mess with input string
Rafal Kupiec
2024-04-30 10:31:17 +0200
c4d5b5bb25
Truncate memory descriptor to 4GB only with PML2
Rafal Kupiec
2024-04-29 23:59:17 +0200
763bade115
Use correct string formatting when printing page mapping
Rafal Kupiec
2024-04-29 23:57:09 +0200
0756eb9b29
Allocate memory before copying a buffer
Rafal Kupiec
2024-04-29 22:39:32 +0200
ab618f95b9
Use dedicated GUID for DUMMYOS boot protocol
Rafal Kupiec
2024-04-29 13:48:01 +0200
a4bb5a8ecc
Correct formatting
Rafal Kupiec
2024-04-29 12:35:32 +0200
170b11f7a2
Change OS boot identifier, to be able to load both 'dummy' and 'xtos' modules at the same time
Rafal Kupiec
2024-04-29 12:31:18 +0200
a6b8f97fbb
Remove empty line
Rafal Kupiec
2024-04-29 08:40:07 +0200
6b8184aa04
Fix code formatting
Rafal Kupiec
2024-04-29 08:38:45 +0200
e80927c5d3
Fix undefined behavior and NULL pointer in boot loader OS list renderer
Rafal Kupiec
2024-04-27 00:42:25 +0200
22693a48d3
Rework trap handling assembly code
Rafal Kupiec
2024-04-23 15:07:08 +0200
a36c02fde8
Use common name for EFLAGS and RFLAGS, regardless the CPU architecture
Rafal Kupiec
2024-04-21 22:35:06 +0200
30a2cb9849
Update timers support
Rafal Kupiec
2024-04-21 13:57:55 +0200
331c5bfeda
Rework initial timer support
Rafal Kupiec
2024-04-20 23:15:57 +0200
12ce7aae3f
Correct formatting
Rafal Kupiec
2024-04-19 23:59:21 +0200
9f2279f28f
Use common way of setting initial runlevel across architectures
Rafal Kupiec
2024-04-19 23:56:33 +0200
5539d98572
Raise to HIGH runlevel before switching the stack
Rafal Kupiec
2024-04-19 23:55:26 +0200
3aa0413756
Use common routine to set runlevel
Rafal Kupiec
2024-04-19 23:52:21 +0200
28c89986fb
Tweaks to AMD64 architecture support
Rafal Kupiec
2024-04-19 23:37:39 +0200
b30d15719c
Temporarily comment out thread code related to trap frame
Rafal Kupiec
2024-04-19 16:59:57 +0200
51df6c3acb
Update trap handler to allow access to the registers
Rafal Kupiec
2024-04-19 16:54:55 +0200
92ee74b494
Rework trap handling to access registers
Rafal Kupiec
2024-04-19 16:49:40 +0200
cf408519ad
Initialize AMD64 segments properly
Rafal Kupiec
2024-04-17 20:02:27 +0200
8aa33874ff
Initialize CS segment on i686 architecture
Rafal Kupiec
2024-04-17 18:27:57 +0200
7011d456e9
Fix loading CS segment for AMD64 architecture
Rafal Kupiec
2024-04-17 16:48:18 +0200
b31aa82872
Fix loading CS segment for i686 architecture
Rafal Kupiec
2024-04-17 16:46:03 +0200
9d4751abee
Remove useless assembler options
Rafal Kupiec
2024-04-14 11:37:11 +0200
ffda2fd8a9
Update toolchain settings
Rafal Kupiec
2024-04-14 11:18:31 +0200
befa211aa7
Add PFN related structures and definitions
Rafal Kupiec
2024-04-08 19:03:58 +0200
7193e698f1
Store page map level
Rafal Kupiec
2024-04-07 17:49:24 +0200
388ac1a8c2
Properly, recursively self map page tables on i686 architecture
Rafal Kupiec
2024-04-07 17:11:14 +0200
7c9233c9a2
Copy memory descriptor to fix i686 compiler error
Rafal Kupiec
2024-04-07 10:51:14 +0200
0af3a01acf
Pass compatible pointer type to fix compiler warning
Rafal Kupiec
2024-04-07 10:50:21 +0200
e82c3cbf18
Fix function prototypes
Rafal Kupiec
2024-04-07 10:37:27 +0200
bfcf9bc61a
Add PFN_NUMBER type definition
Rafal Kupiec
2024-04-07 10:33:53 +0200
cf8bac9fbe
Initial memory manager initialization code
Rafal Kupiec
2024-04-07 10:27:30 +0200
04e22c127e
Initial memory manager initialization code
Rafal Kupiec
2024-04-07 10:26:12 +0200
42a1373612
Do not pre-allocate memory
Rafal Kupiec
2024-04-06 11:28:02 +0200
1305672875
Properly, recursively self map page tables; currently only for AMD64 and PML4
Rafal Kupiec
2024-04-05 00:26:41 +0200
d7b103f85d
Add forward references for PTE related structures
Rafal Kupiec
2024-04-03 16:03:17 +0200
c6f3422c49
Update PTE related structures
Rafal Kupiec
2024-04-03 16:00:26 +0200
dcca4870cd
Move cursor before changing console attributes
Rafal Kupiec
2024-03-28 14:06:52 +0100
1cdc1d3e54
Truncate EFI memory descriptor to 4GB and never map EFI reserved memory like PCI BAR
Rafal Kupiec
2024-03-26 23:04:54 +0100
306891c9eb
Rename XTBL_MODULE_INFO definition to XTBL_MODULE_DATA, to not confuse with structure
Rafal Kupiec
2024-03-25 07:14:18 +0100
e24c37c9b1
First page is now always present in memory map, so there is no need to map it explicitly
Rafal Kupiec
2024-03-24 23:01:52 +0100
ce8c66f93a
Always map first page
Rafal Kupiec
2024-03-24 22:52:18 +0100
b3be36e23d
Map BIOS ROM and VRAM
Rafal Kupiec
2024-03-24 15:53:36 +0100
74b2c80869
RtlCountLeadingZeroes64() should take 64bit value
Rafal Kupiec
2024-03-23 00:36:59 +0100
9aff665d1a
Export RtlClearSetBits(), RtlFindClearBits(), RtlFindSetBits() and RtlSetClearBits() routines
Rafal Kupiec
2024-03-22 22:49:12 +0100
715f842445
Implement RtlClearSetBits(), RtlFindClearBits(), RtlFindSetBits() and RtlSetClearBits() routines
Rafal Kupiec
2024-03-22 18:53:30 +0100
7895cb0d32
Fix RtlClearBits() and RtlSetBits()
Rafal Kupiec
2024-03-21 21:36:33 +0100
56d50ea2e8
Implement EDID support for getting the preferred screen resolution
Rafal Kupiec
2024-03-21 15:40:09 +0100
eb75a27ac2
Use common handle and properly close GOP protocol on failures
Rafal Kupiec
2024-03-21 06:59:05 +0100
b6f915c0c5
Implement RtlClearBits() and RtlSetBits() routines
Rafal Kupiec
2024-03-19 19:53:49 +0100
3cd55260e6
Expose BlEnterFirmwareSetup() routine via XTLDR protocol
Rafal Kupiec
2024-03-19 17:11:38 +0100
e263effe13
Allow to reboot into UEFI Firmware setup interface after pressing F10 in the boot menu
Rafal Kupiec
2024-03-19 17:04:14 +0100
94e6ca7aec
Implement BlEnterFirmwareSetup() routine
Rafal Kupiec
2024-03-19 16:50:04 +0100
7b2a2565c5
Expose BlGetEfiVariable() and BlSetEfiVariable() routines via XTLDR protocol
Rafal Kupiec
2024-03-18 22:20:21 +0100
6accf62552
Expose BlGetConfigBooleanValue() via XTLDR protocol
Rafal Kupiec
2024-03-18 22:16:20 +0100
18c9cc1644
Remove unnecessary debug messages
Rafal Kupiec
2024-03-18 21:55:17 +0100
12e8704ffb
Implement BlGetConfigBooleanValue() routine
Rafal Kupiec
2024-03-18 20:02:43 +0100
bd02da30ef
Update XTLDR configuration file
Rafal Kupiec
2024-03-18 19:43:41 +0100
1d26b81923
Store last booted OS in NVRAM and make it default one on next boot
Rafal Kupiec
2024-03-18 19:41:55 +0100
ee23cd90cb
Implement BlGetEfiVariable() and BlSetEfiVariable() routines
Rafal Kupiec
2024-03-18 17:04:58 +0100
713f826387
XTOS boot protocol should use builtin mapping function
Rafal Kupiec
2024-03-17 23:10:50 +0100
db0e1d40aa
Allow boot protocols to supply own routine for converting EFI memory type into OS-specific memory type
Rafal Kupiec
2024-03-17 23:06:37 +0100
41ebabcb09
Provide only necessary framebuffer information to the kernel
Rafal Kupiec
2024-03-15 16:46:53 +0100