Commit Graph

1003 Commits

Author SHA1 Message Date
900e86c9da Create new stack and then boot XTOS, export more routines with the loader protocol 2022-12-07 20:34:16 +01:00
d50fb7c37d Implement BlCreateStack() 2022-12-07 19:46:36 +01:00
43c16d054d Use PVOID instead of HARDWARE_PTE to allow different variable types for different architectures 2022-12-07 18:54:21 +01:00
93fa2aed67 Implement BlMapVirtualMemory() routine for recursive mapping 2022-12-06 23:32:31 +01:00
3876414a48 Implement BlAddVirtualMemoryMapping() and BlInitializeVirtualMemory() routines 2022-12-06 17:49:00 +01:00
2f03f84a20 Move memory related routines to a separate file and implement BlGetMemoryMap() routine 2022-12-05 20:08:18 +01:00
6b2f34f287 Store physical address as well in the image context 2022-12-04 22:46:33 +01:00
b89121fded Implement routines for accessing and manipulating CPU control registers 2022-12-02 23:03:42 +01:00
b275caf161 Implement RtlRemoveEntryList() routine 2022-11-28 23:00:20 +01:00
cba4a065ba Add missing comments 2022-11-23 20:51:40 +01:00
519df2ad11 Allow to set VirtualAddress of loaded module 2022-11-23 20:34:20 +01:00
2cb2328f45 Initial XtpLoadModule() implementation 2022-11-17 22:44:53 +01:00
0db01053ab Code formatting 2022-11-16 20:06:52 +01:00
5ec08cb84a Implement PeGetSubSystem() routine 2022-11-16 15:03:33 +01:00
9f43ad06af Implement PeRelocateImage() routine 2022-11-15 23:31:35 +01:00
131275e788 Import loader structures definitions 2022-11-15 20:16:23 +01:00
df5eab737b Add PE/COFF image characteristics 2022-11-15 20:14:28 +01:00
3125a25617 Add three most important linked lists into the kernel initialization block 2022-11-15 19:54:02 +01:00
ee9f2df6a6 Properly relocate PE/COFF image 2022-11-15 00:19:21 +01:00
fd4e9ffe63 Fix compiler warning for 32bit build, use proper data types 2022-11-14 17:58:53 +01:00
e37e5b97af Initial version of the kernel initialization block, needed to start the kernel 2022-11-12 23:17:44 +01:00
2dd7b09fbb Make sure PE image is executable 2022-11-12 19:16:00 +01:00
b03c9c2a25 Further PE/COFF module improvements 2022-11-12 12:37:49 +01:00
60c56c4462 Firmware dependent XT structures 2022-11-12 12:21:08 +01:00
c2b720fbd8 Add missing PE subsystem 2022-11-07 23:16:48 +01:00
5c5c6b7a5e Initiate boot up sequence 2022-11-07 20:41:21 +01:00
f0868b91ec Initial XTOS boot protocol support 2022-11-07 20:21:07 +01:00
3c6136811b Use shorter and more readable variable names 2022-11-07 20:06:19 +01:00
9aa6d6913a Store ARC name as well as system path 2022-11-07 15:53:50 +01:00
66713ba461 Print more accurate message 2022-11-07 15:51:27 +01:00
2f16a8534c Code cleanup 2022-11-06 20:03:49 +01:00
c8f99ad6ed Initial PE/COFF support for loading image files 2022-11-06 19:59:38 +01:00
4a364212de Fix 4KB pages allocation 2022-11-05 21:59:55 +01:00
bef6b5a589 Import ExectOS ASCII logo 2022-11-01 19:54:08 +01:00
24fac8208b Update OVMF variables 2022-11-01 19:51:14 +01:00
72ec6819a6 Fixes and optimizations in PE/COFF structures 2022-11-01 19:11:12 +01:00
2d5986b514 Add universal (both 32bit and 64bit) PECOFF_IMAGE_NT_HEADERS 2022-10-31 10:08:09 +01:00
3412f97fe4 Missing FileInfo protocol GUID 2022-10-30 22:26:16 +01:00
f5e9bd11f1 Implement BlEfiMemoryAllocatePages() and BlEfiMemoryFreePages() for manipulating memory pages 2022-10-30 22:24:21 +01:00
b29162841c Get rid of BlEfiDirectorySeparator() routine and allow GetVolumeDevicePath() to store ARC name 2022-10-30 12:21:09 +01:00
c09b121178 Rework BlEfiDirectorySeparator(), now it operates on wide strings 2022-10-26 22:11:42 +02:00
30bc0c3cb7 Install kernel under boot directory 2022-10-26 20:30:39 +02:00
b1c08e4a9f Implement RtlStringLength() and RtlStringToWideString() routines 2022-10-25 23:45:12 +02:00
0ead750489 Remove useless forward reference 2022-10-25 23:21:58 +02:00
861251f41a Add routines for opening and closing volumes to the loader protocol 2022-10-25 23:17:23 +02:00
26884a436b Implement BlEfiDirectorySeparator() routine for setting correct EFI directory separator 2022-10-25 23:12:09 +02:00
727825572a Print XTLDR version 2022-10-23 22:36:12 +02:00
d6cc283519 Add missing IN/OUT indicators 2022-10-23 22:20:17 +02:00
8473150b26 Rename parameters 2022-10-23 22:18:45 +02:00
5869aa985a Quick code refactor for further modules development 2022-10-20 18:19:34 +02:00