summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-15 14:59:05 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:46 +0200
commit494ca8c64629c74351eed401ca932640aaac39ce (patch)
tree41ce12f9e25ebf6ba82984559ae2e3a0cbaef600 /include
parent0adf9500edf4772052501d9c061d6a0abde5fd8e (diff)
2006-10-15 Thomas Schwinge <tschwinge@gnu.org>
[task #5956 --- ``Automake'ify GNU Mach's code base''] * kern/bootstrap.c: Don't include `bootstrap_symbols.h'. * ddb/db_command.c: Don't include `cpus.h'. * ddb/db_mp.c: Likewise. * i386/i386/ast_check.c: Likewise. * i386/i386/cswitch.S: Likewise. * i386/i386/db_interface.c: Likewise. * i386/i386/fpu.c: Likewise. * i386/i386/fpu.h: Likewise. * i386/i386/i386asm.sym: Likewise. * i386/i386/locore.S: Likewise. * i386/i386/mp_desc.c: Likewise. * i386/i386/mp_desc.h: Likewise. * i386/i386/pcb.c: Likewise. * i386/i386/trap.c: Likewise. * i386/intel/pmap.c: Likewise. * include/mach/machine.h: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_kmsg.h: Likewise. * kern/ast.c: Likewise. * kern/ast.h: Likewise. * kern/cpu_number.h: Likewise. * kern/debug.c: Likewise. * kern/eventcount.c: Likewise. * kern/host.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/lock.c: Likewise. * kern/lock.h: Likewise. * kern/lock_mon.c: Likewise. * kern/mach_clock.c: Likewise. * kern/mach_factor.c: Likewise. * kern/machine.c: Likewise. * kern/priority.c: Likewise. * kern/processor.c: Likewise. * kern/processor.h: Likewise. * kern/sched.h: Likewise. * kern/sched_prim.c: Likewise. * kern/startup.c: Likewise. * kern/syscall_subr.c: Likewise. * kern/thread.c: Likewise. * kern/timer.c: Likewise. * kern/timer.h: Likewise. * vm/vm_resident.c: Likewise. * kern/sched_prim.c: Don't include `fast_tas.h'. * kern/task.c: Likewise. * kern/task.h: Likewise. * kern/sched_prim.c: Don't include `hw_footprint.h'. * kern/thread.c: Likewise. * kern/thread.h: Likewise. * kern/counters.c: Don't include `mach_counters.h'. * kern/counters.h: Likewise. * ddb/db_ext_symtab.c: Don't include `mach_debug.h'. * i386/i386/pcb.c: Likewise. * kern/ipc_kobject.c: Likewise. * kern/thread.c: Likewise. * kern/zalloc.c: Likewise. * kern/ast.c: Don't include `mach_fixpri.h'. * kern/processor.c: Likewise. * kern/processor.h: Likewise. * kern/sched.h: Likewise. * kern/sched_prim.c: Likewise. * kern/syscall_subr.c: Likewise. * kern/thread.c: Likewise. * kern/thread.h: Likewise. * kern/host.c: Don't include `mach_host.h'. * kern/ipc_sched.c: Likewise. * kern/machine.c: Likewise. * kern/processor.c: Likewise. * kern/processor.h: Likewise. * kern/sched_prim.c: Likewise. * kern/startup.c: Likewise. * kern/task.c: Likewise. * kern/thread.c: Likewise. * kern/thread.h: Likewise. * include/mach/mach.defs: Don't include `mach_ipc_compat.h'. * include/mach/mach_param.h: Likewise. * include/mach/mach_traps.h: Likewise. * include/mach/message.h: Likewise. * include/mach/mig_errors.h: Likewise. * include/mach/notify.h: Likewise. * include/mach/port.h: Likewise. * include/mach/std_types.defs: Likewise. * include/mach/task_special_ports.h: Likewise. * include/mach/thread_special_ports.h: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_kmsg.h: Likewise. * ipc/ipc_marequest.c: Likewise. * ipc/ipc_notify.c: Likewise. * ipc/ipc_notify.h: Likewise. * ipc/ipc_object.c: Likewise. * ipc/ipc_object.h: Likewise. * ipc/ipc_port.c: Likewise. * ipc/ipc_port.h: Likewise. * ipc/ipc_right.c: Likewise. * ipc/ipc_right.h: Likewise. * ipc/ipc_space.c: Likewise. * ipc/ipc_space.h: Likewise. * ipc/mach_debug.c: Likewise. * ipc/mach_msg.c: Likewise. * ipc/mach_msg.h: Likewise. * ipc/mach_port.c: Likewise. * kern/ipc_tt.c: Likewise. * kern/syscall_sw.c: Likewise. * kern/thread.h: Likewise. * include/mach_debug/mach_debug.defs: Don't include `mach_ipc_debug.h'. * ipc/ipc_hash.c: Likewise. * ipc/ipc_hash.h: Likewise. * ipc/ipc_marequest.c: Likewise. * ipc/ipc_marequest.h: Likewise. * kern/ipc_kobject.c: Don't include `mach_ipc_test.h'. * ddb/db_access.c: Don't include `mach_kdb.h'. * ddb/db_aout.c: Likewise. * ddb/db_break.c: Likewise. * ddb/db_command.c: Likewise. * ddb/db_command.h: Likewise. * ddb/db_cond.c: Likewise. * ddb/db_examine.c: Likewise. * ddb/db_expr.c: Likewise. * ddb/db_ext_symtab.c: Likewise. * ddb/db_input.c: Likewise. * ddb/db_lex.c: Likewise. * ddb/db_macro.c: Likewise. * ddb/db_mp.c: Likewise. * ddb/db_output.c: Likewise. * ddb/db_print.c: Likewise. * ddb/db_run.c: Likewise. * ddb/db_sym.c: Likewise. * ddb/db_task_thread.c: Likewise. * ddb/db_trap.c: Likewise. * ddb/db_variables.c: Likewise. * ddb/db_watch.c: Likewise. * ddb/db_watch.h: Likewise. * ddb/db_write_cmd.c: Likewise. * i386/i386/db_disasm.c: Likewise. * i386/i386/db_interface.c: Likewise. * i386/i386/db_trace.c: Likewise. * i386/i386/i386asm.sym: Likewise. * i386/i386/locore.S: Likewise. * i386/i386/trap.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/model_dep.c: Likewise. * include/mach_debug/mach_debug.defs: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_object.c: Likewise. * ipc/ipc_port.c: Likewise. * ipc/ipc_pset.c: Likewise. * kern/bootstrap.c: Likewise. * kern/debug.c: Likewise. * kern/exception.c: Likewise. * kern/lock.c: Likewise. * kern/xpr.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_map.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_resident.c: Likewise. * kern/lock.h: Don't include `mach_ldebug.h'. * kern/lock_mon.c: Don't include `mach_lock_mon.h'. * kern/ipc_kobject.c: Don't include `mach_machine_routines.h'. * kern/lock_mon.c: Don't include `mach_mp_debug.h'. * vm/memory_object.c: Don't include `mach_pagemap.h'. * vm/vm_fault.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_object.h: Likewise. * vm/vm_pageout.c: Likewise. * i386/i386/trap.c: Don't include `mach_pcsample.h'. * kern/mach4.srv: Likewise. * kern/mach_clock.c: Likewise. * kern/pc_sample.c: Likewise. * kern/task.c: Likewise. * kern/thread.c: Likewise. * vm/vm_fault.c: Likewise. * device/net_io.c: Don't include `mach_ttd.h'. * i386/i386/kttd_interface.c: Likewise. * i386/i386/locore.S: Likewise. * i386/i386/trap.c: Likewise. * i386/i386at/autoconf.c: Likewise. * include/mach_debug/mach_debug.defs: Don't include `mach_vm_debug.h'. * vm/vm_debug.c: Likewise. * vm/vm_page.h: Likewise. * vm/vm_resident.c: Likewise. * kern/sched_prim.c: Don't include `power_save.h'. * kern/sched.h: Don't include `simple_clock.h'. * kern/sched_prim.c: Likewise. * kern/thread.c: Likewise. * kern/mach_clock.c: Don't include `stat_time.h'. * i386/i386/i386asm.sym: Likewise. * i386/i386/locore.S: Likewise. * kern/sched.h: Likewise. * kern/timer.c: Likewise. * kern/timer.h: Likewise. * kern/startup.c: Don't include `xpr_debug.h'. * kern/xpr.h: Likewise. * i386/i386at/autoconf.c: Don't include `com.h'. * i386/i386at/com.c: Likewise. * i386/i386at/conf.c: Likewise. * i386/i386at/cons_conf.c: Likewise. * i386/i386/fpe_linkage.c: Don't include `fpe.h'. * i386/i386/fpu.c: Likewise. * i386/i386/fpu.h: Likewise. * i386/i386/trap.c: Likewise. * i386/i386at/autoconf.c: Don't include `lpr.h'. * i386/i386at/conf.c: Likewise. * i386/i386at/lpr.c: Likewise. * i386/i386/cswitch.S: Don't include `platforms.h'. * i386/i386/fpu.c: Likewise. * i386/i386/gdt.c: Likewise. * i386/i386/hardclock.c: Likewise. * i386/i386/i386asm.sym: Likewise. * i386/i386/io_emulate.c: Likewise. * i386/i386/locore.S: Likewise. * i386/i386/pic.c: Likewise. * i386/i386/pic.h: Likewise. * i386/i386/pit.c: Likewise. * i386/i386/pit.h: Likewise. * i386/i386/seg.h: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/i386at/com.c: Don't include `rc.h' * i386/i386at/cons_conf.c: Likewise. * i386/i386at/pic_isa.c: Likewise. * device/ds_routines.c: Don't include <i386/linux/device-drivers.h>. * i386/i386at/i386at_ds_routines.c: Likewise. * i386/linux/dev/include/linux/autoconf.h: Likewise. * linux/dev/arch/i386/kernel/setup.c: Likewise. * linux/dev/init/main.c: Likewise. * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. * linux/pcmcia-cs/glue/wireless_glue.h: Likewise. * kern/lock_mon.c: Don't include <time_stamp.h>. * device/cons.c: Include <device/cons.h> instead of <cons.h>. * i386/i386at/com.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/cons_conf.c: Likewise. * i386/i386at/i386at_ds_routines.c: Include <device/device.server.h> instead of "device_interface.h". * device/chario.c: Include <device/device_reply.user.h> instead of "device_reply.h". * device/ds_routines.c: Likewise. * linux/dev/glue/block.c: Likewise. * linux/dev/glue/net.c: Likewise. * linux/pcmcia-cs/glue/ds.c: Likewise. * device/cons.c: Include <device/kmsg.h> instead of <kmsg.h>. * device/kmsg.c: Likewise. * i386/i386/cswitch.S: Include <i386/cpu_number.h> instead of "cpu_number.h". * i386/i386/locore.S: Likewise. * i386/intel/pmap.c: Likewise. * ipc/ipc_kmsg.h: Likewise. * i386/i386/i386asm.sym: Include <i386/gdt.h> instead of "gdt.h". * i386/i386/idt.c: Likewise. * i386/i386at/int_init.c: Likewise. * i386/i386/cswitch.S: Include <i386/i386asm.h> instead of "i386asm.h". * i386/i386/locore.S: Likewise. * i386/i386at/boothdr.S: Likewise. * i386/i386at/interrupt.S: Likewise. * i386/i386at/idt.h: Include <i386/idt-gen.h> instead of "idt-gen.h". * i386/i386at/interrupt.S: Include <i386/ipl.h> instead of "ipl.h". * i386/i386/i386asm.sym: Include <i386/ldt.h> instead of "ldt.h". * i386/i386/locore.S: Likewise. * i386/i386/i386asm.sym: Include <i386/mp_desc.h> instead of "mp_desc.h". * i386/i386at/interrupt.S: Include <i386/pic.h> instead of "pic.h". * i386/i386/cswitch.S: Include <i386/proc_reg.h> instead of "proc_reg.h". * i386/i386/locore.S: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/i386/i386asm.sym: Include <i386/seg.h> instead of "seg.h". * i386/i386/idt.c: Likewise. * i386/i386/locore.S: Likewise. * i386/i386/locore.S: Include <i386/trap.h> instead of "trap.h". * i386/i386/i386asm.sym: Include <i386/tss.h> instead of "tss.h". * i386/i386/i386asm.sym: Include <i386/vm_param.h> instead of "vm_param.h". * i386/i386/idt.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/intel/pmap.c: Likewise. * i386/i386/i386asm.sym: Include <i386at/idt.h> instead of "idt.h". * i386/i386/idt.c: Likewise. * i386/i386at/int_init.c: Likewise. * ipc/ipc_target.c: Include <kern/sched_prim.h> instead of "sched_prim.h". * vm/memory_object.c: Include <vm/memory_object_default.user.h> instead of "memory_object_default.h". * vm/vm_object.c: Likewise. * vm/vm_pageout.c: Likewise. * vm/memory_object.c: Include <vm/memory_object_user.user.h> instead of "memory_object_user.h". * vm/vm_fault.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_pageout.c: Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/mach/mach.defs2
-rw-r--r--include/mach/mach_param.h4
-rw-r--r--include/mach/mach_traps.h4
-rw-r--r--include/mach/machine.h4
-rw-r--r--include/mach/message.h4
-rw-r--r--include/mach/mig_errors.h4
-rw-r--r--include/mach/notify.h4
-rw-r--r--include/mach/port.h4
-rw-r--r--include/mach/std_types.defs4
-rw-r--r--include/mach/task_special_ports.h4
-rw-r--r--include/mach/thread_special_ports.h4
-rw-r--r--include/mach_debug/mach_debug.defs6
12 files changed, 0 insertions, 48 deletions
diff --git a/include/mach/mach.defs b/include/mach/mach.defs
index 36d4277..4b32809 100644
--- a/include/mach/mach.defs
+++ b/include/mach/mach.defs
@@ -31,8 +31,6 @@
*/
#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-
simport <kern/compat_xxx_defs.h>; /* for obsolete routines */
#endif /* MACH_KERNEL */
diff --git a/include/mach/mach_param.h b/include/mach/mach_param.h
index ce02ed8..a63acda 100644
--- a/include/mach/mach_param.h
+++ b/include/mach/mach_param.h
@@ -34,10 +34,6 @@
#ifndef _MACH_MACH_PARAM_H_
#define _MACH_MACH_PARAM_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#define TASK_PORT_REGISTER_MAX 4 /* Number of "registered" ports */
diff --git a/include/mach/mach_traps.h b/include/mach/mach_traps.h
index 3303e32..6c051e7 100644
--- a/include/mach/mach_traps.h
+++ b/include/mach/mach_traps.h
@@ -33,10 +33,6 @@
#ifndef _MACH_MACH_TRAPS_H_
#define _MACH_MACH_TRAPS_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#include <mach/port.h>
mach_port_t mach_reply_port
diff --git a/include/mach/machine.h b/include/mach/machine.h
index df8d2a6..b696d4b 100644
--- a/include/mach/machine.h
+++ b/include/mach/machine.h
@@ -33,10 +33,6 @@
#ifndef _MACH_MACHINE_H_
#define _MACH_MACHINE_H_
-#ifdef MACH_KERNEL
-#include <cpus.h>
-#endif /* MACH_KERNEL */
-
#include <mach/machine/vm_types.h>
#include <mach/boolean.h>
diff --git a/include/mach/message.h b/include/mach/message.h
index 1cd1ad9..9810b3d 100644
--- a/include/mach/message.h
+++ b/include/mach/message.h
@@ -32,10 +32,6 @@
#ifndef _MACH_MESSAGE_H_
#define _MACH_MESSAGE_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#include <mach/kern_return.h>
#include <mach/port.h>
diff --git a/include/mach/mig_errors.h b/include/mach/mig_errors.h
index eec4c19..e71317a 100644
--- a/include/mach/mig_errors.h
+++ b/include/mach/mig_errors.h
@@ -31,10 +31,6 @@
#ifndef _MACH_MIG_ERRORS_H_
#define _MACH_MIG_ERRORS_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#include <mach/kern_return.h>
#include <mach/message.h>
diff --git a/include/mach/notify.h b/include/mach/notify.h
index 9fa65ad..780e918 100644
--- a/include/mach/notify.h
+++ b/include/mach/notify.h
@@ -32,10 +32,6 @@
#ifndef _MACH_NOTIFY_H_
#define _MACH_NOTIFY_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#include <mach/port.h>
#include <mach/message.h>
diff --git a/include/mach/port.h b/include/mach/port.h
index 6b9de37..251b87c 100644
--- a/include/mach/port.h
+++ b/include/mach/port.h
@@ -35,10 +35,6 @@
#ifndef _MACH_PORT_H_
#define _MACH_PORT_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#include <mach/boolean.h>
#include <mach/machine/vm_types.h>
diff --git a/include/mach/std_types.defs b/include/mach/std_types.defs
index b0011f1..b387415 100644
--- a/include/mach/std_types.defs
+++ b/include/mach/std_types.defs
@@ -30,10 +30,6 @@
#ifndef _MACH_STD_TYPES_DEFS_
#define _MACH_STD_TYPES_DEFS_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif
-
type char = MACH_MSG_TYPE_CHAR;
type short = MACH_MSG_TYPE_INTEGER_16;
type int = MACH_MSG_TYPE_INTEGER_32;
diff --git a/include/mach/task_special_ports.h b/include/mach/task_special_ports.h
index 682c7f6..3d61c83 100644
--- a/include/mach/task_special_ports.h
+++ b/include/mach/task_special_ports.h
@@ -35,10 +35,6 @@
#ifndef _MACH_TASK_SPECIAL_PORTS_H_
#define _MACH_TASK_SPECIAL_PORTS_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#define TASK_KERNEL_PORT 1 /* Represents task to the outside
world.*/
#define TASK_EXCEPTION_PORT 3 /* Exception messages for task are
diff --git a/include/mach/thread_special_ports.h b/include/mach/thread_special_ports.h
index 0ab3646..aa4efe7 100644
--- a/include/mach/thread_special_ports.h
+++ b/include/mach/thread_special_ports.h
@@ -35,10 +35,6 @@
#ifndef _MACH_THREAD_SPECIAL_PORTS_H_
#define _MACH_THREAD_SPECIAL_PORTS_H_
-#ifdef MACH_KERNEL
-#include <mach_ipc_compat.h>
-#endif /* MACH_KERNEL */
-
#define THREAD_KERNEL_PORT 1 /* Represents the thread to the outside
world.*/
#define THREAD_EXCEPTION_PORT 3 /* Exception messages for the thread
diff --git a/include/mach_debug/mach_debug.defs b/include/mach_debug/mach_debug.defs
index dc4050f..2a58dc4 100644
--- a/include/mach_debug/mach_debug.defs
+++ b/include/mach_debug/mach_debug.defs
@@ -27,12 +27,6 @@
* Matchmaker definitions file for Mach kernel debugging interface.
*/
-#ifdef MACH_KERNEL
-#include <mach_ipc_debug.h>
-#include <mach_vm_debug.h>
-#include <mach_kdb.h>
-#endif
-
subsystem
#if KERNEL_SERVER
KernelServer