[U-Boot] [PATCH 1/4] API: Use stack pointer as API signature search hint in the glue layer.

Wolfgang Denk wd at denx.de
Wed Feb 18 00:40:53 CET 2009


Dear Rafal Jaworowski,

In message <12327136383163-git-send-email-raj at semihalf.com> you wrote:
> De-hardcode range in RAM we search for the API signature. Instead use the stack
> pointer as a hint to narrow down the range in which the signature could reside
> (it is malloc'ed on the U-Boot heap, and is hoped to remain in some proximity
> from stack area). Adjust PowerPC code in API demo to the new scheme.
> 
> Signed-off-by: Rafal Czubak <rcz at semihalf.com>
> Signed-off-by: Rafal Jaworowski <raj at semihalf.com>
> ---
>  api_examples/crt0.S |   14 ++++++++++----
>  api_examples/glue.c |   11 +++++++++--
>  api_examples/glue.h |    8 ++++----
>  3 files changed, 23 insertions(+), 10 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If the facts don't fit the theory, change the facts.
                                                   -- Albert Einstein


More information about the U-Boot mailing list