How Do You Flush The Arm Data Cache ? |
By Jonathan A. Zdziarski
Book Price: $39.99 USD
£24.99 GBP
PDF Price: $27.99
Cover | Table of Contents | Forum | Colophon
![]() ![]() |
How Do You Flush The Arm Data Cache ? |
May 8 2008, 11:42 PM
Post
#1
|
|
|
New Member ![]() Group: Members Posts: 4 Joined: 8-May 08 Member No.: 277 |
I need to be able to flush the data cache for the ARM processor on the iPhone/iPod Touch.
There is an ARM co-processor instruction to do this, but the program needs to be running in privileged mode for this to work and I assume that the program is running in user mode. I would guess that there must be a Darwin level API call to do this, but I haven't had any luck finding it yet. Any help you could provide would be much appreciated. |
|
|
|
May 9 2008, 03:29 AM
Post
#2
|
|
|
Active Member ![]() ![]() Group: Members Posts: 25 Joined: 1-April 08 Member No.: 187 |
No idea. You'd likely need to consult an ARM assembly reference.
|
|
|
|
Yesterday, 12:00 AM
Post
#3
|
|
|
New Member ![]() Group: Members Posts: 4 Joined: 8-May 08 Member No.: 277 |
No idea. You'd likely need to consult an ARM assembly reference. I believe that the instructions necessary to flush the processor instruction cache have to be issued at the kernel level so I'm hoping that there is a Darwin API call for this (most OSes support this). Do you know of any forums where there is any Darwin level expertise ? Thanks. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 17th May 2008 - 02:39 AM |