Page 1 of 1

SuspendAllInterrupts/SuspendOSInterrupts

Posted: Thu Jan 05, 2017 12:54 pm
by szalokicsiga
Hi!

Is it possible that EE_oo_SuspendAllInterrupts and EE_oo_SuspendOSInterrupts are the same? Because as I see, the source code is the same (except the ORTI part, but I think that's not relevant).
In both function EE_hal_suspendIRQ() is called and it disables all interrupts, right?

Thank you!

Re: SuspendAllInterrupts/SuspendOSInterrupts

Posted: Thu Jan 05, 2017 1:00 pm
by paolo.gai
The fact they have the same implementation is somehow compliant with the specifications.
If I'm correct, some architectures supports it, some other not. On which architecture are you working on?
For some customers in the past we implemented the fact that the *OS* functions suspends up to the ISR2 (so not all interrupts).

Ciao, and Happy New Year!

PJ

Re: SuspendAllInterrupts/SuspendOSInterrupts

Posted: Thu Jan 05, 2017 1:07 pm
by szalokicsiga
Thank you for the fast reply!
I'm working on TriCore architecture.