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 Change previous LP64 check to n32/n64.



details:   https://anonhg.NetBSD.org/src/rev/ee76f793e617
branches:  trunk
changeset: 942901:ee76f793e617
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Aug 22 05:52:00 2020 +0000

description:
Change previous LP64 check to n32/n64.

diffstat:

 sys/arch/mips/mips/locore_mips1.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 57aaf8a6a666 -r ee76f793e617 sys/arch/mips/mips/locore_mips1.S
--- a/sys/arch/mips/mips/locore_mips1.S Sat Aug 22 05:32:11 2020 +0000
+++ b/sys/arch/mips/mips/locore_mips1.S Sat Aug 22 05:52:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore_mips1.S,v 1.94 2020/08/22 05:32:11 simonb Exp $ */
+/*     $NetBSD: locore_mips1.S,v 1.95 2020/08/22 05:52:00 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.94 2020/08/22 05:32:11 simonb Exp $")
+RCSID("$NetBSD: locore_mips1.S,v 1.95 2020/08/22 05:52:00 simonb Exp $")
 
 #include "assym.h"
 
@@ -73,8 +73,8 @@
 #define        _MFC0   mfc0
 #define        _MTC0   mtc0
 
-#ifdef _LP64
-#error MIPS1 does not support LP64.
+#if defined(__mips_n32) || defined(__mips_n64)
+#error MIPS1 does not support N32/N64.
 #endif
 
 #define MIPSX(name)    __CONCAT(mips1_,name)



Home | Main Index | Thread Index | Old Index