What is purgatory?
wilbur
wilbur512 at gmail.com
Thu Oct 8 06:28:18 EDT 2009
mips32 , kexec
mips-setup-simpile.S:
In purgatory code, kexec setuped boot_note structure for kernel to reboot.It accomplished
this by copying the "kexec" string address to the end of boot_note struct , followed by the commandline
pointer stored behind, and passed in the address of command_line to second kernel by setting
the value of a1 register to the address of "kexec" string.
What puzzled me is that,in purgatory code,
why "lw t2,12(t4)" could put t2 with the value of size of boot_notes?
As I know , t4 is the entry address of kernel , why this code above could get the size of
boot_notes? how?
Does this mean every kernel of elf format has a head structure of boot_note?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20091008/dff13282/attachment.htm>
More information about the kexec
mailing list