Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/sun3 in LKM context, skip a bunch of unnecessa...
details: https://anonhg.NetBSD.org/src/rev/d3a4a4c6350a
branches: trunk
changeset: 521968:d3a4a4c6350a
user: chs <chs%NetBSD.org@localhost>
date: Sat Feb 09 20:01:34 2002 +0000
description:
in LKM context, skip a bunch of unnecessary stuff that doesn't compile there.
diffstat:
sys/arch/sun3/sun3/genassym.cf | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r 6a4a896d8498 -r d3a4a4c6350a sys/arch/sun3/sun3/genassym.cf
--- a/sys/arch/sun3/sun3/genassym.cf Sat Feb 09 19:42:31 2002 +0000
+++ b/sys/arch/sun3/sun3/genassym.cf Sat Feb 09 20:01:34 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.1 2000/12/07 17:51:06 jdolecek Exp $
+# $NetBSD: genassym.cf,v 1.2 2002/02/09 20:01:34 chs Exp $
#
# Copyright (c) 1994, 1995 Gordon W. Ross
@@ -73,10 +73,6 @@
# XXX: for copy.s
define M68020 1
-# bus error stuff
-define BUSERR_REG BUSERR_REG
-define BUSERR_MMU BUSERR_MMU
-
# 68k isms
define PSL_LOWIPL PSL_LOWIPL
define PSL_HIGHIPL PSL_HIGHIPL
@@ -88,6 +84,11 @@
define FC_USERD FC_USERD
define IC_CLEAR IC_CLEAR
+ifndef _LKM
+# bus error stuff
+define BUSERR_REG BUSERR_REG
+define BUSERR_MMU BUSERR_MMU
+
# sun3 control space isms
define CONTEXT_REG CONTEXT_REG
define CONTEXT_NUM CONTEXT_NUM
@@ -106,6 +107,7 @@
define USPACE USPACE
define NBPG NBPG
define NBSG NBSG
+endif
# system calls
define SYS_exit SYS_exit
@@ -138,9 +140,11 @@
# XXX: HP-UX trace bit?
+ifndef _LKM
# VM/pmap structure fields
define VM_PMAP offsetof(struct vmspace, vm_map.pmap)
define PM_CTXNUM offsetof(struct pmap, pm_ctxnum)
+endif
# pcb offsets
define PCB_FLAGS offsetof(struct pcb, pcb_flags)
Home |
Main Index |
Thread Index |
Old Index