This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
regarding hal_interrupt_stack_call_pending_DSRs call
- From: Brij Bihari Pandey <fuzzhead012 at yahoo dot com>
- To: eCos-discuss <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 14 Oct 2002 03:23:40 -0700 (PDT)
- Subject: [ECOS] 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