Commit Graph
286 Commits
Author SHA1 Message Date
belliash 6f5e7f63f3 Include xtver.h to access version related definitions
Builds / ExectOS (amd64) (push) Successful in 28s
Builds / ExectOS (i686) (push) Successful in 25s
2023-10-27 15:43:37 +02:00
belliash ebb740b0e7 Add more readmes to describe XTOS components and source code tree directories
ci/woodpecker/push/build Pipeline was successful
2023-05-18 21:24:33 +02:00
belliash 89718213b8 Remove no longer needed dummy module
ci/woodpecker/push/build Pipeline was successful
2023-05-17 15:13:10 +02:00
belliash 9c083dc050 Map zero page, like e820 does
ci/woodpecker/push/build Pipeline was successful
2023-02-23 00:44:21 +01:00
belliash e2c7d0f919 Zero fill memory map before fetching it once again
ci/woodpecker/push/build Pipeline was successful
2023-02-23 00:39:13 +01:00
belliash aace0f39c4 Allow stripped PE/COFF images to be loaded, just warn about it
ci/woodpecker/push/build Pipeline was successful
2023-02-22 15:20:00 +01:00
belliash 707c92e08a Boot loader no longer needs to do anything related to the stack
ci/woodpecker/push/build Pipeline was successful
2023-02-05 10:03:21 +01:00
belliash 2bf15a5bb8 Fix pointer offset in PE relocation code
ci/woodpecker/push/build Pipeline was successful
2023-01-29 20:38:05 +01:00
belliash ddffd0c582 Temporary kernel stack is no longer used
ci/woodpecker/push/build Pipeline was successful
2023-01-29 11:08:51 +01:00
belliash df11473eac Cleanup xtldr code as it no longer need to initialize CPU structures
ci/woodpecker/push/build Pipeline was successful
2023-01-29 10:59:22 +01:00
belliash 79a5027bca Cleanup AMD64 part of CPU initialization, as it has been moved to the kernel
ci/woodpecker/push/build Pipeline was successful
2023-01-29 01:01:36 +01:00
belliash 27e2fdf4f2 Introduce architecture library as new kernel subsystem and move selected routines into new subsystem
ci/woodpecker/push/build Pipeline was successful
2023-01-28 10:34:55 +01:00
belliash bf141fe25e Basic IDT setup in the bootloader
ci/woodpecker/push/build Pipeline was successful
2023-01-26 20:14:27 +01:00
belliash 3b08bcaa4f Setup processor context (GDT, PCR, TSS) and kernel startup stack before booting XTOS
ci/woodpecker/push/build Pipeline was successful
2023-01-25 18:39:07 +01:00
belliash c4d53f12f2 Allocate memory for kernel startup stack
ci/woodpecker/push/build Pipeline was successful
2023-01-25 16:47:27 +01:00
belliash b3bf613e1b Make sure paging has been successfully enabled
ci/woodpecker/push/build Pipeline was successful
2023-01-25 16:39:15 +01:00
belliash 145fc17271 Pass framebuffer pitch information to the kernel
ci/woodpecker/push/build Pipeline was successful
2023-01-18 20:15:41 +01:00
belliash bb56641e4b Do not call SetVirtualAddressMap() as this might break boot process and runtime services are mapped anyway
ci/woodpecker/push/build Pipeline was successful
2023-01-16 21:58:30 +01:00
belliash b8df45ab6a Map framebuffer and fill information about it into kernel parameters
ci/woodpecker/push/build Pipeline was successful
2023-01-16 18:49:54 +01:00
belliash 605597262c Initial version of EFI framebuffer module, currently support only GOP
ci/woodpecker/push/build Pipeline was successful
2023-01-16 18:41:25 +01:00
belliash 289316b43b Print hexadecimal values in uppercase
ci/woodpecker/push/build Pipeline was successful
2023-01-16 15:55:38 +01:00
belliash 87d8300c6a Remove no longer needed EfiLoaderStack global variable
ci/woodpecker/push/build Pipeline was successful
2023-01-15 18:54:31 +01:00
belliash 9a52be5ab9 Print a reason why module failed to load
ci/woodpecker/push/build Pipeline was successful
2023-01-15 18:53:09 +01:00
belliash 0c3e18fd86 Once BlGetMemoryMap() is called, it cannot allocate or free memory, otherwise key gets invalidated
ci/woodpecker/push/build Pipeline was successful
2023-01-15 18:50:12 +01:00
belliash 0461d975e0 Check ExitBootServices() status code
ci/woodpecker/push/build Pipeline was successful
2023-01-15 16:52:02 +01:00
belliash bff460a879 Print COM port address properly
ci/woodpecker/push/build Pipeline was successful
2023-01-11 23:29:27 +01:00
belliash 7496fa324e Map EfiLoaderData as some UEFI implementations might need this before kernel take over control
ci/woodpecker/push/build Pipeline was successful
2023-01-11 23:26:54 +01:00
belliash 42c3d4eff7 Fix NULL pointer
ci/woodpecker/push/build Pipeline was successful
2023-01-11 23:16:44 +01:00
belliash 350df87bcc Do not start services as this only slows down boot process significantly
ci/woodpecker/push/build Pipeline was successful
2023-01-10 22:55:40 +01:00
belliash b22a76e3c4 Add XT native kernel subsystem to the PE/COFF image support
ci/woodpecker/push/build Pipeline was successful
2023-01-06 16:16:26 +01:00
belliash b7e5f1b5c1 Use CR constants instead of hardcoded values
ci/woodpecker/push/build Pipeline was successful
2023-01-04 16:33:28 +01:00
belliash f19afbddb7 Do not create new bootloader stack as it is not needed any longer and kernel will use its own stack
ci/woodpecker/push/build Pipeline was successful
2023-01-03 23:04:11 +01:00
belliash bb95223501 Implement BlActivateSerialControllerIO() routine for activating I/O space access on PCI(E) serial controllers
ci/woodpecker/push/build Pipeline was successful
2023-01-03 00:10:24 +01:00
belliash c91708034b Correct comments
ci/woodpecker/push/build Pipeline was successful
2023-01-02 18:06:54 +01:00
belliash c5a7d0fe05 Improvements in COM port support
ci/woodpecker/push/build Pipeline was successful
2023-01-02 16:14:00 +01:00
belliash b6b25ed04d Initialize serial port only debugging enabled
ci/woodpecker/push/build Pipeline was successful
2023-01-01 19:20:34 +01:00
belliash 94e9fa1293 Allow to provide custom COM port address
ci/woodpecker/push/build Pipeline was successful
2022-12-29 23:44:52 +01:00
belliash 7f21e4f19c Dump EFI memory mappings
ci/woodpecker/push/build Pipeline was successful
2022-12-29 17:09:44 +01:00
belliash 6a27ea140b Print xtldr debug messages only when debugging enabled
ci/woodpecker/push/build Pipeline was successful
2022-12-28 23:30:03 +01:00
belliash dec021b1ec Reorganize early debug printing; initialize kernel stacks when needed
ci/woodpecker/push/build Pipeline was successful
2022-12-28 23:11:35 +01:00
belliash 9dc0e60f28 We support EFI-enabled systems only and such machines should support PAE, so there is no need for XTLDR to support non-PAE x86 hardware
ci/woodpecker/push/build Pipeline was successful
2022-12-28 15:57:03 +01:00
belliash 5c5f0a6df9 Add missing routine documentation
ci/woodpecker/push/build Pipeline was successful
2022-12-27 22:13:48 +01:00
belliash 6d77ff42c5 Loop over halt; add missing calling convention
ci/woodpecker/push/build Pipeline was successful
2022-12-27 20:12:59 +01:00
belliash 5b75d005a7 Implement HlClearInterruptFlag() and HlSetInterruptFlag() intrinsic routines
ci/woodpecker/push/build Pipeline was successful
2022-12-27 18:54:01 +01:00
belliash 8f3a4aef60 Code formatting
ci/woodpecker/push/build Pipeline was successful
2022-12-23 22:27:08 +01:00
belliash db1b47e50e Initialize CpuRegisters variable to silence a warning
ci/woodpecker/push/build Pipeline was successful
2022-12-23 14:43:36 +01:00
belliash 3ab1695968 Common routines for reading from and writing to CPU control registers
ci/woodpecker/push/build Pipeline was successful
2022-12-23 14:30:52 +01:00
belliash 7496c7203d Add missing routines documentation
ci/woodpecker/push/build Pipeline was successful
2022-12-22 23:29:16 +01:00
belliash 4d68b93ed3 Small code formatting and refactoring
ci/woodpecker/push/build Pipeline was successful
2022-12-22 23:19:23 +01:00
belliash 8b02fb6c3f Mostly update comments in PE/COFF module
ci/woodpecker/push/build Pipeline was successful
2022-12-21 23:02:37 +01:00