Masking interrupts?
David Williams
davidwilliams@ozemail.com.au
Sun Jul 4 18:31:00 GMT 1999
Disabling interrupts will certainly provide an atomic operation. However I
don't wish to stop all other interrupts. I only wish to stop one particular
interrupt while executing a section of code. To disable all interrupts (or
all to a certain priority level) seems like such a waste! I would like to
reduce interrupt latencies as much as possible so any disabling of
interrupts will affect the ability to respond quickly.
Dave.
----------
From: Jyrki O Saarinen[SMTP:jxsaarin@cs.Helsinki.FI]
Sent: Monday, July 05, 1999 2:40 AM
To: David Williams
Subject: Re: Masking interrupts?
I think you should disable interrupts to achieve an atomic operation
instead of using ori instruction directly to the memory-mapped
control register.
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc
mailing list