iPhone Open Application Development
iPhone Open Application Development Write Native Objective-C Applications for the iPhone

By Jonathan A. Zdziarski
Book Price: $39.99 USD
£24.99 GBP
PDF Price: $27.99

Cover | Table of Contents | Forum | Colophon


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
How Do You Flush The Arm Data Cache ?
bobatstyletap
post 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.
Go to the top of the page
 
+Quote Post
jzdziarski
post May 9 2008, 03:29 AM
Post #2


Active Member
**

Group: Members
Posts: 24
Joined: 1-April 08
Member No.: 187



No idea. You'd likely need to consult an ARM assembly reference.
Go to the top of the page
 
+Quote Post
bobatstyletap
post Today, 12:00 AM
Post #3


New Member
*

Group: Members
Posts: 4
Joined: 8-May 08
Member No.: 277



QUOTE (jzdziarski @ May 8 2008, 11:29 PM) *
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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 16th May 2008 - 12:41 PM