From 3fc36e9ac105981f13ca54f92e9a1548ff002375 Mon Sep 17 00:00:00 2001 From: Raphael O Date: Wed, 30 Nov 2022 21:19:58 +0100 Subject: [PATCH] docs/protocol: Fix wording for reserved/reclaimable Switch from bootloader-reserved to bootloader-reclaimable so that the memory regions reserved and bootloader-reclaimable are not confused. --- PROTOCOL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PROTOCOL.md b/PROTOCOL.md index 296b0b9b..bb8d3cf4 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -122,7 +122,7 @@ the value of `rip` is going to be taken from there. At entry all segment registers are loaded as 64 bit code/data segments, limits and bases are ignored since this is 64-bit mode. -The GDT register is loaded to point to a GDT, in bootloader-reserved memory, +The GDT register is loaded to point to a GDT, in bootloader-reclaimable memory, with at least the following entries, starting at offset 0: - Null descriptor @@ -149,7 +149,7 @@ Legacy PIC and IO APIC IRQs are all masked. If booted by EFI/UEFI, boot services are exited. -`rsp` is set to point to a stack, in bootloader-reserved memory, which is +`rsp` is set to point to a stack, in bootloader-reclaimable memory, which is at least 64KiB (65536 bytes) in size, or the size specified in the Stack Size Request (see below). An invalid return address of 0 is pushed to the stack before jumping to the kernel. @@ -190,7 +190,7 @@ The used translation granule size is undefined. If booted by EFI/UEFI, boot services are exited. -`SP` is set to point to a stack, in bootloader-reserved memory, which is +`SP` is set to point to a stack, in bootloader-reclaimable memory, which is at least 64KiB (65536 bytes) in size, or the size specified in the Stack Size Request (see below).