]> gitweb.factorcode.org Git - factor.git/commitdiff
icache: something like this might flush the icache
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 17 Mar 2021 05:22:55 +0000 (00:22 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 26 Mar 2021 23:11:03 +0000 (18:11 -0500)
vm/cpu-arm.64.hpp

index b59abac052ded439671d2544f685c1b4827d588c..f30d17138e6f6e260f8d6fecbcae3c590f318f50 100644 (file)
@@ -5,9 +5,11 @@ namespace factor {
 // register cell ds asm("r5");
 // register cell rs asm("r6");
 inline static void flush_icache(cell start, cell len) {
-  // int result;
-}
-
+  //__asm("ic ialluis");
+  //__asm volatile ("dmb sy" ::: "memory");
 
+  //dsb(nsh);
+  //isb();
+}
 
 }