summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Kohlbecher <xt28@gmx.de>2008-12-14 18:50:01 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-16 22:05:09 +0100
commite1286f2c686f5976e0424bb6195ece25e7a17607 (patch)
treec1fba5f0ba3dbd73ab09164082c4aae0304aebfe
parent78f902ccc597d6ce3e8d1477d70f2d79e960ba7a (diff)
downloadop-kernel-dev-e1286f2c686f5976e0424bb6195ece25e7a17607.zip
op-kernel-dev-e1286f2c686f5976e0424bb6195ece25e7a17607.tar.gz
x86: documentation fix regarding boot protocol
Impact: clarify documentation Documentation/x86/boot.txt describes payload_offset as the offset from the end of the real-mode code. In fact, it is more accurately described as the offset from the beginning of the protected-mode code, as (a) this is how it is actually calculated and (b) the padding after the real-mode code is not included in the offset. Signed-off-by: Philipp Kohlbecher <xt28@gmx.de> Acked-by: Ian Campbell <ijc@hellion.org.uk> Acked-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--Documentation/x86/boot.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt
index 804d9b1..fcdc62b 100644
--- a/Documentation/x86/boot.txt
+++ b/Documentation/x86/boot.txt
@@ -537,8 +537,8 @@ Type: read
Offset/size: 0x248/4
Protocol: 2.08+
- If non-zero then this field contains the offset from the end of the
- real-mode code to the payload.
+ If non-zero then this field contains the offset from the beginning
+ of the protected-mode code to the payload.
The payload may be compressed. The format of both the compressed and
uncompressed data should be determined using the standard magic
OpenPOWER on IntegriCloud