7450 requires a sync before the the isync (MPC7450UM - 3.4.4.8)
This commit is contained in:
parent
ae5ab93687
commit
28c81ffc15
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue