Subject: CVS commit: syssrc/sys/lib/libkern/arch/powerpc
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 03/26/2002 23:20:25
Module Name: syssrc
Committed By: matt
Date: Tue Mar 26 21:20:25 UTC 2002
Modified Files:
basesrc/lib/libc/arch/powerpc/gen: syncicache.c
syssrc/sys/arch/powerpc/include: cpu.h
syssrc/sys/lib/libkern/arch/powerpc: syncicache.c
Log Message:
Use size_t in prototype (so this will be LP64 clean for PPC64 someday).
Calculate len separately for icache & dcache in case each has different
cacheline widths. Make the code for both loops the same except for the
dcbst/icbi. Deal with sizes >=2GB properly (like that'll happen but ...)
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 basesrc/lib/libc/arch/powerpc/gen/syncicache.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/powerpc/include/cpu.h
cvs rdiff -r1.6 -r1.7 syssrc/sys/lib/libkern/arch/powerpc/syncicache.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.