Ready to be completed

This commit is contained in:
Adrien Bourmault 2020-02-20 22:10:08 +01:00
parent 209a778837
commit c479273cab
No known key found for this signature in database
GPG Key ID: AFEE5788AEE3F4EC
6 changed files with 51 additions and 0 deletions

18
docs/boot/grub/grub.desc Normal file
View File

@ -0,0 +1,18 @@
#=----------------------------------------------------------------------------=#
# GNU GPL OS/K Documentation #
# #
# Desc: GRUB configuration #
# #
# #
# Copyright © 2018-2020 The OS/K Team #
# #
# Permission is granted to copy, distribute and/or modify this #
# document under the terms of the GNU Free Documentation License, #
# Version 1.3 or any later version published by the Free Software #
# Foundation; with no Invariant Sections, no Front-Cover Texts, and #
# no Back-Cover Texts. A copy of the license is included in the #
# file entitled "COPYING.GFDL" #
#=-----------------------------------------------------------------------------#
WIP

View File

@ -0,0 +1,33 @@
#=----------------------------------------------------------------------------=#
# GNU GPL OS/K Documentation #
# #
# Desc: OS/K Loader #
# #
# #
# Copyright © 2018-2020 The OS/K Team #
# #
# Permission is granted to copy, distribute and/or modify this #
# document under the terms of the GNU Free Documentation License, #
# Version 1.3 or any later version published by the Free Software #
# Foundation; with no Invariant Sections, no Front-Cover Texts, and #
# no Back-Cover Texts. A copy of the license is included in the #
# file entitled "COPYING.GFDL" #
#=-----------------------------------------------------------------------------#
This folder contains the source for OS/K's early loader.
OS/K being intended to only run on x86-64 systems, we have not divided
this folder into one sub-folder per architecture.
The bootloader itself is external to the OS/K project. We are using GRUB 2
to load our kernel loader in memory.
The kernel loader, that we call the loader, is the main subject of this
folder. This loader is linked whith the kernel and loaded by Grub at the
specified address and prepare it for the hard work it have to do :
- Check the multiboot state.
- Check if CPUID and long mode is supported.
- Send a structure for it with memory map, cpu infos, and other devices
infos, prepared by GRUB.
- Switch into long mode.
- Jump to Kaleid kernel.

View File

View File

View File

View File