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???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070728/5cccd5dc/attachment.htm
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: [email protected] [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>