SuspendAllInterrupts/SuspendOSInterrupts

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
szalokicsiga
Newbie
Posts: 24
Joined: Thu Oct 13, 2016 2:49 pm

SuspendAllInterrupts/SuspendOSInterrupts

Post by szalokicsiga » Thu Jan 05, 2017 12:54 pm

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!

paolo.gai
Administrator
Posts: 864
Joined: Thu Dec 07, 2006 12:11 pm

Re: SuspendAllInterrupts/SuspendOSInterrupts

Post by paolo.gai » Thu Jan 05, 2017 1:00 pm

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

szalokicsiga
Newbie
Posts: 24
Joined: Thu Oct 13, 2016 2:49 pm

Re: SuspendAllInterrupts/SuspendOSInterrupts

Post by szalokicsiga » Thu Jan 05, 2017 1:07 pm

Thank you for the fast reply!
I'm working on TriCore architecture.

Post Reply