Interrupt handler for Sparc-Leon2: defreeze cache ?

Julian Muñoz Dominguez jmunoz at tcpsi.es
Wed Apr 2 17:31:40 UTC 2008


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.                                                                                         *
************************************************************************************************************************************************
 




More information about the users mailing list