]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
API: Use stack pointer as API signature search hint in the glue layer.
authorRafal Jaworowski <raj@semihalf.com>
Fri, 23 Jan 2009 12:27:15 +0000 (13:27 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 17 Feb 2009 23:39:34 +0000 (00:39 +0100)
commitb84d7d8f1e1066f810866304a16a3583f88e7c98
tree78ce8c7adbc218545cd2d94185c54a593767fc58
parent86b4bafdfaf669ede8fd99044abc7e27ea29b4f5
API: Use stack pointer as API signature search hint in the glue layer.

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@semihalf.com>
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
api_examples/crt0.S
api_examples/glue.c
api_examples/glue.h