diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-12 20:05:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-12 20:05:19 +0000 |
commit | 0474ef76a5d11c4115bf3c9bc050dc44f99ee1f6 (patch) | |
tree | 2ea7c1ba0540473093dadc3d83330281c1b9d588 | |
parent | 4b1b64bcfe2f99bcd0b8036c2b20ad5ec9c1b004 (diff) |
g/c unused fields.
-rw-r--r-- | sys/arch/mac68k/mac68k/genassym.cf | 43 |
1 files changed, 1 insertions, 42 deletions
diff --git a/sys/arch/mac68k/mac68k/genassym.cf b/sys/arch/mac68k/mac68k/genassym.cf index bb0b0b15b20..24e75bdfb28 100644 --- a/sys/arch/mac68k/mac68k/genassym.cf +++ b/sys/arch/mac68k/mac68k/genassym.cf @@ -1,4 +1,4 @@ -# $OpenBSD: genassym.cf,v 1.4 2001/06/27 04:22:37 art Exp $ +# $OpenBSD: genassym.cf,v 1.5 2001/08/12 20:05:18 miod Exp $ # $NetBSD: genassym.cf,v 1.7 1998/01/06 08:46:16 thorpej Exp $ # @@ -58,47 +58,22 @@ include <machine/pte.h> 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_MD offsetof(struct proc, p_md) -define P_PID offsetof(struct proc, p_pid) 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_REGS offsetof(struct proc, p_md.md_regs) define P_MD_FLAGS offsetof(struct proc, p_md.md_flags) -define SSLEEP SSLEEP define SRUN SRUN # interrupt/fault metering define UVMEXP_INTRS offsetof(struct uvmexp, intrs) -define MD_REGS offsetof(struct mdproc, md_regs) - -define UPAGES UPAGES define USPACE USPACE -define P1PAGES P1PAGES define NBPG NBPG -define NPTEPG NPTEPG define PGSHIFT PGSHIFT -define SYSPTSIZE SYSPTSIZE -define USRPTSIZE USRPTSIZE -define USRIOSIZE USRIOSIZE define USRSTACK USRSTACK -define MSGBUFPTECNT btoc(sizeof (struct msgbuf)) -define NMBCLUSTERS NMBCLUSTERS -define MCLBYTES MCLBYTES - -quote #ifdef SYSVSHM -define SHMMAXPGS SHMMAXPGS -quote #endif - -define U_PROF offsetof(struct user, u_stats.p_prof) -define U_PROFSCALE offsetof(struct user, u_stats.p_prof.pr_scale) -define RU_MINFLT offsetof(struct rusage, ru_minflt) - define T_BUSERR T_BUSERR define T_ADDRERR T_ADDRERR define T_ILLINST T_ILLINST @@ -124,10 +99,6 @@ define PSL_HIGHIPL PSL_HIGHIPL define PSL_USER PSL_USER define SPL1 (PSL_S | PSL_IPL1) define SPL2 (PSL_S | PSL_IPL2) -define SPL3 (PSL_S | PSL_IPL3) -define SPL4 (PSL_S | PSL_IPL4) -define SPL5 (PSL_S | PSL_IPL5) -define SPL6 (PSL_S | PSL_IPL6) define FC_USERD FC_USERD define FC_SUPERD FC_SUPERD @@ -143,27 +114,16 @@ define DC_CLEAR DC_CLEAR define PG_FRAME PG_FRAME define SIZEOF_PCB sizeof(struct pcb) -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 PCB_TRCB 5 define FR_SP offsetof(struct frame, f_regs[15]) define FR_HW offsetof(struct frame, f_sr) define FR_ADJ offsetof(struct frame, f_stackadj) define FR_SIZE sizeof(struct trapframe) -define B_READ B_READ - -define ENOENT ENOENT define EFAULT EFAULT define ENAMETOOLONG ENAMETOOLONG -define SYS_exit SYS_exit -define SYS_execve SYS_execve define SYS_sigreturn SYS_sigreturn define CPUINFO_CLASS offsetof(struct cpu_model_info, class) @@ -177,6 +137,5 @@ define MMU_68851 MMU_68851 define MMU_68030 MMU_68030 define MMU_68040 MMU_68040 -define FPU_68881 FPU_68881 define FPU_68882 FPU_68882 define FPU_68040 FPU_68040 |