From c479273cab4cc45cfab997659f086df9472dd2ca Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 20 Feb 2020 22:10:08 +0100 Subject: [PATCH] Ready to be completed --- docs/boot/grub/grub.desc | 18 +++++++++++++++++ docs/boot/loader/loader.desc | 33 ++++++++++++++++++++++++++++++++ docs/kaleid/drivers/.placeholder | 0 docs/kaleid/kernel/.placeholder | 0 docs/kaleid/libbuf/.placeholder | 0 docs/kaleid/libc/.placeholder | 0 6 files changed, 51 insertions(+) create mode 100644 docs/boot/grub/grub.desc create mode 100644 docs/boot/loader/loader.desc create mode 100644 docs/kaleid/drivers/.placeholder create mode 100644 docs/kaleid/kernel/.placeholder create mode 100644 docs/kaleid/libbuf/.placeholder create mode 100644 docs/kaleid/libc/.placeholder diff --git a/docs/boot/grub/grub.desc b/docs/boot/grub/grub.desc new file mode 100644 index 0000000..dcced46 --- /dev/null +++ b/docs/boot/grub/grub.desc @@ -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 \ No newline at end of file diff --git a/docs/boot/loader/loader.desc b/docs/boot/loader/loader.desc new file mode 100644 index 0000000..7e80d64 --- /dev/null +++ b/docs/boot/loader/loader.desc @@ -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. \ No newline at end of file diff --git a/docs/kaleid/drivers/.placeholder b/docs/kaleid/drivers/.placeholder new file mode 100644 index 0000000..e69de29 diff --git a/docs/kaleid/kernel/.placeholder b/docs/kaleid/kernel/.placeholder new file mode 100644 index 0000000..e69de29 diff --git a/docs/kaleid/libbuf/.placeholder b/docs/kaleid/libbuf/.placeholder new file mode 100644 index 0000000..e69de29 diff --git a/docs/kaleid/libc/.placeholder b/docs/kaleid/libc/.placeholder new file mode 100644 index 0000000..e69de29