public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] about interrupts nesting and vector number decoding
@ 2000-10-24 20:38 yyl
  2000-10-24 21:02 ` Jonathan Larmour
  2000-10-24 23:52 ` Jesper Skov
  0 siblings, 2 replies; 3+ messages in thread
From: yyl @ 2000-10-24 20:38 UTC (permalink / raw)
  To: eCos_discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

Hi,i have tow questions need your 
help.
Q1:From document,i know that isr is 
excuted with interrupt disabled,but dsr enable interrupt,so i think the 
interrupt nesting is occured  in dsr.But from another place in the 
document,something is said as followed:
  
      The 
VSR should follow the following approximate plan:
          
........ 
          (Optional) 
Re-enable interrupts to permit nesting. 
          Decode the actual 
external interrupt being delivered from the interrupt controller. This will 
yield the ISR vector number. 
          Using the ISR 
vector number as an index, retrieve the ISR pointer and its data pointer from 
the ISR vector table.  
          Construct a C call 
stack frame. 
 
If re-enable interrupts before isr being called ,it seems that in isr 
interrupt is enabled.
Who can tell me the procedure  about the interrupt nesting?
Q2:i think the macro of  hal_intc_decode in the file variant.inc only 
decodes the vector from SIU level,i don't find the code decoding
the vector using the rigester CIVR of CPM?
     Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-10-24 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-24 20:38 [ECOS] about interrupts nesting and vector number decoding yyl
2000-10-24 21:02 ` Jonathan Larmour
2000-10-24 23:52 ` Jesper Skov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).