[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interrupt handler for Sparc-Leon2: defreeze cache ?
- Date: Wed, 02 Apr 2008 19:31:40 +0200
- From: jmunoz at tcpsi.es ( Julian Muñoz Dominguez )
- Subject: Interrupt handler for Sparc-Leon2: defreeze cache ?
Dear sirs, madams:
I have set the "freeze cach?? on interrupt" feature of the Sparc Leon2 Cpu.
For this to be effective on the CPU performance, following the Leon2 specifications, the interrupt handler must defreeze the cach?? just before returning to the current task.
I've been crawling the source code, and I only found one access to the register that must be touched ("Cach?? Control Register"), but that's for another issue.
It seems also to me that the "user" interrupt functions are not wraped by a function of the operating system, so this operation should be done directly by those functions (and in fact, I don't see for example that the spacewire interrupt function does that). I'm not sure of that... It's quite difficult to affirm this after only some hours ;-)
Could someone help me on this issue ?? How to locate the ISR wraping function ? Is the writing to the "Cach?? Control Register" masked somewhere else on the on the code??
Best regards, and thank you very much,
Juli??n Mu??oz
TCP SI
www.tcpsi.es
************************************************************************************************************************************************
*La informaci?n contenida en este mensaje de correo electr?nico es confidencial y puede revestir el car?cter de reservada. *
*Est? dirigida exclusivamente a la persona destinataria. *
*El acceso o cualquier uso por parte de cualquier otra persona de este mensaje no est?n autorizados y pueden ser ilegales.*
*Si no es Ud. la persona destinataria, le rogamos que proceda a borrarlo. *
*The information in this e-mail is confidential and may be legally privileged. *
*It is intended solely for the addressee. *
*Access or any use by any other person to this Internet e-mail is not authorised and may be unlawful. *
*If you are not the intended recipient, please delete this e-mail. *
************************************************************************************************************************************************