[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing vector number (was Re: API modification request)

Eric Valette <eric.valette at free.fr> writes:
> Sergei Organov wrote:
> > Vector itself *is* sometimes useful. I've recently wrote code for MPC8260
> > where every of SCC1...SCC4 controllers generates its own vector and it is
> > useful in this case. However, void* (or rtems_isr_arg_t) is more general
> > anyway so I'd vote for it.
> Sure. What I mean is that the vector is used to find something else like
> private data for each device in general. In that sense, the vector is not as
> usefull as a void*.


> Besides, looking at the code when I changed the irq API, nobody was actually
> using this vector...

Please keep in mind that unfortunately you don't see all the code. There could
be proprietary code that relies on features you change...