2019-02-06 15:34:39 +01:00
|
|
|
#=----------------------------------------------------------------------------=#
|
|
|
|
# GNU GPL OS/K #
|
|
|
|
# #
|
|
|
|
# Desc: Folder description - "boot" #
|
|
|
|
# #
|
|
|
|
# #
|
|
|
|
# Copyright © 2018-2019 The OS/K Team #
|
|
|
|
# #
|
|
|
|
# This file is part of OS/K. #
|
|
|
|
# #
|
|
|
|
# OS/K is free software: you can redistribute it and/or modify #
|
|
|
|
# it under the terms of the GNU General Public License as published by #
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or #
|
|
|
|
# any later version. #
|
|
|
|
# #
|
|
|
|
# OS/K is distributed in the hope that it will be useful, #
|
|
|
|
# but WITHOUT ANY WARRANTY# without even the implied warranty of #
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
|
|
|
# GNU General Public License for more details. #
|
|
|
|
# #
|
|
|
|
# You should have received a copy of the GNU General Public License #
|
|
|
|
# along with OS/K. If not, see <https://www.gnu.org/licenses/>. #
|
|
|
|
#=----------------------------------------------------------------------------=#
|
2018-12-20 18:03:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
This folder contains the source for OS/K's bootloader.
|
|
|
|
OS/K being intended to only run on x86-64 systems, we have not divided
|
|
|
|
this folder into one sub-folder per architecture.
|
|
|
|
|
|
|
|
It is divided in two parts each of exactly 512 bytes:
|
|
|
|
- mbr.s (and its auxiliary file mbr.inc)
|
|
|
|
This is our Master Boot Record (MBR). It switches to long mode
|
|
|
|
(64 bits mode) then loads the second half of the bootloader.
|
|
|
|
The MBR must be placed precisely on the first sector of the hard drive.
|
|
|
|
|
|
|
|
- loader.s
|
2019-02-06 15:34:39 +01:00
|
|
|
This is the Kernel Loader. It switches to long mode and makes stuff.
|
2018-12-20 18:03:39 +01:00
|
|
|
|