Commit Graph

782 Commits

Author SHA1 Message Date
29ec28fafe Update ideas and known issues markdown 2023-01-28 19:22:02 +01:00
27e2fdf4f2 Introduce architecture library as new kernel subsystem and move selected routines into new subsystem 2023-01-28 10:34:55 +01:00
651113c4e8 Update Discord invitation link 2023-01-27 23:37:20 +01:00
d5f9b20b51 Import kernel readme 2023-01-27 22:59:53 +01:00
bf141fe25e Basic IDT setup in the bootloader 2023-01-26 20:14:27 +01:00
e94e50b5d9 Implement HlLoadInterruptDescriptorTable() intrinsics for loading IDT 2023-01-26 20:08:57 +01:00
6613fdd32c Correct markdown 2023-01-26 16:55:34 +01:00
efe0b45ae4 Import ideas and known issues 2023-01-26 16:43:51 +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
3c3e93afc7 Save kernel initialization block earlier 2023-01-25 18:45:08 +01:00
3b08bcaa4f Setup processor context (GDT, PCR, TSS) and kernel startup stack before booting XTOS 2023-01-25 18:39:07 +01:00
3ad3149f80 Add descriptor structure definition 2023-01-25 17:42:35 +01:00
bfc9db8b6d Unify KGDTENTRY and KIDTENTRY between architectures as much as possible 2023-01-25 17:35:03 +01:00
3ee759cc27 i686 Interrupt request levels definitions 2023-01-25 17:18:27 +01:00
7bd67d6210 Add GDT and Segments related definitions for i686 2023-01-25 17:13:24 +01:00
a366de618f AMD64 Interrupt request levels definitions 2023-01-25 17:08:42 +01:00
8f348c3954 Add GDT and Segments related definitions for AMD64 2023-01-25 17:05:15 +01:00
c4d53f12f2 Allocate memory for kernel startup stack 2023-01-25 16:47:27 +01:00
b3bf613e1b Make sure paging has been successfully enabled 2023-01-25 16:39:15 +01:00
707dc37868 Fix type of Source parameter in HlLoadSegment() routine 2023-01-24 23:08:48 +01:00
35aa514f95 Implement HlLoadSegment() intrinsics routine 2023-01-24 19:27:18 +01:00
d3d8d144a0 Implement HlLoadGlobalDescriptorTable() intrinsic 2023-01-23 20:13:51 +01:00
adc6677c9d Code formatting 2023-01-23 20:04:32 +01:00
c81b858757 Implement HlReadGSQuadWord() intrinsic 2023-01-23 19:59:54 +01:00
9fd21a8820 Update badges 2023-01-23 15:33:33 +01:00
f20ab3e52e Implement HlLoadTaskRegister() for loading TSS segment selector into task register 2023-01-23 15:26:35 +01:00
9cbe2d458c Initial support for EFI framebuffer 2023-01-23 15:26:35 +01:00
fb60724710 Add link to CI/CD artifacts 2023-01-18 22:29:43 +01:00
145fc17271 Pass framebuffer pitch information to the kernel 2023-01-18 20:15:41 +01:00
41a0a2b37c Shorter and longer version of the build timestamp 2023-01-18 20:10:03 +01:00
42af53c190 Add publishing task to the pipeline 2023-01-18 00:23:14 +01:00
bb56641e4b Do not call SetVirtualAddressMap() as this might break boot process and runtime services are mapped anyway 2023-01-16 21:58:30 +01:00
1a93c198ed Add missing forward reference to _LOADER_GRAPHICS_INFORMATION_BLOCK structure 2023-01-16 19:51:19 +01:00
b8df45ab6a Map framebuffer and fill information about it into kernel parameters 2023-01-16 18:49:54 +01:00
605597262c Initial version of EFI framebuffer module, currently support only GOP 2023-01-16 18:41:25 +01:00
289316b43b Print hexadecimal values in uppercase 2023-01-16 15:55:38 +01:00
e3f0782053 Add enumeration of efi supported graphics protocols 2023-01-16 00:10:44 +01:00
5d74fb2bb5 Add UGA related structures 2023-01-16 00:03:35 +01:00
87d8300c6a Remove no longer needed EfiLoaderStack global variable 2023-01-15 18:54:31 +01:00
9a52be5ab9 Print a reason why module failed to load 2023-01-15 18:53:09 +01:00
0c3e18fd86 Once BlGetMemoryMap() is called, it cannot allocate or free memory, otherwise key gets invalidated 2023-01-15 18:50:12 +01:00
0461d975e0 Check ExitBootServices() status code 2023-01-15 16:52:02 +01:00
fb60625abc Add more intrinsic routines 2023-01-13 22:32:45 +01:00
bff460a879 Print COM port address properly 2023-01-11 23:29:27 +01:00
7496fa324e Map EfiLoaderData as some UEFI implementations might need this before kernel take over control 2023-01-11 23:26:54 +01:00
42c3d4eff7 Fix NULL pointer 2023-01-11 23:16:44 +01:00
21abe0553a Code formatting 2023-01-11 15:39:36 +01:00
beed5e0b51 More architecture specific definitions 2023-01-11 15:29:43 +01:00
350df87bcc Do not start services as this only slows down boot process significantly 2023-01-10 22:55:40 +01:00