[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations)
From: |
Richard Zidlicky |
Subject: |
[Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations) |
Date: |
Mon, 17 Jun 2002 00:46:27 +0200 |
User-agent: |
Mutt/1.2.5i |
On Fri, Jun 14, 2002 at 11:51:38AM -0400, Camm Maguire wrote:
>
> m68k:
> #include <asm/cachectl.h>
> #define CLEAR_CACHE do {\
> void *v=memory->cfd.cfd_start,*ve=v+memory->cfd.cfd_size; \
> for (;v<ve;v+=16) \
> sys_cacheflush(v,FLUSH_SCOPE_LINE,FLUSH_CACHE_DATA,16);\
> } while(0)
dunno what exactly you are tryinig to do but this one will not
guarantee data/instruction cache coherency - use FLUSH_CACHE_BOTH
for that.
Richard
- [Gcl-devel] Flushing the d-cache (was Re: BFD relocations), (continued)
- [Gcl-devel] Flushing the d-cache (was Re: BFD relocations), Camm Maguire, 2002/06/14
- [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Philip Blundell, 2002/06/14
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Camm Maguire, 2002/06/14
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Philip Blundell, 2002/06/14
- Message not available
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Camm Maguire, 2002/06/17
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Philip Blundell, 2002/06/17
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Camm Maguire, 2002/06/17
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Philip Blundell, 2002/06/17
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Camm Maguire, 2002/06/17
- [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Andreas Schwab, 2002/06/14
- [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations),
Richard Zidlicky <=
- Re: [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Camm Maguire, 2002/06/17
- [Gcl-devel] MIPS bfd_get_relocated_section_contents broken, Camm Maguire, 2002/06/19
- Re: [Gcl-devel] Re: BFD relocations, Geoff Keating, 2002/06/05