From 093b9b532b93b1165679e20314fd03a8899821ce Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 16 Oct 2007 04:57:40 +0000 Subject: Do not expose the end of the proc_trampoline bowels to C code anymore, and get rid of the ``switchframe'' struct definition. As a bonus, this makes cpu_fork() simpler and unwastes 8 bytes of u area. --- sys/arch/m88k/include/cpu.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sys/arch/m88k/include') diff --git a/sys/arch/m88k/include/cpu.h b/sys/arch/m88k/include/cpu.h index 8804f92ba41..87bd3869160 100644 --- a/sys/arch/m88k/include/cpu.h +++ b/sys/arch/m88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.24 2007/10/13 12:54:43 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.25 2007/10/16 04:57:37 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -236,14 +236,6 @@ do { \ void signotify(struct proc *); -/* - * switchframe - should be double word aligned. - */ -struct switchframe { - u_int sf_pc; /* pc */ - void *sf_proc; /* proc pointer */ -}; - int badaddr(vaddr_t addr, int size); #endif /* _KERNEL */ -- cgit v1.2.3