This is the mail archive of the
ecos-bugs@sources.redhat.com
mailing list for the eCos project.
[Bug 1000113] New: Missing include and bad args for HAL_ICACHE_INVALIDATE in hal/common/src/hal_if.c
- From: bugzilla at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Mon, 16 Aug 2004 13:27:30 +0100 (BST)
- Subject: [Bug 1000113] New: Missing include and bad args for HAL_ICACHE_INVALIDATE in hal/common/src/hal_if.c
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000113
Summary: Missing include and bad args for HAL_ICACHE_INVALIDATE
in hal/common/src/hal_if.c
Product: eCos
Version: 2.0
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: HAL
AssignedTo: jifl@ecoscentric.com
ReportedBy: jerome.souquieres@kis.fr
QAContact: ecos-bugs@sources.redhat.com
hal/common/src/hal_if.c uses cache control macros but does not include
<cyg/hal/hal_cache.h>.
As the cache macro uses are protected by #ifdefs, this problem goes unnoticed
during compilation.
Furthermore, in flush_icache()and flush_dcache(), both HAL_ICACHE_INVALIDATE()
and HAL_DCACHE_INVALIDATE() are called without arguments whereas they are
actually defined as taking two arguments:
// Invalidate cache lines in the given range without writing to memory.
//#define HAL_DCACHE_INVALIDATE( _base_ , _size_ )
// Invalidate cache lines in the given range without writing to memory.
//#define HAL_ICACHE_INVALIDATE( _base_ , _size_ )
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.