Thread (2 messages) flat view 2 messages, 2 authors, 2011-07-13

Re: [PATCH] [v3] kexec-tools: ppc32: Fixup ThreadPointer for purgatory code

From: Simon Horman <horms@verge.net.au>
Date: 2011-07-13 02:41:27
Also in: kexec

On Tue, Jul 12, 2011 at 03:20:40PM +0530, Suzuki K. Poulose wrote:
PPC32 ELF ABI expects r2 to be loaded with Thread Pointer, which is 0x7000
bytes past the end of TCB. Though the purgatory is single threaded, it uses
TCB scratch space in vsnprintf(). This patch allocates a 1024byte TCB
and populates the TP with the address accordingly.

Changes from V2: Avoid address overflow in TP allocation.
Changes from V1: Fixed the addr calculation for uImage support.


Signed-off-by: Suzuki K. Poulose <redacted>
Cc: Ryan S. Arnold <redacted>
Thanks, applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help