[U-Boot-Users] what's the function jumptable_init() doing?

Jeff Mann MannJ at embeddedplanet.com
Mon Jul 30 16:43:46 CEST 2007


The jumptable contains pointers to certain functions. See README.standlone for more information.

All of these "XF_[function]" definitions are defined in exports.h:
enum {
#define EXPORT_FUNC(x) XF_ ## x ,
#include <_exports.h>
#undef EXPORT_FUNC

	XF_MAX
};

NEVER POST HTML HERE!!!

-Jeffrey Mann

________________________________

From: u-boot-users-bounces at lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of ? ?
Sent: Saturday, July 28, 2007 4:53 AM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] what's the function jumptable_init() doing?


hi,all:
   
     In the dir lib_arm\Board.c,I don't know  the function of jumptable_init() function?who can help me,thanks!
 
    in the func jumptable_init(void),
 
 gd->jt[XF_get_version] = (void *) get_version;
 gd->jt[XF_malloc] = (void *) malloc;
 gd->jt[XF_free] = (void *) free;
 gd->jt[XF_get_timer] = (void *)get_timer;
 gd->jt[XF_udelay] = (void *)udelay;
 
 I can't find where's   XF_get_version,XF_malloc defined?

________________________________

抢注雅虎免费邮箱3.5G容量,20M附件! <http://cn.mail.yahoo.com>  




More information about the U-Boot mailing list