SuspendAllInterrupts/SuspendOSInterrupts

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Locked
szalokicsiga

SuspendAllInterrupts/SuspendOSInterrupts

Post 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!
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: SuspendAllInterrupts/SuspendOSInterrupts

Post 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
szalokicsiga

Re: SuspendAllInterrupts/SuspendOSInterrupts

Post by szalokicsiga »

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