Mercurial > ecos
changeset 487:7799e045560b
Fix ARM9 cache line sizes - from Patrick Doyle
| author | gthomas |
|---|---|
| date | Wed, 08 Jan 2003 19:47:34 +0000 |
| parents | 51c094331ad0 |
| children | b3be5b1e1cfd |
| files | packages/hal/arm/arm9/var/current/ChangeLog packages/hal/arm/arm9/var/current/include/hal_cache.h |
| diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/arm/arm9/var/current/ChangeLog +++ b/packages/hal/arm/arm9/var/current/ChangeLog @@ -1,3 +1,9 @@ +2003-01-08 Patrick Doyle <wpd@delcomsys.com> + + * include/hal_cache.h: Changed HAL_ICACHE_LINE_SIZE and + HAL_DCACHE_LINE_SIZE to match the documentation from TI. Now the + kcache2 test passes the two tests that it runs. + 2002-03-06 Nick Garnett <nickg@redhat.com> * include/hal_cache.h: Added support for ARM966E. This does not
--- a/packages/hal/arm/arm9/var/current/include/hal_cache.h +++ b/packages/hal/arm/arm9/var/current/include/hal_cache.h @@ -102,12 +102,12 @@ #elif defined(CYGPKG_HAL_ARM_ARM9_ARM925T) # define HAL_ICACHE_SIZE 0x4000 -# define HAL_ICACHE_LINE_SIZE 32 +# define HAL_ICACHE_LINE_SIZE 16 # define HAL_ICACHE_WAYS 2 # define HAL_ICACHE_SETS (HAL_ICACHE_SIZE/(HAL_ICACHE_LINE_SIZE*HAL_ICACHE_WAYS)) # define HAL_DCACHE_SIZE 0x2000 -# define HAL_DCACHE_LINE_SIZE 32 +# define HAL_DCACHE_LINE_SIZE 16 # define HAL_DCACHE_WAYS 2 # define HAL_DCACHE_SETS (HAL_DCACHE_SIZE/(HAL_DCACHE_LINE_SIZE*HAL_DCACHE_WAYS))
