Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Explicitly #error if this is compiled wit...



details:   https://anonhg.NetBSD.org/src/rev/f7b93bf295c6
branches:  trunk
changeset: 1013147:f7b93bf295c6
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Aug 22 05:32:11 2020 +0000

description:
Explicitly #error if this is compiled with _LP64.

diffstat:

 sys/arch/mips/mips/locore_mips1.S |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 37f407073254 -r f7b93bf295c6 sys/arch/mips/mips/locore_mips1.S
--- a/sys/arch/mips/mips/locore_mips1.S Sat Aug 22 05:09:02 2020 +0000
+++ b/sys/arch/mips/mips/locore_mips1.S Sat Aug 22 05:32:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore_mips1.S,v 1.93 2017/06/08 05:46:57 skrll Exp $  */
+/*     $NetBSD: locore_mips1.S,v 1.94 2020/08/22 05:32:11 simonb Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -57,7 +57,7 @@
 #include <mips/asm.h>
 #include <mips/cpuregs.h>
 
-RCSID("$NetBSD: locore_mips1.S,v 1.93 2017/06/08 05:46:57 skrll Exp $")
+RCSID("$NetBSD: locore_mips1.S,v 1.94 2020/08/22 05:32:11 simonb Exp $")
 
 #include "assym.h"
 
@@ -73,6 +73,9 @@
 #define        _MFC0   mfc0
 #define        _MTC0   mtc0
 
+#ifdef _LP64
+#error MIPS1 does not support LP64.
+#endif
 
 #define MIPSX(name)    __CONCAT(mips1_,name)
 



Home | Main Index | Thread Index | Old Index