DSPRelated.com
Forums

How can I pass a pointer as an argument for a SWI defined in DSP/BIOS (for6701)

Started by Unknown June 7, 2004
Hello to everyone. I have a problem with the arguments that a
software interrupt object (SWI) defined in DSP/BIOS has to use. I want
to pass the function that is executed when I post that SWI oone
argument which consists in a pointer defined in a header file. How can
I do this? when i try to fill the field argument in the object SWI
with the name of my pointer, the compiler returns an error, so I can't
compile the file. I've seen that a PIP object is not problematic as an
argument for a SWI (in the audio example). Should I use a PIPE filled
with the data of my pointer (which is used as a buffer of data from
the outside).

Thanks in advance, all of you are the best.