From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 12 Aug 2011 14:36:49 +0200 Subject: [U-Boot] d-cache enable In-Reply-To: <4E451D52.3030602@emk-elektronik.de> References: <1312197486-31712-2-git-send-email-aneesh@ti.com> <1312889691-22701-2-git-send-email-aneesh@ti.com> <20110809164107.0dd85472@lmajewski.digital.local> <4E45078D.4060300@ti.com> <20110812134151.46d0e47c@lmajewski.digital.local> <4E451ABE.40704@aribaud.net> <4E451D52.3030602@emk-elektronik.de> Message-ID: <4E451E61.7090003@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Reinhard, On 12/08/2011 14:32, Reinhard Meyer wrote: > Dear *ALL*, >>> It is embarrassing to admit, but I've __wrongly__ assumed that *_range() >>> functions are accepting the start address and range for >>> invalidation/flushing. >> >> Do you mean we're hitting again a confusion between *_range(start, stop) >> and *_range(start, length)? >> >> If so, then the need to get rid of 'anonymous prototypes' becomes >> greater yet. > > Maybe the parameters should even be of type (void *start, void *beyond_end) ? > We are talking of addresses here anyway. Most likely the calling place > has it as pointer, and inside the function it might have to be casted. Agreed, but that's an overall change to make across all architectures, not only ARM -- I don't want to add signature divergence to the current issue. > Reinhard Amicalement, -- Albert.