[U-Boot-Users] get_dcr and set_dcr in loadable apps

Hello
I am trying to use get_dcr and set_dcr in my examples/app.c code. I added g/set_dcr to exports.h and _exports.h. but I get a lock up when I call them. Any idea how to access these functions from loadable apps?
JD

I am trying to use get_dcr and set_dcr in my examples/app.c code. I added g/set_dcr to exports.h and _exports.h. but I get a lock up when I call them. Any idea how to access these functions from loadable apps?
You also need to add to-be-exported functions to the jump table in exports.c
-Shawn.

Hello Shawn,
Thank you. That did the trick.
JD
On 11/23/05, Shawn Jin shawnxjin@gmail.com wrote:
I am trying to use get_dcr and set_dcr in my examples/app.c code. I added g/set_dcr to exports.h and _exports.h. but I get a lock up when I call them. Any idea how to access these functions from loadable apps?
You also need to add to-be-exported functions to the jump table in exports.c
-Shawn.
participants (2)
-
John Davis
-
Shawn Jin