Commit Graph

11 Commits

Author SHA1 Message Date
8a54815712 Add all of the functionality to allow the kernel to boot itself.
This is a trimmed down version of Syncboot integrated into the kernel.
The plan is, eventually, to allow the kernel to be booted by Syncboot, but that'll take a lot of research into QEMU.
This was just quicker to do.

This isn't tested, as I still need to figure out how to compile the EFI entry point separately.
They can be linked together, however. That's why the kernel is designed around a PE32+ format.
2019-09-11 23:44:11 +01:00
c22bd248e3 Serial reformat, minor bug fixes 2019-09-11 03:58:20 +01:00
6238fbf8fe Added serial functions to the kernel header, making them global.
Also moved the definition of IRQ_Functions out of the header, as this is changed.
2019-08-20 16:42:24 +01:00
f0ca9de14b Added the current timer tick as a global variable. 2019-08-19 22:58:45 +01:00
f92114539c It's interrupt time, baby.
This should bring the kernel to a working state.
Don't forget that the interrupts.c file absolutely must be compiled with -mgeneral-regs-only.
All the other files absolutely must be compiled with -mavx2.

:)
2019-07-24 19:47:44 +01:00
debd7ef91a Slight kernel.h cleanup. 2019-07-24 15:54:32 +01:00
f524eee6ff More minor changes.
Header and graphics had some one-liners.
2019-07-24 01:37:39 +01:00
15293681ea Add AVX memory prototypes, rename ResetDefaultScreen features to something more sensible. 2019-07-23 23:00:13 +01:00
c795a936ae Fix some oversights in the header. 2019-07-23 19:27:47 +01:00
2bfe904014 Add main kernel header.
Defines all of the structs, functions and variables for the new kernel.

Currently has some issues with GCC.
2019-07-22 22:33:07 +01:00
4edd4b7cc8 Major refactor. Major improvements.
All ISR/IRQ stuff moved into its own header and source.

Comments added on all major parts.

Some optimisations in important functions.

All ASM removed for ISR and IRQ, instead using new GCC directives.
2019-06-27 19:57:54 +01:00