On Fri, 2023-02-10 at 16:47 +0800, Youling Tang wrote:Got it.
+ /* Sync the caches ready for execution of new kernel
*/
+ __asm__ __volatile__ (
+ "ibar 0 \t\n"
+ "dbar 0 \t\n");
I think we should add ::: "memory" here to prevent a future compiler
from being too smart.
Otherwise LGTM.