Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Real-Time Software Components (RTSC) » Ordering Module_startup(Ordering Module_startup)
Ordering Module_startup [message #536633] Sat, 29 May 2010 04:32 Go to next message
Badri is currently offline Badri
Messages: 17
Registered: July 2009
Junior Member
Champs,
I have my own module that does some MMU programming at Module_startup.
This Module_startup needs to be executed before Module_startup of ti.sysbios.heaps.HeapMem but I cant change the code of HeapMem_module startup.
Is there a way to ensure my module startup happens before sysbios HeapMem module startup by making changes only in my Module startup code or the application cfg file without making changes to HeapMem module code.
Regards
Badri

Re: Ordering Module_startup [message #537229 is a reply to message #536633] Tue, 01 June 2010 15:39 Go to previous message
Dave Russo is currently offline Dave Russo
Messages: 172
Registered: July 2009
Senior Member
On 5/28/2010 9:32 PM, Badri wrote:
> Champs,
> I have my own module that does some MMU programming at Module_startup.
> This Module_startup needs to be executed before Module_startup of
> ti.sysbios.heaps.HeapMem but I cant change the code of HeapMem_module
> startup. Is there a way to ensure my module startup happens before
> sysbios HeapMem module startup by making changes only in my Module
> startup code or the application cfg file without making changes to
> HeapMem module code.
Yes. The Startup module has a list of functions, firstFxns, that are
run _prior_ to running any module init functions.

The startup process is described here:
http://rtsc.eclipse.org/docs-tip/Using_xdc.runtime_Startup

In addition, we've recently added an xdc.runtime.Reset module that
allows modules to add a function that is called before the Cruntime is
initialized; this can be important for some peripheral initialization
such as watchdog timers, CPU clock setup, and some memory/cache
initialization. See
http://rtsc.eclipse.org/cdoc-tip/index.html#xdc/runtime/Rese t.html
Previous Topic:Invalid macro definition error
Next Topic:Release notification for XDCtools 3.20
Goto Forum:
  


Current Time: Thu Oct 23 15:21:34 GMT 2014

Powered by FUDForum. Page generated in 0.01696 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software