threads (tasks, software interrupts, and hardware interrupts). For example, memory allocation APIs such as Memory_alloc() and Memory_calloc() cannot be called from within the context of a software interrupt. Thus, if a particular class is instantiated by a software interrupt, its constructor must avoid performing memory allocation.
Similarly, it is important to keep in mind the time at which a class destructor is expected to run. Not only does a class destructor execute when an object is explicitly deleted, but also when a local object goes out of scope. You need to be aware of what type of thread is executing when the class destructor is called and make only those SYS/BIOS API calls that are appropriate for that thread. For further information on function callability, see the CDOC online documentation./*
* ======== clockPrd ========
* Wrapper function for PRD objects calling
* Clock::tick()
*/
void clockPrd(Clock clock)
{
clock.tick();
return;
}
SPRUEX3K—December 2011About SYS/BIOS 21Submit Documentation Feedback 9f752a73f46527d3240ce0a5
For More Information
1.6For More Information
You can read the following additional documents to learn more about SYS/BIOS, XDCtools, and Code Composer Studio:
?SYS/BIOS
—SYS/BIOS Release Notes . Located in the top-level SYS/BIOS installation directory, or choose
Help > Help Contents in CCSv5.1 and expand the SYS/BIOS item.
—SYS/BIOS Getting Started Guide . In
—SYS/BIOS API Reference (also called "CDOC"). Run
choose Help > Help Contents in CCSv5.1 and expand the SYS/BIOS item. See Section 1.6.1.
—Migrating a DSP/BIOS 5 Application to SYS/BIOS 6 (SPRAAS7). In
Bios_Legacy_App_Note.pdf, or choose Help > Help Contents in CCSv5.1 and expand the
SYS/BIOS item. Also available on the Texas Instruments website .
—SYS/BIOS main page on TI Embedded Processors Wiki contains links to many SYS/BIOS
resources.
—BIOS forum on TI’s E2E Community lets you submit your questions.
—SYS/BIOS 6.x Product Folder on 9f752a73f46527d3240ce0a5
—Embedded Software Download Page
?XDCtools
—XDCtools API Reference (also called "CDOC"). Run
choose Help > Help Contents in CCSv5.1 and expand the XDCtools item. See Section 1.6.1.
—RTSC-Pedia Wiki
—BIOS forum on TI’s E2E Community
—Embedded Software Download Page
?Code Composer Studio (CCS)
—CCS online help. Choose Help > Help Contents in CCSv5.1.
—CCSv5 on TI Embedded Processors Wiki
—Code Composer forum on TI’s E2E Community

