This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSP/BIOS to SYS/BIOS conversion

Hello,

What are the equivalent macros in bios6 for "SYS_OK", "SYS_EALLOC", "SYS_EFREE",..... (defined in sys.h)?

Also what is the equivalent of HOOK_id in bios6?

I have read the dsp/bios to sys/bios migration guide.  But could not find the solution to the above questions.  Is there any other document which covers the topic in greater depth?

Thanks.

Regards,

Divya

  • Divya,

    There are no "global" error codes defined in SYS/BIOS 6.x, so there is not an equivalent for the SYS_E* defines in sys.h. Each module defines its own errors.

    The way hook functions are handled has been changed so that a Hook_Id is no longer needed. There are a variety of hook points during the startup sequence (see Section 3.1 of SYS/BIOS User's Guide) and there are hook points for Task, Swi, and Hwi modules (See Table 3.1 in the user's guide).

    If there is a specific kind of behavior/functionality that you are trying to port, perhaps you could give an example and I could give more specific advice.

    Mark

     

  • Thanks Mark.  I have just started porting my code and will let you know if there are any issues.

    Regards,

    Divya