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 include locore.h so MIPS3_PLUS is visible...



details:   https://anonhg.NetBSD.org/src/rev/37dc8c7cc611
branches:  trunk
changeset: 348289:37dc8c7cc611
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Oct 13 18:54:46 2016 +0000

description:
include locore.h so MIPS3_PLUS is visible and we build support for MIPS-III
and newer FPUs as needed
no more SIGILLs on trunc.d.* with n32 userlands

diffstat:

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

diffs (18 lines):

diff -r 438c50224906 -r 37dc8c7cc611 sys/arch/mips/mips/fp.S
--- a/sys/arch/mips/mips/fp.S   Thu Oct 13 18:52:30 2016 +0000
+++ b/sys/arch/mips/mips/fp.S   Thu Oct 13 18:54:46 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fp.S,v 1.46 2015/06/08 16:25:29 matt Exp $     */
+/*     $NetBSD: fp.S,v 1.47 2016/10/13 18:54:46 macallan Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -40,6 +40,8 @@
 #include <mips/trap.h>
 #include <mips/cpuregs.h>
 
+#include <mips/locore.h>
+
 #include "assym.h"
 
 #define SEXP_INF       0xff



Home | Main Index | Thread Index | Old Index