gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations)


From: Philip Blundell
Subject: Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations)
Date: 14 Jun 2002 20:34:45 +0100

On Fri, 2002-06-14 at 20:21, Camm Maguire wrote:
> I still see this behavior even if all attempts to flush the data cache
> are removed.  Makes me think that the swi instruction is no working.
> Are there alignment requirements on the arguments?  Why aren't
> a1,a2,a3 shown in the assembly?  I've included the CLEAR_CACHE code
> and its assembly below as well.

Hmm, right, your asm() statement has a bug.  Try this one instead.

 __asm __volatile ("swi 0x9f0002        @ sys_cacheflush"       \
                    : "=r" (_beg)                               \
                    : "0" (_beg), "r" (_end), "r"(_flg));       \

p.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]