Age | Commit message (Collapse) | Author |
|
[task #5956 --- ``Automake'ify GNU Mach's code base'']
* configfrag.ac: New file.
* tests/configfrag.ac: Likewise.
* Makerules.am (DEFINES): Convert those into...
* configfrag.ac: ... AC_DEFINE instantiations.
* i386/Makerules.in (DEFINES): Convert those into...
* i386/configfrag.ac: ... AC_DEFINE instantiations.
* i386/Makerules.in: Remove file.
* i386/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR)
(AC_CONFIG_SUBDIRS, AC_CONFIG_FILES, AC_OUTPUT): Don't invoke.
(../version.m4): Don't include.
(--disable-lpr): Rework configuration option.
(--disable-default-device-drivers): Move configuration option to...
* configfrag.ac: ... here.
* configure.ac (AC_CONFIG_AUX_DIR, AM_INIT_AUTOMAKE): Instantiate.
(AC_PREFIX_DEFAULT, AC_CONFIG_SUBDIRS): Don't invoke.
<Output variable `systype'>: Rework the whole section.
<Options> (--enable-kdb, --disable-kmsg): Move into `configfrag.ac' and
adopt.
<Programs> (AM_PROG_AS, AM_PROG_CC_C_O): Instantiate.
(AC_CHECK_PROG): Move instantiation searching for a `mbchk' program
into `tests/configfrag.ac'.
(AC_CHECK_PROG): Instantiate to search for a `patch' program.
<configure fragments> (tests/configfrag.ac, configfrag.ac)
(linux/configfrag.ac): Include files.
(i386/configfrag.ac): Include file if appropriate.
(AC_CONFIG_HEADER): Instantiate for `config.h'.
(AC_CONFIG_FILES): Remove `Makerules' and `doc/Makefile'.
(AC_CONFIG_COMMANDS_POST): Instantiate for `config.status.dep.patch'.
(AC_CONFIG_COMMANDS): Instantiate for
`Makefile.correct_output_files_for_.S_files.patch' and (the
nonexistent) `Makefile.dependency_tracking_for_.S_files.patch'.
* Makefile.dependency_tracking_for_.S_files.patch: New file.
* config.status.dep.patch: Likewise.
* bogus/bootstrap_symbols.h: Remove file.
* configfrag.ac: AC_DEFINE `BOOTSTRAP_SYMBOLS' to `0'.
* bogus/cpus.h: Remove file.
* configfrag.ac: AC_DEFINE `NCPUS' to `1'. AH_TEMPLATE
`MULTIPROCESSOR'.
* bogus/fast_tas.h: Remove file.
* configfrag.ac: AC_DEFINE `FAST_TAS' to `0'.
* bogus/hw_footprint.h: Remove file.
* configfrag.ac: AC_DEFINE `HW_FOOTPRINT' to `0'.
* bogus/mach_counters.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_COUNTERS' to `0'.
* bogus/mach_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_DEBUG' to `1'.
* bogus/mach_fixpri.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_FIXPRI' to `1'.
* bogus/mach_host.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_HOST' to `0'.
* bogus/mach_ipc_compat.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_IPC_COMPAT' to `1'.
* bogus/mach_ipc_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_IPC_DEBUG' to `1'.
* bogus/mach_ipc_test.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_IPC_TEST' to `0'.
* bogus/mach_kdb.h: Remove file.
* configfrag.ac (--disable-kdb): AC_DEFINE `MACH_KDB' to `0'.
* bogus/mach_ldebug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_LDEBUG' to `0'.
* bogus/mach_lock_mon.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_LOCK_MON' to `0'.
* bogus/mach_machine_routines.h: Remove file.
* configfrag.ac: Add comment about not AC_DEFINEing
`MACH_MACHINE_ROUTINES' to `0'.
* bogus/mach_mp_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_MP_DEBUG' to `0'.
* bogus/mach_pagemap.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_PAGEMAP' to `1'.
* bogus/mach_pcsample.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_PCSAMPLE' to `1'.
* bogus/mach_ttd.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_TTD' to `0'.
* bogus/mach_vm_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_VM_DEBUG' to `1'.
* bogus/power_save.h: Remove file.
* configfrag.ac: AC_DEFINE `POWER_SAVE' to `1'.
* bogus/simple_clock.h: Remove file.
* configfrag.ac: AC_DEFINE `SIMPLE_CLOCK' to `0'.
* bogus/stat_time.h: Remove file.
* configfrag.ac: AC_DEFINE `STAT_TIME' to `1'.
* bogus/xpr_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `XPR_DEBUG' to `1'.
* i386/bogus/com.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `NCOM' to `4'.
* i386/bogus/fpe.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `FPE' to `0'.
* i386/bogus/lpr.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `NLPR' to `1'.
* i386/bogus/mach_machine_routines.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `MACH_MACHINE_ROUTINES' to `1'.
* i386/bogus/platforms.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `AT386' to `1'.
* i386/bogus/rc.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `RCLINE' to `-1' and `RCADDR' to `0x3f8'.
|
|
* ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of
including it.
* i386/i386/loose_ends.c: Likewise.
* bogus/mach_assert.h: Remove file.
|
|
* bogus/panic.c: Remove file.
|
|
* DEVELOPMENT: Document the NORMA removal.
2006-03-20 Leonardo Lopes Pereira <leonardolopespereira@gmail.com>
Remove unused and unsupported code. Consult the file `DEVELOPMENT'
for details.
[patch #4982]
* bogus/norma_device.h: Remove file.
* bogus/norma_ether.h: Likewise.
* bogus/norma_ipc.h: Likewise.
* bogus/norma_task.h: Likewise.
* bogus/norma_vm.h: Likewise.
* include/mach/mach_norma.defs: Likewise.
* include/mach/norma_task.defs: Likewise.
* include/mach/norma_special_ports.h: Likewise.
* Makefile.in (bogus-files): Remove `norma_device.h', `norma_ether.h',
`norma_ipc.h', `norma_task.h' and `norma_vm.h'.
(mach-headers): Remove `mach_norma.defs', `norma_task.defs' and
`norma_special_ports.h'.
* device/ds_routines.c: Don't include <norma_device.h> anymore and
adopt all users of NORMA_DEVICE as if it were always defined to `0'.
* device/net_io.c: Likewise for <norma_ether.h>, NORMA_ETHER.
* kern/machine.c: Likewise.
* ddb/db_command.c: Likevise for <norma_ipc.h>, NORMA_IPC.
* ipc/ipc_init.c: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_kmsg.h: Likewise.
* ipc/ipc_mqueue.c: Likewise.
* ipc/ipc_notify.c: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_port.h: Likewise.
* ipc/ipc_space.c: Likewise.
* ipc/ipc_space.h: Likewise.
* ipc/mach_msg.c: Likewise.
* kern/ast.c: Likewise.
* kern/debug.c: Likewise.
* kern/exception.c: Likewise.
* kern/startup.c: Likewise.
* vm/memory_object.c: Likewise.
* vm/vm_map.c: Likewise.
* kern/ipc_kobject.c: Likewise for <norma_task.h>, NORMA_TASK.
* kern/task.c: Likewise.
* kern/task.h: Likewise.
* ddb/db_command.c: Likewise for <norma_vm.h>, NORMA_VM.
* device/dev_pager.c: Likewise.
* include/mach/mach_types.defs: Likewise.
* include/mach/mach_types.h: Likewise.
* include/mach/memory_object_default.defs: Likewise.
* include/mach/memory_object.defs: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* kern/ipc_kobject.c: Likewise.
* kern/ipc_mig.c: Likewise.
* kern/startup.c: Likewise.
* vm/memory_object.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_object.h: Likewise.
* vm/vm_pageout.c: Likewise.
|
|
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.
|
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* util/about_to_die.c: Remove file.
* util/config.h: Likewise.
* util/cpu.c: Likewise.
* util/cpu.h: Likewise.
* util/cpu_init.c: Likewise.
* util/cpu_subs.h: Likewise.
* util/debug.h: Likewise.
* util/die.c: Likewise.
* util/phys_mem.h: Likewise.
* util/ref_count.h: Likewise.
* util/cpus.h: Move from here...
* bogus/cpus.h: ... to here.
* Makefile.in (bogus-files): Add `cpus.h'.
(util-cfiles): Only contain `putchar.c' and `puts.c'.
(util-files): Only contain `$(util-cfiles)'.
|
|
* bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG
for assert et al.
* kern/assert.h: Likewise.
* kern/debug.h: Likewise.
* util/debug.h: Likewise.
* i386/i386/debug.h: Move dump_ss definition out of [DEBUG].
* linux/dev/glue/block.c (rdwr_full): Remove invalid assert.
|
|
* i386/i386at/model_dep.c: Include <kern/cpu_number.h> and
<kern/assert.h>.
(machine_idle): New function.
* bogus/power_save.h (POWER_SAVE): Define to 1.
|
|
* bogus/mach_kdb.h: Make sure MACH_KDB is always defined, to zero
if necessary. Bug report from Marcus Daniels
(marcus@cathcart.sysc.pdx.edu).
|
|
* configure.in (kdb): New --enable option.
* Makefile.in (DEFINES): Add @DEFS@.
* bogus/mach_kdb.h: Make this file zero length; we get MACH_KDB
from configure now.
|
|
|