Commit Graph

86 Commits

Author SHA1 Message Date
b22a76e3c4
Add XT native kernel subsystem to the PE/COFF image support 2023-01-06 16:16:26 +01:00
c91708034b
Correct comments 2023-01-02 18:06:54 +01:00
dec021b1ec
Reorganize early debug printing; initialize kernel stacks when needed 2022-12-28 23:11:35 +01:00
6d77ff42c5
Loop over halt; add missing calling convention 2022-12-27 20:12:59 +01:00
8f3a4aef60
Code formatting 2022-12-23 22:27:08 +01:00
7496c7203d
Add missing routines documentation 2022-12-22 23:29:16 +01:00
4d68b93ed3
Small code formatting and refactoring 2022-12-22 23:19:23 +01:00
8b02fb6c3f
Mostly update comments in PE/COFF module 2022-12-21 23:02:37 +01:00
dc2570ca8e
Serial port should be working all the time, so announce that now booting the kernel 2022-12-21 20:52:53 +01:00
cf828a6896
Fill in kernel initialization block 2022-12-21 20:04:20 +01:00
7c38efc802
Update boot sequence and check PE/COFF image machine type compatibility 2022-12-20 19:11:15 +01:00
eb5998c58e
Add a way to check PE/COFF image machine type 2022-12-20 15:37:13 +01:00
6871291c9a
Basic steps in XTOS boot protocol 2022-12-14 22:17:17 +01:00
6b2f34f287
Store physical address as well in the image context 2022-12-04 22:46:33 +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
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
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
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
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
5869aa985a
Quick code refactor for further modules development 2022-10-20 18:19:34 +02:00
37a37c225f
Small code refactoring 2022-10-20 15:58:50 +02:00
6c576f95c4
Rename module entry point 2022-10-19 14:55:31 +02:00
f8a120a24c
Allow BlGetXtLoaderProtocol() routine to store loader protocol in a specified variable 2022-10-18 15:44:21 +02:00
3894d4fd75
Move blproto.c and add missing header file 2022-10-12 23:14:33 +02:00
3fa2ec90aa
Refactor code and fix loader protocol support 2022-10-12 23:09:19 +02:00
109c24f389
Initial support for xtldr modules and bootloader protocol 2022-09-17 00:14:09 +02:00