Commit Graph

157 Commits

Author SHA1 Message Date
170b11f7a2 Change OS boot identifier, to be able to load both 'dummy' and 'xtos' modules at the same time 2024-04-29 12:31:18 +02:00
7193e698f1 Store page map level 2024-04-07 17:49:24 +02:00
388ac1a8c2 Properly, recursively self map page tables on i686 architecture 2024-04-07 17:11:14 +02:00
0af3a01acf Pass compatible pointer type to fix compiler warning 2024-04-07 10:50:21 +02:00
1305672875 Properly, recursively self map page tables; currently only for AMD64 and PML4 2024-04-05 00:26:41 +02:00
56d50ea2e8 Implement EDID support for getting the preferred screen resolution 2024-03-21 15:40:09 +01:00
eb75a27ac2 Use common handle and properly close GOP protocol on failures 2024-03-21 06:59:05 +01:00
713f826387 XTOS boot protocol should use builtin mapping function 2024-03-17 23:10:50 +01:00
41ebabcb09 Provide only necessary framebuffer information to the kernel 2024-03-15 16:46:53 +01:00
945b323606 Initialize framebuffer earlier and reset video screen mode to circumvent buggy firmwares 2024-03-15 15:46:45 +01:00
848731c9e6 Introduce ability to change screen resolution 2024-03-15 15:12:12 +01:00
662b49d96e Remove unneeded infinite loop 2024-03-13 16:34:47 +01:00
e6736087ba Corrections in printing debug messages 2024-03-13 15:55:03 +01:00
a4c22ab5e8 Improvements to FrameBuffer support 2024-03-09 15:07:33 +01:00
7c210e8818 Improvements and fixes in framebuffer module 2024-03-07 16:19:05 +01:00
d61fd4f9c7 Fix grim bug in PE/COFF image structures causing invalid data read from optional header 2024-03-02 00:56:38 +01:00
a57ae020fa Implement PeGetFileSize(), PeGetImageSize() and PeUnloadImage() routines 2024-03-01 23:12:12 +01:00
17c50ea912 Redesign a way of storing module information; this allows to store more data in a single section, like license or a list of authors, as well as solves the problem with different module name lengths 2024-02-28 23:28:33 +01:00
a70df7cbf8 Properly print status codes 2024-02-16 23:01:29 +01:00
789e9d64f4 Properly print PA & VA addresses 2024-02-16 22:40:36 +01:00
98acc6f3d4 Use uppercase when printing status codes 2024-02-16 22:09:38 +01:00
f25a233d12 Make a use of ACPI module 2024-02-02 23:36:51 +01:00
360ddd5405 Export new routines from ACPI module 2024-02-02 22:29:14 +01:00
0d4a4d3873 Link ACPI module against libxtos 2024-02-02 22:11:47 +01:00
1828acbc56 Implement AcGetSMBiosTable() and AcGetSMBios3Table() routines 2024-02-02 22:10:51 +01:00
4fa5b8f2a5 Implement AcGetApicBase() 2024-02-02 22:07:28 +01:00
082568ae10 Rename AcGetAcpiTable() to AcGetAcpiDescriptionPointer() 2024-02-02 22:04:58 +01:00
8a2e49ec60 Add initial version of ACPI module 2024-02-01 16:26:12 +01:00
f55bdb6274 Correct module description 2024-01-31 18:24:42 +01:00
48d1e7f04c Properly copy kernel parameters into the loader block 2024-01-29 19:41:52 +01:00
8f7641d91f Pass memory mapping information to the kernel 2024-01-29 19:40:05 +01:00
2e12d30aa4 Cleanup old XTOS boot protocol module 2024-01-28 15:54:01 +01:00
4f657b4574 Add missing routine descriptions 2024-01-28 15:46:26 +01:00
3c0a43d55a Rework of EFI FrameBuffer module 2024-01-28 15:03:55 +01:00
767ed21288 Correct module description 2024-01-25 22:26:02 +01:00
73bd43d16d Unify naming convention 2024-01-25 22:25:23 +01:00
7a65b37f96 Implement new module providing a basic support for PE/COFF executables 2024-01-25 22:04:30 +01:00
9421eee002 Implement chain loader module 2024-01-23 22:04:57 +01:00
f2887dba1f Rename XtLdrProtocol variable 2024-01-23 15:17:39 +01:00
6733e092ba Add missing comment 2024-01-22 20:47:49 +01:00
9fe347fd0a Correct comments 2024-01-22 20:42:29 +01:00
af400920d0 Make a use of BlBuildPageMap() 2024-01-22 15:20:22 +01:00
c24745d233 Allow to specify virtual address during EFI memory mapping only 2024-01-19 23:16:45 +01:00
88321b5f4d Pass virtual memory area address by reference 2024-01-18 23:10:47 +01:00
02f0e34b83 Allow to provide page size during initialization 2024-01-18 14:30:58 +01:00
0e4575b278 Use new paging implementation 2024-01-17 22:24:55 +01:00
489734d5c9 Implement test function to get framebuffer address by accessing graphics adapter's BARs 2024-01-12 15:18:36 +01:00
11979f758b Conform BlExitBootServices() to UEFI Specification 2024-01-10 21:59:51 +01:00
c98007a4a5 Do not link against libxtos if not needed 2024-01-10 19:55:20 +01:00
53cd4e0052 Cleanup PE/COFF related structures 2024-01-10 16:05:36 +01:00