From: Wolfgang Denk Date: Mon, 04 Aug 2008 14:50:20 +0200 Subject: [U-Boot-Users] [PATCH] API: Optimize signature searching scheme in the glue layer. In-Reply-To: Your message of "Mon, 04 Aug 2008 14:45:20 +0200." <12178539203180-git-send-email-raj@semihalf.com> Message-ID: <20080804125020.894F624848@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <12178539203180-git-send-email-raj@semihalf.com> you wrote: > De-hard code the range in RAM we search for API signature, which might not be > uniform accross architectures and board configurations. Instead use current > global_data pointer as a hint to narrow down the range the [malloc'ed] signature > could reside. Which is the exact rationale of this? Note that the GD pointer can point basicly anywhere - some part of dual ported RAM, SRAM, OCM, ... 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 Man is the best computer we can put aboard a spacecraft ... and the only one that can be mass produced with unskilled labor. -- Wernher von Braun