Deleted Added
full compact
kern_proc.c (90558) kern_proc.c (90889)
1/*
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95
1/*
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95
34 * $FreeBSD: head/sys/kern/kern_proc.c 90558 2002-02-12 04:21:28Z alc $
34 * $FreeBSD: head/sys/kern/kern_proc.c 90889 2002-02-19 02:40:31Z julian $
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/kernel.h>
40#include <sys/lock.h>
41#include <sys/malloc.h>
42#include <sys/mutex.h>

--- 147 unchanged lines hidden (view full) ---

190struct thread *
191thread_get(struct proc *p)
192{
193 struct thread *td = &p->p_xxthread;
194
195 return (td);
196}
197
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/kernel.h>
40#include <sys/lock.h>
41#include <sys/malloc.h>
42#include <sys/mutex.h>

--- 147 unchanged lines hidden (view full) ---

190struct thread *
191thread_get(struct proc *p)
192{
193 struct thread *td = &p->p_xxthread;
194
195 return (td);
196}
197
198
199/*********************
200* STUB KSE syscalls
201*********************/
202
203int
204thread_wakeup(struct thread *td, struct thread_wakeup_args *uap)
205/* struct thread_wakeup_args { struct thread_mailbox *tmbx; }; */
206{
207
208 return(EINVAL);
209}
210
211int
212kse_exit(struct thread *td, struct kse_exit_args *uap)
213{
214
215 return(EINVAL);
216}
217
218int
219kse_yield(struct thread *td, struct kse_yield_args *uap)
220{
221
222 return(EINVAL);
223}
224
225int kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
226{
227
228 return(EINVAL);
229}
230
231
232int
233kse_new(struct thread *td, struct kse_new_args *uap)
234/* struct kse_new_args {
235 struct kse_mailbox *mbx;
236 int new_grp_flag;
237}; */
238{
239
240 return (EINVAL);
241}
242
198/*
199 * Is p an inferior of the current process?
200 */
201int
202inferior(p)
203 register struct proc *p;
204{
205

--- 641 unchanged lines hidden ---
243/*
244 * Is p an inferior of the current process?
245 */
246int
247inferior(p)
248 register struct proc *p;
249{
250

--- 641 unchanged lines hidden ---