Module Name: src Committed By: simonb Date: Sat Aug 22 05:52:00 UTC 2020
Modified Files: src/sys/arch/mips/mips: locore_mips1.S Log Message: Change previous LP64 check to n32/n64. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/arch/mips/mips/locore_mips1.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/mips/mips/locore_mips1.S diff -u src/sys/arch/mips/mips/locore_mips1.S:1.94 src/sys/arch/mips/mips/locore_mips1.S:1.95 --- src/sys/arch/mips/mips/locore_mips1.S:1.94 Sat Aug 22 05:32:11 2020 +++ src/sys/arch/mips/mips/locore_mips1.S Sat Aug 22 05:52:00 2020 @@ -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 @@ RCSID("$NetBSD: locore_mips1.S,v 1.94 20 #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)