I want to flush the L1 cache on my P2020 processor with the assembly instruction dcbf. In order to do that, I need to know where the cache L1 is (if I am not mistaken ?). But I don't find any L1 cache definition in my project and I was wondering if this is why I don't know the address or if this is kind of an automatic process made by the processor ?
Anyway, how can I retrieve the address of the L1 cache ?
Once retrieved, in order to flush it, I will do something like that:
# r1 = start of shared region
dcbf 0,r1 # flush line at address r1
Is it the rigth manner to proceed ?
Thank you a lot for your answers,