diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-02-20 21:17:23 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:35 +0200 |
commit | e8c63bf3f3b03764429f7746723ebba462e905fc (patch) | |
tree | 256fe34e4c1723b657d04fe171b897f652a7b3fa /kern/task.c | |
parent | ef4ad2eff0364329bb0e35865c2fcdcad364b739 (diff) | |
download | gnumach-e8c63bf3f3b03764429f7746723ebba462e905fc.tar.gz gnumach-e8c63bf3f3b03764429f7746723ebba462e905fc.tar.bz2 gnumach-e8c63bf3f3b03764429f7746723ebba462e905fc.zip |
2006-02-20 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* bogus/net_atm.h: Remove file.
* Makefile.in (bogus-files): Remove `net_atm.h'.
* kern/syscall_sw.c: Don't include <net_atm.h> anymore and adopt all
users of NET_ATM as if it were always defined to `0'.
* kern/task.c: Likewise.
* kern/task.h: Likewise.
* kern/thread.c: Likewise.
* kern/thread.h: Likewise.
Diffstat (limited to 'kern/task.c')
-rw-r--r-- | kern/task.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/kern/task.c b/kern/task.c index 7b0e0e66..59b11ee9 100644 --- a/kern/task.c +++ b/kern/task.c @@ -35,7 +35,6 @@ #include <mach_pcsample.h> #include <norma_task.h> #include <fast_tas.h> -#include <net_atm.h> #include <mach/machine/vm_types.h> #include <mach/vm_param.h> @@ -54,10 +53,6 @@ #include <vm/vm_kern.h> /* for kernel_map, ipc_kernel_map */ #include <machine/machspl.h> /* for splsched */ -#if NET_ATM -#include <chips/nw_mk.h> -#endif - #if NORMA_TASK #define task_create task_create_local #endif /* NORMA_TASK */ @@ -157,10 +152,6 @@ kern_return_t task_create( ipc_task_init(new_task, parent_task); -#if NET_ATM - new_task->nw_ep_owned = 0; -#endif - new_task->total_user_time.seconds = 0; new_task->total_user_time.microseconds = 0; new_task->total_system_time.seconds = 0; @@ -291,13 +282,6 @@ kern_return_t task_terminate( cur_task = current_task(); cur_thread = current_thread(); -#if NET_ATM - /* - * Shut down networking. - */ - mk_endpoint_collect(task); -#endif - /* * Deactivate task so that it can't be terminated again, * and so lengthy operations in progress will abort. |