Module Name: src
Committed By: andvar
Date: Sun Sep 17 07:22:17 UTC 2023
Modified Files:
src/sys/arch/x68k/x68k: locore.s
Log Message:
add "#if defined(M68030)" around 68030 specific busaddrerr2030 calls.
Makes M68030 build without 040/060 counterparts enabled for x68k.
To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/arch/x68k/x68k/locore.s
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x68k/x68k/locore.s
diff -u src/sys/arch/x68k/x68k/locore.s:1.121 src/sys/arch/x68k/x68k/locore.s:1.122
--- src/sys/arch/x68k/x68k/locore.s:1.121 Mon May 30 09:56:03 2022
+++ src/sys/arch/x68k/x68k/locore.s Sun Sep 17 07:22:17 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.121 2022/05/30 09:56:03 andvar Exp $ */
+/* $NetBSD: locore.s,v 1.122 2023/09/17 07:22:17 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -209,8 +209,10 @@ Lstart1:
jra Lstart2
1:
#endif
+#if defined(M68030)
movl #_C_LABEL(busaddrerr2030),%a2@(8)
movl #_C_LABEL(busaddrerr2030),%a2@(12)
+#endif
Lstart2:
/* initialize source/destination control registers for movs */