Skip to content

Commit 75b6f43

Browse files
author
Ian Seyler
committed
Update documentation
1 parent 7f336c6 commit 75b6f43

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/Boot Process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Pure64 uses two different first stage loaders depending on the firmware of the s
55
* BIOS loads the first 512-byte sector from the boot disk to `0x7C00`
66
* The boot code pulls some data about the system (memory map), sets the video mode, and loads the second stage loader to `0x8000`.
77
* The boot code transitions from 16-bit real mode to 32-bit protected mode and then jumps to the second stage.
8-
* The second stage immediately transitions from 32-bit protected mode to a minimal 64-bit long mode. It then follows unified boot path.
8+
* The second stage immediately transitions from 32-bit protected mode to a minimal 64-bit long mode. It then follows the unified boot path.
99

1010
## UEFI boot (`uefi.asm`):
1111
* UEFI loads `\EFI\BOOT\BOOTX64.EFI` from the FAT32 partition of the boot disk.
1212
* The boot code sets the video mode, copies the second stage loader to `0x8000`, gets the system memory map, and then jumps to the second stage loader.
1313
* The second stage then follows the unified boot process as the system is already in 64-bit mode.
1414

1515
## Unified boot with the second stage (`pure64.asm`):
16-
* Once it 64-bit mode it configures the PIC, PIT, serial port, sets up the proper 64-bit environment.
16+
* Once in 64-bit mode it configures the PIC, PIT, serial port, sets up the proper 64-bit environment.
1717
* Patches the second stage loader so that the AP's can start at `0x8000` as well.
1818
* The software processes the system memory map and creates a list of memory that is usable.
1919
* All available memory above 4MiB is mapped to `0xFFFF800000000000`

docs/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ All Pure64 binaries are in the `bin` directory.
122122

123123
### BIOS
124124

125-
After creating a kernel this is a possible routine to create a bootable image.
126-
The commands require Pure64 to be build and `pure64.sys` and `mbr.sys` to be in the same directory
127-
as your kernel with the name `kernel.bin`
125+
For BIOS systems you'll need `pure64-bios.sys` and `mbr.sys` to be in the same directory as your kernel with the name `kernel.bin`
128126

129127
```
130128
dd if=/dev/zero of=disk.img count=128 bs=1048576

0 commit comments

Comments
 (0)