[rtems-central commit] spec: Disable data cache before invalidation

Sebastian Huber sebh at rtems.org
Fri Jan 14 15:32:41 UTC 2022


Module:    rtems-central
Branch:    master
Commit:    e9142c90bfe2c6955c7fa4a33d242129ca026742
Changeset: http://git.rtems.org/rtems-central/commit/?id=e9142c90bfe2c6955c7fa4a33d242129ca026742

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jan 14 08:32:25 2022 +0100

spec: Disable data cache before invalidation

---

 spec/rtems/cache/val/cache.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/spec/rtems/cache/val/cache.yml b/spec/rtems/cache/val/cache.yml
index dc499a5..db6128d 100644
--- a/spec/rtems/cache/val/cache.yml
+++ b/spec/rtems/cache/val/cache.yml
@@ -125,7 +125,9 @@ test-actions:
     rtems_interrupt_level level;
 
     rtems_interrupt_local_disable(level);
+    rtems_cache_disable_data();
     rtems_cache_invalidate_entire_data();
+    rtems_cache_enable_data();
     rtems_interrupt_local_enable(level);
   checks: []
   links:



More information about the vc mailing list