Skip to content

Commit

Permalink
x86: documentation fix regarding boot protocol
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Ian Campbell <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
Philipp Kohlbecher authored and Ingo Molnar committed Dec 16, 2008
1 parent 78f902c commit e1286f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/x86/boot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1286f2

Please sign in to comment.