From 219d59d17ab04afba5fe4ec94727f397286c0e0f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 14 Jun 2000 21:28:35 +0000 Subject: Enable data cache as well. --- c/src/lib/libbsp/m68k/idp/startup/bspstart.c | 1 + c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c | 1 + c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c | 1 + 3 files changed, 3 insertions(+) diff --git a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c index b8a894aed6..642ca90d72 100644 --- a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c @@ -91,6 +91,7 @@ void bsp_start( void ) m68k_set_vbr( &M68Kvec ); rtems_cache_enable_instruction(); + rtems_cache_enable_data(); /* * we only use a hook to get the C library initialized. diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c index 2b48e7b985..4741438cc6 100644 --- a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c @@ -80,6 +80,7 @@ void bsp_start( void ) /* make VME access round-robin */ rtems_cache_enable_instruction(); + rtems_cache_enable_data(); /* * we only use a hook to get the C library initialized. diff --git a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c index 26b66b6d00..d720cd8862 100644 --- a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c @@ -140,6 +140,7 @@ void bsp_start( void ) /* Disable D32 transfers : they don't work on my VMEbus rack */ rtems_cache_enable_instruction(); + rtems_cache_enable_data(); /* * we only use a hook to get the C library initialized. -- cgit v1.2.3