7450 requires a sync before the the isync (MPC7450UM - 3.4.4.8)

This commit is contained in:
matt 2001-08-22 21:19:58 +00:00
parent ae5ab93687
commit 28c81ffc15
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: syncicache.c,v 1.3 2000/06/27 18:01:06 mrg Exp $ */
/* $NetBSD: syncicache.c,v 1.4 2001/08/22 21:19:58 matt Exp $ */
/*
* Copyright (C) 1995-1997, 1999 Wolfgang Solfrank.
@ -88,5 +88,6 @@ __syncicache(from, len)
__asm__ __volatile ("icbi 0,%0" :: "r"(p));
p += CACHELINESIZE;
} while ((len -= CACHELINESIZE) > 0);
__asm__ __volatile ("sync"); /* required on 7450 */
__asm__ __volatile ("isync");
}