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 Add ifndef _MODULE around VM parameters.
details: https://anonhg.NetBSD.org/src/rev/8287d9aea94a
branches: trunk
changeset: 339254:8287d9aea94a
user: matt <matt%NetBSD.org@localhost>
date: Wed Jul 08 14:53:07 2015 +0000
description:
Add ifndef _MODULE around VM parameters.
diffstat:
sys/arch/mips/mips/genassym.cf | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (50 lines):
diff -r 99b529fed55e -r 8287d9aea94a sys/arch/mips/mips/genassym.cf
--- a/sys/arch/mips/mips/genassym.cf Wed Jul 08 10:57:46 2015 +0000
+++ b/sys/arch/mips/mips/genassym.cf Wed Jul 08 14:53:07 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.61 2015/06/11 15:50:17 matt Exp $
+# $NetBSD: genassym.cf,v 1.62 2015/07/08 14:53:07 matt Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -91,11 +91,17 @@
include <mips/pte.h>
include <mips/locore.h>
+define SIGFPE SIGFPE
+define SIGILL SIGILL
+define SIGSEGV SIGSEGV
+
+ifndef _MODULE
define PAGE_SIZE PAGE_SIZE
define PGSHIFT PGSHIFT
define NBPG NBPG
define USPACE USPACE
define UPAGES UPAGES
+#endif
ifdef __HAVE_FAST_SOFTINTS
define __HAVE_FAST_SOFTINTS 1
@@ -140,13 +146,10 @@
define CI_NINTR offsetof(struct cpu_info, ci_data.cpu_nintr)
-define SIGFPE SIGFPE
-define SIGILL SIGILL
-define SIGSEGV SIGSEGV
-
# /* XXX */
define MIPSX_FLUSHICACHE 0
+ifndef _MODULE
define PG_ASID PG_ASID
define MIPS1_PG_G MIPS1_PG_G
define MIPS1_PG_V MIPS1_PG_V
@@ -155,6 +158,7 @@
define MIPS3_PG_HVPN MIPS3_PG_HVPN
define MIPS3_PG_ASID MIPS3_PG_ASID
define MIPS3_PG_ODDPG MIPS3_PG_ODDPG
+endif
define TF_SIZ sizeof(struct trapframe)
define TF_REG_ZERO offsetof(struct trapframe, tf_regs[_R_ZERO])
Home |
Main Index |
Thread Index |
Old Index