Re: Invalidate Data Cache from User Space

2009-11-09 Thread Josh Boyer
On Mon, Nov 09, 2009 at 11:10:42AM -0700, Jonathan Haws wrote: >All, >What is happening is the dcbi instruction will fail. I get an Illegal >Instruction message on the console and my program exits. > >Is there a reason I cannot call dbci from a user space application, or is >there something wron

Invalidate Data Cache from User Space

2009-11-09 Thread Jonathan Haws
All, I have a routine to invalidate the data cache from user space (since I do not believe there is a standard routine I can use outside of kernel space??). Here is the code: .text; .globl cacheInvalidate405; cacheInvalidate405: /* * r3 = Data cache * r4