提交 185271a1 编写于 作者: C Chester Lin 提交者: Jonathan Corbet

riscv-docs: correct the sequence of the magic number 2 since it's little endian

Correct the sequence of the magic number 2 since it's little endian.
Signed-off-by: NChester Lin <clin@suse.com>
Reviewed-by: NPaul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 9692f2fd
......@@ -21,7 +21,7 @@ The following 64-byte header is present in decompressed Linux kernel image::
u32 res1 = 0; /* Reserved */
u64 res2 = 0; /* Reserved */
u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */
u32 magic2 = 0x56534905; /* Magic number 2, little endian, "RSC\x05" */
u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */
u32 res4; /* Reserved for PE COFF offset */
This header format is compliant with PE/COFF header and largely inspired from
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册