2018-12-28 21:20:59 +01:00
|
|
|
---------------------------------------------------------------------
|
|
|
|
GNU GPL OS/K
|
|
|
|
|
|
|
|
Authors: spectral`
|
|
|
|
NeoX
|
|
|
|
|
|
|
|
Desc: Folder description - "boot"
|
|
|
|
---------------------------------------------------------------------
|
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
|
|
|
|
This is the Kernel Loader. XXX
|
|
|
|
|