Hi Markus,
Markus Franke wrote:
> as per my knowledge the Coldfire Architecture supports nested interrupts
> by managing the "interrupt priority mask" field in the processor status
> register (SR or PS).
> The question is now if the current architechture specific implementation
> in uClinux supports this scheme as well?
No, it doesn't.
Interrupts in uClinux are either enabled, or disabled.
There is no use of a priority based scheme.
> Can I be sure that interrupts
> are disabled for interrupts requested with IRQF_DISABLED?
Yes.
> More precisely I have two interrupt handlers which need to be mutual
> exclusive. Is IRQF_DISABLED the proper way to handle this.
Yes.
> I am using unpatched linux kernel uclinux-2.6.19-uc1 from
> uClinux-dist-20070130.
The fundamentals of the way interrupts are handled hasn't
changed across kernel versions. Though some of the flags
have change over time.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev