This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

RE: Masking interrupts?


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.

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