CVS commit: src/sys/arch
"Jason R Thorpe" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: thorpej Date: Tue Mar 24 15:57:00 UTC 2026 Modified Files: src/sys/arch/m68k/include: cpu.h src/sys/arch/m68k/m68k: mmu_subr.s src/sys/arch/news68k/include: cpu.h types.h src/sys/arch/news68k/news68k: genassym.cf locore.s Log Message: Re-do the way the news1700's external cache vs. 68030 cache burst mode issue is dealt with. Rather than completely re-defining the high-level cache operation macros to exclude the *_BE bits (which actually penalized systems without an EC because the *_BE bits set in the CACR initiallly would be lost on the first cache operation), instead we provide a "platform has dynamic CACR values" hook. For NEWS, the values default to the with-*_BE variant, but if an external cache is discovered, the values are patched up with the non-*_BE variants. Only one shared assembly language routine needs to be adjusted for this, the rest of the scenarios where these values are used are handled by the compiler via constraints. For all other platforms that don't define __HAVE_M68K_DYNAMIC_CACR, the values remain compile-time constants, as before. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/m68k/include/cpu.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/m68k/m68k/mmu_subr.s cvs rdiff -u -r1.58 -r1.59 src/sys/arch/news68k/include/cpu.h cvs rdiff -u -r1.16 -r1.17 src/sys/arch/news68k/include/types.h cvs rdiff -u -r1.42 -r1.43 src/sys/arch/news68k/news68k/genassym.cf cvs rdiff -u -r1.110 -r1.111 src/sys/arch/news68k/news68k/locore.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.