cache: fix HAL_DCACHE_XXX() macros to cover correct memory range
commit948edf1dbe2ea8716bd6f7a30b9d0d7d161ca4e0
authoroyvind <oyvind@2333b21a-1c27-0410-8132-afba56cb5048>
Fri, 11 Dec 2009 13:11:11 +0000 (11 13:11 +0000)
committeroyvind <oyvind@2333b21a-1c27-0410-8132-afba56cb5048>
Fri, 11 Dec 2009 13:11:11 +0000 (11 13:11 +0000)
tree287e2e7553fcd156aca1caf7f6abd8065b419119
parentd6750d5e6ec51c8d919a06c99658ad703715faca
cache: fix HAL_DCACHE_XXX() macros to cover correct memory range

Essentially they would flush/invalidate too large areas.

Also reuse code.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
git-svn-id: http://www.ecosforge.net/ecosforge/trunk/nios2ecos@311 2333b21a-1c27-0410-8132-afba56cb5048
packages/hal/nios2/arch/current/include/hal_cache.h