hi
I am working on Symbian 2nd edition 6681 mobile phone. I have written a video decoder and player and I am trying to port it on to Symbian mobile phone.
I have achieved around 12 fps. To further increase the speed I am trying to enable the I cache and D cache.
I am doing this using the following MCR instructions.
MRC p15, 0, r0, c1, c0, 0 ; read CP15 register 1 into r0
ORR r0, r0, #(0x1 <<12) ; enable I Cache
ORR r0, r0, #(0x1 <<2) ; enable D Cache
MCR p15, 0, r0, c1, c0, 0 ; write CP15 register 1
MOV pc, lr
I can compile this properly using ARMCC compiler and obtain a sis file out of this. This sis file also installs properly. However when I open the application so installed, it just exits as in the application doesn't open. If I comment the above instructions, the player open and work properly. What am I doing wrong?
Let me know if anyone has any pointers in this direction
Thanks in advance
Regards
Ankit

Reply With Quote

