[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: |
Andreas Schwab |
Subject: |
[Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations) |
Date: |
Fri, 14 Jun 2002 22:10:04 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux) |
Camm Maguire <address@hidden> writes:
|> 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)
The comment from Philip applies here as well: no need for the loop.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: [Gcl-devel] Re: BFD relocations, (continued)
- Re: [Gcl-devel] Re: BFD relocations, Daniel Jacobowitz, 2002/06/10
- [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 <=
- [Gcl-devel] Re: Flushing the d-cache (was Re: BFD relocations), Richard Zidlicky, 2002/06/17
- 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