From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14033 invoked by alias); 16 Mar 2011 17:34:03 -0000 Received: (qmail 14017 invoked by uid 22791); 16 Mar 2011 17:34:02 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Mar 2011 17:33:58 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id A77472FB000B for ; Wed, 16 Mar 2011 17:33:55 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Od9kYBg4b-uN; Wed, 16 Mar 2011 17:33:53 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1000819] Add support for Atmel AT91SAM9263 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john@dallaway.org.uk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: john@dallaway.org.uk X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 16 Mar 2011 17:34:00 -0000 Message-Id: <20110316173353.48D952F7800F@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2011-03/txt/msg00040.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000819 --- Comment #17 from John Dallaway 2011-03-16 17:33:50 GMT --- (In reply to comment #15) > (In reply to comment #14) > > Samsung S3C45xx ARM7 parts have cache. Or did you mean no Atmel ARM7 > > parts have cache? > > Ah ok, that changes things then. This is meant to be a generic ARM7 HAL. The > initial focus is on AT91, but it's definitely not meant to be an AT91 ARM7 > HAL. > > In that case that complicates things. We need to construct the ARM7 variant > hal_cache.h in such a way that a processor HAL (e.g. S3C45xx) can override all > the settings. > > There are numerous other examples of this in other HALs. The general idea is > that the hal_cache.h #includes a or similar, before it > defines anything itself. Yes, this seems like the right approach where _most_ ARM7 processors have no cache. Something like: #ifdef CYGBLD_HAL_ARM_PROC_CACHE_H #include #endif #ifndef HAL_DCACHE_ENABLE #define HAL_DCACHE_ENABLE() #endif etc... -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.