Interrupt gate in x86
gedare at rtems.org
Sun Jul 1 17:58:46 UTC 2012
I can't say specifically for i386. But in general nested interrupts
are handled when possible by either using a hw-managed interrupt stack
when available or a separate distinct software stack for interrupt
handlers. Stack management is then dealt with during ISR_Handler code
which (in simple-vectored) just gets vectored to directly with a
number to indicate the interrupt source. PIC targets may be a bit
different and I'm not familiar with them.
You should see where the isr handler gets invoked from the i386
interrupt handler code to see if the nested interrupt is re-enabled
before executing the user handler in order to answer your question.
On Sun, Jul 1, 2012 at 7:26 AM, Fered <a_Fered at yahoo.com> wrote:
> Nobody can help me?!
> Fered wrote:
>> In the following file:
>> in the following function:
>> create_interrupt_gate_descriptor ()
>> interrupt descriptor type, set to 0xe. It mean "Interrupt Gate" has been
>> used. Interrupt gate clears IF flag then prevents nested interrupts. But I
>> think nested interrupt handling implemented in RTEMS, according to usage of
>> "_ISR_Nest_level" variable.
>> Can anyone tell me how nesting implemented in interrupt handler of RTEMS?
>> rtems-devel mailing list
>> rtems-devel at rtems.org
> rtems-devel mailing list
> rtems-devel at rtems.org
More information about the devel