This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

regarding hal_interrupt_stack_call_pending_DSRs call


hi,

the comment before subject function in
packages/hal/i386/arch/current/src/vectors.S says

----------
## Note: this can only be called from code running on
a thread stack so we 
## can always just jump to the interrupt stack without
looking.
----------

I checked out the sources and it seems to me that the
hal_interrupt_stack_call_pending_DSRs is called only
via unlock_inner call. Am I right in this? Or there
are other places via which this function can be
called?

Can I also infer from the comment mentioned in file,
that there can never be a situation that results in
nested calls for this function (A-> hal...DSRs -> ....
-> XYZ -> hal...DSRs).

Otherwise jumping to interrupt stack without looking
will be catastrophic.

brij


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]