summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-08-30 22:10:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-08-30 22:10:53 +0000
commit7676bd84f09ae0425e67bf4e48e1b4497c718da2 (patch)
tree1dd71c260ef2e3cdd73967cba1c87e526471afba /sys/arch/sun3
parent52f3ccb17dfd5af1ded7efc1e7fb2569b52b36cf (diff)
Remove duplicates with m68k/m68k/genassym.cf
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/sun3/genassym.cf32
1 files changed, 2 insertions, 30 deletions
diff --git a/sys/arch/sun3/sun3/genassym.cf b/sys/arch/sun3/sun3/genassym.cf
index 34957579202..80b5360ff17 100644
--- a/sys/arch/sun3/sun3/genassym.cf
+++ b/sys/arch/sun3/sun3/genassym.cf
@@ -1,4 +1,4 @@
-# $OpenBSD: genassym.cf,v 1.3 2001/06/27 04:44:02 art Exp $
+# $OpenBSD: genassym.cf,v 1.4 2001/08/30 22:10:52 miod Exp $
# $NetBSD: genassym.c,v 1.32 1996/10/23 16:39:27 gwr Exp $
#
@@ -53,7 +53,6 @@ include <machine/control.h>
include <machine/cpu.h>
include <machine/dvma.h>
include <machine/pcb.h>
-include <machine/psl.h>
include <machine/pte.h>
include <machine/machdep.h>
include <machine/mon.h>
@@ -64,7 +63,6 @@ include <sun3/sun3/interreg.h>
include <sun3/sun3/buserr.h>
# general constants
-define NBPG NBPG
define NBSG NBSG
define KERNBASE KERNBASE
define USPACE USPACE
@@ -79,17 +77,9 @@ define INTERSIL_INTER_CSECONDS INTERSIL_INTER_CSECONDS
define BUSERR_REG BUSERR_REG
define BUSERR_MMU BUSERR_MMU
-# PSL values
-define PSL_LOWIPL PSL_LOWIPL
-define PSL_HIGHIPL PSL_HIGHIPL
-define PSL_USER PSL_USER
-define PSL_S PSL_S
-define PSL_IPL7 PSL_IPL7
-
# magic
define FC_CONTROL FC_CONTROL
define FC_SUPERD FC_SUPERD
-define FC_USERD FC_USERD
define IC_CLEAR IC_CLEAR
# sun3 control space
@@ -105,27 +95,13 @@ define DVMA_SPACE_START DVMA_SPACE_START
define MONSTART MONSTART
define PROM_BASE PROM_BASE
-# system calls
-define SYS_sigreturn SYS_sigreturn
-
-# errno
-define EFAULT EFAULT
-define ENAMETOOLONG ENAMETOOLONG
-
# proc fields and values
-define P_FORW offsetof(struct proc, p_forw)
-define P_BACK offsetof(struct proc, p_back)
define P_VMSPACE offsetof(struct proc, p_vmspace)
define P_ADDR offsetof(struct proc, p_addr)
-define P_PRIORITY offsetof(struct proc, p_priority)
-define P_STAT offsetof(struct proc, p_stat)
-define P_WCHAN offsetof(struct proc, p_wchan)
define P_FLAG offsetof(struct proc, p_flag)
define P_MD_FLAGS offsetof(struct proc, p_md.md_flags)
define P_MD_REGS offsetof(struct proc, p_md.md_regs)
-define SRUN SRUN
-
# VM structure fields
define VM_PMAP offsetof(struct vmspace, vm_map.pmap)
@@ -134,14 +110,10 @@ define PCB_FLAGS offsetof(struct pcb, pcb_flags)
define PCB_PS offsetof(struct pcb, pcb_ps)
define PCB_USP offsetof(struct pcb, pcb_usp)
define PCB_REGS offsetof(struct pcb, pcb_regs)
-define PCB_ONFAULT offsetof(struct pcb, pcb_onfault)
define PCB_FPCTX offsetof(struct pcb, pcb_fpregs)
define SIZEOF_PCB sizeof(struct pcb)
-# exception frame offset/sizes
-define FR_SP offsetof(struct trapframe, tf_regs[15])
-define FR_HW offsetof(struct trapframe, tf_sr)
-define FR_ADJ offsetof(struct trapframe, tf_stackadj)
+# exception frame size
define CFSIZE CFSIZE
# FP frame offset