Commit e1286f2c authored by Philipp Kohlbecher's avatar Philipp Kohlbecher Committed by Ingo Molnar

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: default avatarPhilipp Kohlbecher <xt28@gmx.de>
Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 78f902cc
...@@ -537,8 +537,8 @@ Type: read ...@@ -537,8 +537,8 @@ Type: read
Offset/size: 0x248/4 Offset/size: 0x248/4
Protocol: 2.08+ Protocol: 2.08+
If non-zero then this field contains the offset from the end of the If non-zero then this field contains the offset from the beginning
real-mode code to the payload. of the protected-mode code to the payload.
The payload may be compressed. The format of both the compressed and The payload may be compressed. The format of both the compressed and
uncompressed data should be determined using the standard magic uncompressed data should be determined using the standard magic
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment