Parent Directory | Revision Log
Links to HEAD: | (view) (download) (annotate) |
Sticky Tag: |
2009-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/xen.h (hyp_tlb_flush): Remove function. (hyp_invlpg): New function. * i386/intel/pmap.c [MACH_HYP] (INVALIDATE_TLB): Call hyp_invlpg instead of flush_tlb when e - s is compile-time known to be PAGE_SIZE.
2009-02-26 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/prog_reg.h (invlpg_linear): Rename macro into... (invlpg_linear_range): ... this. (invlpg_linear): New macro. * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead of flush_tlb when e - S is compile-time known to be PAGE_SIZE, instead of run-time known to be less than 32 * PAGE_SIZE.
merge gnumach-1-branch
2009-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/intel/pmap.c (INVALIDATE_TLB): For now, disable use of invlpg.
2009-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/gdt.h (LINEAR_DS): New macro. * i386/i386/gdt.c (gdt_init): Initialize LINEAR_DS descriptor. * i386/i386/proc_reg.h (invlpg_user): Rename macro into... (invlpg_linear): ... this. Use movw instead of movl to set KERNEL_DS selector. Use LINEAR_DS selector instead of USER_DS selector. * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead of invlpg_user.
2008-12-30 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/proc_reg.h [__ASSEMBLER__ && __GNUC__]: Include <i386/gdt.h> and <i386/ldt.h> (invlpg_user): New macro. * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_user instead of invlpg. (pmap_remove, pmap_page_protect, pmap_protect, pmap_enter, pmap_collect, phys_attribute_clear): Call PMAP_UPDATE_TLBS after pde update instead of before.
2008-12-29 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/intel/pmap.c (pmap_bootstrap): Extend kernel virtual memory to at least the size of the physical memory.
2008-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org> * vm/vm_fault.c (vm_fault_page): Print value returned memory_object_data_request as %x instead of %d.
2008-11-15 Shakthi Kannan <shakshurd@gmail.com> * device/ds_routines.h (device_reference, device_deallocate): Add function prototypes. * kern/task.c (task_create): Moved unused i variable inside FAST_TAS. * vm/vm_map.h (vm_map_copy_page_discard): Add function prototype. * vm/vm_kern.c (projected_buffer_deallocate): Give &map->hdr instead of map to _vm_map_clip_start and _vm_map_clip_end functions. 2008-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org> * device/device_emul.h (device_emulation_ops): Turn back reference, dealloc, dev_to_port, write_trap and writev_trap into taking a void*, as they do not always take a mach_device_t. * device/ds_routines.c (mach_device_emulation_ops): Cast mach_device_reference, mach_device_deallocate, mach_convert_device_to_port, device_write_trap and device_writev_trap to (void*) to make them accept a void* argument. * linux/pcmcia-cs/glue/ds.c (device_deallocate): Rename function into... (ds_device_deallocate): ... this. (dev_to_port): Call ds_device_deallocate instead of device_deallocate. (linux_pcmcia_emulation_ops): Use ds_device_deallocate instead of device_deallocate, cast mach_device_reference to (void*) to make it accept a void* argument.
2008-11-28 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi (enable_pae): Document the last change. * i386/configfrag.ac (enable_pae): Likewise.
2008-11-28 Thomas Schwinge <tschwinge@gnu.org> * doc/Makefrag.am: Only advertize updating the web pages on gnumach-1-branch.
missing changelog from previous commit
Merge from gnumach-1-branch 2008-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/proc_reg.h (invlpg): New macro. * i386/intel/pmap.c (INVALIDATE_TLB): If portion to be flushed is less than 32 pages, use calls to invlpg instead of flush_tlb. 2008-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/proc_reg.h (get_cr0, get_cr2, get_cr3, get_cr4, get_tr, get_ldt): Add volatile qualifier to asm statement to prevent gcc from optimizing it away since there seems to be no way to clobber these properly in the set_* macros. 2008-11-17 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (install_sh, INSTALL): Point to `build-aux/install-sh'. Make use of its `-C' option. * configure.ac: Require GNU Automake 1.10.1. * Makefile.am: Adapt. * Makefile.correct_output_files_for_.S_files.patch: Remove. 2008-07-19 Barry deFreese <bdefreese@debian.org> * device/device_emul.h (struct device_emulation_ops): Make members reference, dealloc, dev_to_port, write_trap, and writev_trap take mach_device_t parameter instead of void *. * i386/i386at/autoconf.c: Make forward declarations for comintr() and lprintr() match prototype. Add brackets around initialization members for bus_ctlr and bus_device structs. * i386/i386at/conf.c (dev_name_list): Pass nomap instead of nulldev for map field. * i386/i386at/pic_isa.c (intnull, fpintr, hardclock, kdintr, prtnull): Declare the type of the value returned by functions to void. 2008-11-13 Thomas Schwinge <tschwinge@gnu.org> [task #8135 -- PAE for GNU Mach] * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only. * doc/mach.texi (Configuration): Document the new option. 2008-11-11 Shakthi Kannan <shakshurd@gmail.com> * kern/eventcount.c (evc_wait_clear): Remove unused variable 'ret'.
2008-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/proc_reg.h (invlpg): New macro. * i386/intel/pmap.c (INVALIDATE_TLB): If portion to be flushed is less than 32 pages, use calls to invlpg instead of flush_tlb.
2008-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/proc_reg.h (get_cr0, get_cr2, get_cr3, get_cr4, get_tr, get_ldt): Add volatile qualifier to asm statement to prevent gcc from optimizing it away since there seems to be no way to clobber these properly in the set_* macros.
Enhance.
2008-11-17 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (install_sh, INSTALL): Point to `build-aux/install-sh'.
2008-11-17 Thomas Schwinge <tschwinge@gnu.org> * configure.ac: Require GNU Automake 1.10.1. * Makefile.am: Adapt. * Makefile.correct_output_files_for_.S_files.patch: Remove.
2008-07-19 Barry deFreese <bdefreese@debian.org> * device/device_emul.h (struct device_emulation_ops): Make members reference, dealloc, dev_to_port, write_trap, and writev_trap take mach_device_t parameter instead of void *. * i386/i386at/autoconf.c: Make forward declarations for comintr() and lprintr() match prototype. Add brackets around initialization members for bus_ctlr and bus_device structs. * i386/i386at/conf.c (dev_name_list): Pass nomap instead of nulldev for map field. * i386/i386at/pic_isa.c (intnull, fpintr, hardclock, kdintr, prtnull): Declare the type of the value returned by functions to void.
2008-11-13 Thomas Schwinge <tschwinge@gnu.org> [task #8135 -- PAE for GNU Mach] * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only. * doc/mach.texi (Configuration): Document the new option.
2008-11-12 Thomas Schwinge <tschwinge@gnu.org> * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only.
Tidy up ChangeLog.
2008-11-11 Shakthi Kannan <shakshurd@gmail.com> * kern/eventcount.c (evc_wait_clear): Remove unused variable 'ret'.
Merge PAE support and add Xen support for PAE. Take the opportunity to upgrade Xen public headers.
2008-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/i386asm.sym (PTE_SIZE): New assembly macro. * i386/i386/locore.S (copyout_retry): take PTE_SIZE into account. * i386/intel/pmap.c (pmap_bootstrap, pmap_create): Use WRITE_PTE instead of dereference.
2008-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org> [task #8135 --- ``PAE for GNU Mach'] * i386/configfrag.ac: Add --enable-pae option, which defines PAE. * i386/i386/i386asm.sym (PDPSHIFT, PDEMASK): New assembly macros. * i386/i386/locore.S [PAE] (copyout_retry): Use page directory pointer bits. * i386/i386at/model_dep.c [PAE] (i386at_init): Set second initial 2MB page. Enable PAE bit. Set cr3 to page directory pointer table instead of page directory. * i386/intel/pmap.c [PAE] (pmap_bootstrap, pmap_create): Allocate 4 pages for dirbase. Setup pdpbase. [PAE] (pmap_destroy): Free 4 pages from dirbase. Free pdpbase. * i386/intel/pmap.h [PAE] (pt_entry_t): Typedef to unsigned long long. [PAE] (PDPSHIFT, PDPNUM, PDPMASK): New macros. [PAE] (PDESHIFT, PDEMASK, PTEMASK): Set to PAE values. [PAE] (lin2pdenum, NPDES): Make them take the page directory pointer index into account too. [PAE] (struct pmap): Add `pdpbase' member. (set_dirbase): Remove macro, replaced by... (set_pmap): New macro, taking a pmap instead of the dirbase. (PMAP_ACTIVATE_USER): Use set_pmap instead of set_dirbase.
2008-11-05 Shakthi Kannan <shakshurd@gmail.com> * ipc/mach_port.c (mach_port_insert_right): Cast poly into (ipc_object_t) to fix compiler warning when calling ipc_object_copyout_name.
Merge more than one year worth of gnumach-1-branch changes.
Merge more than one year worth of gnumach-1-branch changes.
2008-08-31 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/trap.c (user_trap): On page fault, raise exception instead of asserting that cr2 is below LINEAR_MIN_KERNEL_ADDRESS.
2008-07-29 Zheng Da <zhengda1936@gmail.com> Manuel Menal <mmenal@hurdfr.org> * include/device/net_status.h (NET_FLAGS): New macro. * linux/dev/glue/net.c (device_get_status): Handle NET_FLAGS case. (device_set_status): Likewise, calls dev_change_flags. * linux/dev/include/linux/netdevice.h (dev_change_flags): Declare function. * linux/dev/net/core/dev.c (dev_change_flags): Add function.
2008-08-03 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/lock.h (_simple_lock_xchg_, bit_lock, bit_unlock): Add memory clobbers. * i386/include/mach/i386/cthreads.h (spin_unlock, spin_try_lock): Add memory clobbers.
2008-07-23 Barry deFreese <bddebian@comcast.net> * device/chario.c (ttyinput_many): Change chars param to char *. * device/tty.h (ttyinput_many): Likewise. * i386/i386/pcb.h: Include <mach/exec/exec.h>. * i386/i386at/autoconf.h: Include <chips/busses.h>. * i386/i386at/model_dep.c (inittodr): Cast &new_time.seconds to u_int *. * ipc/mach_port.c (mach_port_insert_right): Cast poly to ipc_object_t. * ipc/mach_debug.c (host_ipc_hash_info): Initialize size to 0 to make the compiler believe that there is no bug. * ipc/mach_debug.c (mach_port_space_info): Likewise for tree_size and table_size. * i386/i386at/com.c (commctl): Likewise for b. * i386/i386/trap.c (user_trap): Likewise for exc. * i386/i386/user_ldt.c (i386_set_ldt): Likewise for old_copy_object. * i386/i386at/com.c (comintr): Check line_stat&iOR instead of line&iOR.
2008-07-23 Barry deFreese <bddebian@comcast.net> * i386/i386/locore.h (copyinmsg, copyoutmsg): Make parameters const void* and void* instead of vm_offset_t. * i386/i386at/com.c (comportdeath): Cast port as ipc_port_t in tty_portdeath call. * i386/i386at/kd.c (kdportdeath): Likewise. * i386/i386at/lpr.c (lprportdeath): Likewise. * i386/i386at/kd_mouse.c (mouse_handle_byte): Cast param to wakeup() as vm_offset_t. * i386/intel/pmap.c (pmap_destroy): Cast arg 2 of kmem_free() to vm_offset_t. * i386/intel/pmap.h: Cast all arg 1 params to kvtophy() to vm_offset_t. * ipc/ipc_kmsg.c: Remove casts from params to copyinmsg and copyoutmsg calls. * ipc/mach_msg.c: Likewise. * kern/exceptions.c: Likewise. * ipc/mach_msg.c: Remove casts from params to copyout calls. * ipc/bootstrap.c: Likewise. * kern/ipc_tt.c (mach_ports_register): Cast memory[i] as ipc_port_t in assignment.
2008-07-19 Barry deFreese <bddebian@comcast.net> * chips/busses.h (bus_ctlr, bus_device): Make intr return void instead of int. * device/tty.h (tty): Make t_start and t_stop return void instead of int. * i386/i386/ipl.h (ivect[]): return void instead of int. * i386/i386at/pic_isa.h (ivect[]): Likewise. * i386/i386at/kd_mouse.c (mouseintr): Likewise. * i386/i386at/com.c (comintr, comstop): Likewise. * i386/i386at/kd.c (kdcnputc, kdstart, kdstop, kdintr): Likewise. * i386/i386/trap.c (exception, thread_exception_return, i386_exception): Add __attribute__ ((noreturn)). * i386/i386at/kd.c (kdcnprobe): Return 0 at end of function. * i386/i386at/lpr.c (lprintr, lprstart): Return void instead of int. (lprstart): Don't return numeric values any longer. * kern/eventcount.c (evc_wait_clear): Return a value. * kern/exceptions.c (exception, exception_try_task, exception_no_server, exception_raise, exception_raise_continue, exception_raise_continue_slow, exception_raise_continue_fast): Add __attribute__ ((noreturn)). (exception, exceptio_try_task, exception_raise, exception_raise_continue_slow, exception_raise_continue_fast): Remove spurious returns. (exception_no_server): Add panic() on return from thread_halt_self().
2008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/src/include/linux/tqueue.h (queue_task_irq, queue_task_irq_off, queue_task, run_task_queue): Turn into static inlines.
2008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org> * device/net_io.c (net_set_filter): Reference the proper member instead of casting pointers. * device/subrs.c (ether_sprintf): Set type of `i' to `int'. * i386/i386/trap.c (kernel_trap): Pass page fault address to printf. * i386/i386at/rtc.c (rtcget): Fix parenthesis to really test the bit.
2008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org> * kern/mach_clock.c (timeout): Make the `fcn' parameter take a void * instead of char *. * kern/mach_clock.h (timeout): Likewise.
2008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org> * device/net_io.c (net_deliver): Fix parenthesis to really round up.
2008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/pcmcia-cs/glue/wireless_glue.h (schedule_task): Add parameter to Debugger() call. * kern/lock_mon.c (retry_simple_lock, retry_bit_lock): Likewise. * kern/machine.c (Debugger): Remove declaration. 2008-07-19 Barry deFreese <bddebian@comcast.net> * device/dev_hdr.h (dev_name_lookup, dev_set_indirection): Add prototypes. * device/dev_pager.c: Include <vm/vm_user.h>. * device/ds_routines.c: Likewise. * device/subrs.c: Likewise. * device/device_init.c: Include <device/tty.h>. * device/ds_routines.h (iowait): Add prototype. * device/net_io.h (net_kmsg_collect): Add prototype. * device/net_io.c (hash_ent_remove, net_free_dead_infp, net_free_dead_entp, bpf_validate, bpf_eq, net_add_q_info, bpf_match): Add forward declarations. * device/subrs.h: New header. * i386/i386/fpu.h: Include <sys/types.h>. Change <i386/thread.h> include to <kern/thread.h>. (fp_save, fp_load, fp_free, fpu_module_init, fpu_set_state, fpu_get_state, fpnoextflt, fpextovrflt, fpexterrflt, init_fpu): Add prototypes. * i386/i386/gdt.h (gdt_init): Add prototype. * i386/i386/io_map.c: Include <vm/pmap.h>. * vm/vm_kern.c: Likewise. * i386/i386/ktss.h (ktss_init): Add prototype. * i386/i386/ldt.h (ldt_init): Add prototype. * i386/i386/loose_ends.h: New header. * i386/i386/loose_ends.c (delay): Complete prototype. * i386/i386/model_dep.h (startrtclock): Add prototype. * i386/i386/pcb.h (load_context, stack_attach, stack_detach, switch_ktss): Add prototypes. * i386/i386/pic.h (form_pic_mask, picinit): Add prototypes. * i386/i386/pit.c: Include <i386/pic.h>. * i386/i386at/kd_mouse.c: Likewise. * i386/i386/pit.h (clkstart): Add prototype. * i386/i386/trap.c: Include <i386/fpu.h>, <intel/read_fault.h>, <vm/vm_fault.h>. * i386/i386/trap.h (interrupted_pc): Add prototype. * i386/i386/user_ldt.c: Include <i386/pcb.h>. * i386/i386at/autoconf.h: New header. * i386/i386at/com.h: New header. * i386/i386at/com.c: Include <i386at/autoconf.h>, <i386at/com.h>. * i386/i386at/idt.h (idt_init): Add prototype. * i386/i386at/int_init.h: New header. * i386/i386at/kd.c: Include <i386/loose_ends.h>. * kern/debug.c: Likewise. * i386/i386at/kd_event.c: Include <device/ds_routines.h>. * i386/i386at/kd_mouse.c: Likewise. * i386/i386at/kd_mouse.c: Include <device/subrs.h>, <i386at/com.h>. * i386/i386at/lpr.c: Include <i386at/autoconf.h> * i386/i386at/model_dep.c: Include: <i386/fpu.h>, <i386/gdt.h>, <i386/ktss.h>, <i386/ldt.h>, <i386/pic.h>, <i386/pit.h>, <i386at/autoconf.h>, <i386at/idt.h>, <i386at/int_init.h>, <i386at/kd.h>, <i386at/rtc.h>. * i386/i386at/rtc.h (readtodc, writetodc): Add prototypes. * i386/intel/pmap.h: Include <mach/vm_prot.h>. (pmap_bootstrap, pmap_unmap_page_zero, pmap_zero_page, pmap_copy_page, kvtophys): Add prototypes. * i386/intel/read_fault.h: New header. * kern/ast.h (ast_init, ast_check): Add prototypes. * kern/debug.c (Debugger): Move prototype to... * kern/debug.h (Debugger): ... here. * kern/eventcount.h (evc_notify_abort): Add prototype. * kern/ipc_mig.c: Include <kern/syscall_subr.h>, <kern/ipc_tt.h>, <device/ds_routines.h> * kern/ipc_mig.h: New header. * kern/ipc_tt.h (mach_reply_port): Add prototype. * kern/machine.h: New header. * kern/processor.h (pset_sys_bootstrap): Move prototype outside of MACH_HOST check. * kern/sched_prim.h (thread_bind, compute_priority, thread_timeout_setup): Add prototypes. * kern/startup.c: Include <kern/machine.h>, <machine/pcb.h>. * kern/syscall_subr.c: Include <kern/syscall_subr.h>. (thread_depress_abort): Remove prototype. * kern/syscall_subr.h: Include <sys/types.h>, <mach/mach_types.h> (thread_depress_abort): Add prototype. * kern/syscall_sw.c: Include: <kern/debug.h>. * kern/task.h (consider_task_collect): Add prototype. * kern/thread.c: Include <kern/eventcount.h>, <kern/ipc_mig.h>, <kern/syscall_subr.h>. * kern/thread.h (stack_collect): Add prototype. * linux/pcmcia-cs/glue/pcmcia_glue.h (Debugger): Remove prototype. * util/putchar.c: Include <device/cons.h>. * util/putchar.h: New header. * util/puts.c: Include <device/cons.h>, <util/putchar.h>. * vm/memory_object.c: Include <vm/vm_map.h>. (memory_object_data_provided): Move function below memory_object_data_supply definition. * vm/vm_init.c: Include <vm/vm_fault.h>. * vm/vm_kern.h (projected_buffer_in_range): Add prototype. * vm/vm_map.c: Include <vm/pmap.h>, <vm/vm_resident.h>. (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard): Add forward declaration. * vm/vm_map.h (vm_map_copyin_object, vm_map_submap, _vm_map_clip_start, _vm_map_clip_end): Add prototypes. * vm/vm_pageout.c: Include <device/net_io.h>, <kern/task.h>, <machine/locore.h>. * vm/vm_resident.h: New header. * vm/vm_user.c: Include <vm/vm_kern.h>. * vm/pmap.h (pmap_pageable, pmap_map_bd): Add prototype.
2008-07-18 Andrei Barbu <andrei@0xab.com> * include/sys/types.h (quad): Remove type.
2008-07-18 Andrei Barbu <andrei@0xab.com> * (ddb/db_sym.h): Add _DDB_DB_SYM_H_ header protection. (db_find_sym_and_offset, db_find_xtrn_sym_and_offset, db_find_task_sym_and_offset, db_find_xtrn_task_sym_and_offset): Call db_free_symbol. (db_free_symbol): New declaration. (db_sym_switch): New `free_symbol' member. (X_db_free_symbol): New macro. * ddb/db_sym.c (db_value_of_name, db_lookup, db_name_is_ambiguous, db_search_task_symbol, db_search_in_task_symbol, db_task_printsym): Call db_free_symbol. (db_free_symbol): New function. (dummy_db_free_symbol): New empty function. (x_db): Initialize `free_symbol' memberi with dummy_db_free_symbol. * i386/i386/db_trace.c (db_i386_stack_trace): Call db_free_symbol. * kern/lock_mon.c (print_lock_info): Likewise.
2008-07-18 Andrei Barbu <andrei@0xab.com> * ddb/db_break.c (db_set_breakpoint): Add db_breakpoint_t return type, return the breakpoint in non-ddb case. * ddb/db_break.h (BKPT_EXTERNAL): New macro. (db_set_breakpoint): Add declaration.
2008-07-18 Andrei Barbu <andrei@0xab.com> * ddb/db_sym.c (db_task_printsym): Do not print empty symbols.
2008-07-18 Andrei Barbu <andrei@0xab.com> * include/sys/types.h (int8_t, uint8_t, u_int8_t, int16_t, uint16_t, u_int16_t, int32_t, uint32_t, u_int32_t, int64_t, uint64_t, u_int64_t): New types.
2008-07-18 Andrei Barbu <andrei@0xab.com> * i386/i386/db_interface.c (db_read_bytes): Do not increment the address before printing it.
2008-07-18 Andrei Barbu <andrei@0xab.com> * i386/i386/db_disasm.c (Iba): New macro. (db_inst_table): Use Iba for aam and aad instructions. (db_disasm): Decode operands for Iba case.
2008-07-15 Barry deFreese <bddebian@comcast.net> * device/dev_pager.c (device_pager_data_request, device_pager_data_request_done, device_pager_init_pager): Fix printf formats. * i386/i386/debug_i386.c (dump_ss): Likewise. * i386/i386/trap.c (user_trap): Likewise. * i386/i386at/com.c (comtimer): Likewise. * ipc/ipc_notify (ipc_notify_port_deleted, ipc_notify_msg_accepted, ipc_notify_port_destroyed, ipc_notify_no_senders, ipc_notify_send_once, ipc_notify_dead_name): Likewise. * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. * kern/sched_prim.c (do_runq_scan): Likewise. * linux/pcmcia-cs/clients/smc91c92_cs.c (smc_start_xmit): Likewise. * linux/src/drivers/net/sundance.c (start_tx): Likewise. * vm/vm_fault.c (vm_fault_page): Likewise. * vm/vm_map.c (vm_map_pmap_enter): Likewise. * vm/vm_object.c (vm_object_collapse): Likewise.
2008-07-15 Barry deFreese <bddebian@comcast.net> * ipc/mach_port.h: New header. * ipc/mach_port.c: Include <ipc/mach_port.h>. (mach_port_get_receive_status): Add forward declaration. * kern/bootstrap.c: Include <ipc/mach_port.h>. * kern/ipc_mig.c: Likewise. * kern/syscall_sw.c: Likewise.
2008-07-15 Barry deFreese <bddebian@comcast.net> * i386/i386/model_dep.h: New header. * i386/i386at/model_dep.c: Include <i386/model_dep.h>. * kern/debug.c: Include <machine/model_dep.h>. * kern/mach_clock.c: Likewise. * kern/sched_prim.c: Likewise. * kern/startup.c: Likewise. * kern/machine.c: Likewise. (halt_cpu): Remove prototype. * vm/pmap.h (pmap_grab_page): Add prototype.
2008-07-15 Barry deFreese <bddebian@comcast.net> * device/chario.c: Include <vm/vm_user.h> * device/device_init.c (chario_init): Remove prototype. * device/tty.h (ttyinput_many, tty_cts, tty_get_status, tty_set_status, tty_flush, ttrstrt, ttstart, ttyclose, tty_portdeath, chario_init): Add prototypes.
2008-07-15 Barry deFreese <bddebian@comcast.net> * ipc/ipc_kmsg.c: Include <vm/vm_user.h> and <ipc/ipc_hash.h>. * ipc/ipc_mqueue (ipc_mqueue_copyin): Add prototype. * kern/bootstrap.c: Include <vm/vm_user.h>. * kern/exceptions.c: Include <ipc/ipc_notify.h>. * kern/ipc_kobject.h (ipc_kobject_notify): Add prototype. * kern/ipc_mig.c: Include <device/dev_hdr.h>. * kern/pc_sample.c: Include <machine/trap.h>. * kern/printf.h (safe_gets): Add prototype. * kern/processor.c: Include <kern/ipc_tt.h>. * kern/queue.h (insque): Add prototype. * kern/startup.c: Include <kern/mach_factor.h> and <kern/xpr.h>. * kern/thread.h (thread_start, kernel_thread, thread_priority, thread_set_own_priority, thread_max_priority, thread_policy, consider_thread_collect, stack_privilege): Add prototypes. * kern/timer.h (timer_normalize, timer_init, init_timers): Add prototypes. * vm/vm_map.h (vm_map_lookup_entry, vm_map_entry_delete): Add prototypes.
2008-07-15 Barry deFreese <bddebian@comcast.net> * kern/time_stamp.h (timestamp_init): Add prototype. * kern/startup.c: Include <kern/time_stamp.h>.
2008-07-15 Barry deFreese <bddebian@comcast.net> * kern/priority.c: Include <kern/sched_prim.h>. * kern/sched_prim.c (recompute_priorities, update_priority): Remove prototypes. * kern/sched_prim.h (update_priority, compute_my_priority): Add prototypes.
2008-07-15 Barry deFreese <bddebian@comcast.net> * kern/ipc_kobject.c: Include <vm/vm_object.h> * vm/vm_object.h: Include <sys/types.h> and <ipc/ipc_types.h>. (vm_object_coalesce, vm_object_pager_wakeup): Add prototypes.
2008-07-15 Barry deFreese <bddebian@comcast.net> * i386/i386at/kd.h (kd_isupper, kd_islower, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain, set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot, kd_putc, kd_parseesc, kd_down, kd_up, kd_cr, kd_tab, kd_left, kd_right, kd_scrollup, kd_scrolldn, kd_cls, kd_home, kd_atoi, kd_insch, kd_cltobcur, kd_cltopcur, kd_cltoecur, kd_clfrbcur, kd_eraseln, kd_insln, kd_delln, kd_delch, kd_erase, kd_bellon, kd_belloff, kdinit, kdsetkbent, kdgetkbent, kdsetbell, kd_resend, kd_handle_ack, kd_kbd_magic, kdstate2idx, kd_parserest, kdcnmaygetc, kd_slmwd, kd_slmscu, kd_slmscd): Add prototypes. * i386/i386at/kd.c (do_modifier): Add prototype.
2008-07-15 Barry deFreese <bddebian@comcast.net> * device/net_io.h (net_ast): Add prototype. * ipc/ipc_kmsg.c: Include <device/net_io.h> * kern/ast.c: Include <device/net_io.h>
2008-07-15 Barry deFreese <bddebian@comcast.net> * device/ds_routine.h (ds_notify): Add prototype. * kern/ipc_kobject.c: Include <device/ds_routines.h>
2008-07-15 Barry deFreese <bddebian@comcast.net> * device/ds_routines.c: Include <machine/locore.h> * ipc/ipc_kmsg.c: Likewise. * kern/bootstrap.c: Likewise. * kern/exception.c: Likewise. * kern/ipc_mig.c: Likewise. * kern/sched_prim.c: Likewise. * kern/time_stamp.c: Likewise. * vm/vm_kern.c: Likewise.
2008-07-15 Barry deFreese <bddebian@comcast.net> * device/cons.c (cnputc): Turn parameter `c' into a char. * device/cons.h (cninit, cngetc, cnmaygetc, cnputc): Add prototypes. * i386/i386at/model_dep.c: Include <device/cons.h> * kern/printf.c: Include <device/cons.h> (cnputc): Remove prototype. (vprintf, iprintf): Explicitely cast cnputc into the type _doprnt expects. * linux/dev/kernel/printk.c: Include <device/cons.h> (cnputc): Remove prototype.
* linux/src/drivers/net/rtl8139.c (rtl8129_open): Move IRQ initialization after ring initialization.
2008-07-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/include/asm/segment.h (__put_user, __get_user): Add always_inline attribute.
2008-06-29 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/fpu.c (fpintr): Do not panic if the we receive the interrupt twice in the same thread.
2008-05-28 Thomas Schwinge <tschwinge@gnu.org> [bug #23417, patch #6508 -- Building with -g3] * Makefile.am (MIGCOM): Revert the 2008-05-19 change.
2008-05-25 Andrei Barbu <teval0@gmail.com> * ddb/db_aout.c (aout_db_symbol_values): Add stab parameter. * ddb/db_sym.h (db_sym_switch): Add stab parameter to symbol_values member. (X_db_symbol_values): Pass stab parameter to symbole_values function.
2008-05-19 Thomas Schwinge <tschwinge@gnu.org> [patch #6508 -- Building with -g3] * Makefile.am (MIGCOM): Let it filter through CPP again. Suggested by Andrei Barbu <teval0@gmail.com>.
2008-05-09 Andrei Barbu <teval0@gmail.com> * i386/i386/loose_ends.c (DELAY): Use volatile qualifier instead of register to prevent optimization.
* doc/Makefrag.am: Fix typo.
* i386/i386/locore.S (syscall): Clear direction flag at entry.
* linux/src/drivers/block/triton.c (ide_init_triton): Enable Bus Mastering if not enabled by BIOS.
2007-12-30 Samuel thibault <samuel.thibault@ens-lyon.org> * linux/dev/glue/block.c (MAX_BUF): Set to sane stack-friendly 8 instead of blindly following VM_MAP_COPY_PAGE_LIST_MAX. (rdwr_full): increment blk by cc >> bshift instead of nb.
2007-12-30 Samuel thibault <samuel.thibault@ens-lyon.org> * kern/debug.c (panic) [MACH_KDB]: Don't wait before running the debugger.
2007-12-11 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/include/linux/nfs.h: Remove unused file. * linux/src/include/linux/nfs.h: Likewise.
2007-12-10 Thomas Schwinge <tschwinge@gnu.org> * i386/Makefrag.am (i386/i386at/boothdr.o, i386/i386at/interrupt.o) (i386/i386/cswitch.o, i386/i386/locore.o): Remove targets. * configure.ac <Dependency tracking for `.S' files>: Add a hack to re-add the four targets with have been removed above for the (legacy) case only where they are actually needed.
2007-12-05 Guillem Jover <guillem@hadrons.org> * i386/Makefrag.am (i386/i386at/interrupt.o): New target, depends on i386/i386/i386asm.h (i386/i386/cswitch.o): Likewise. (i386/i386/locore.o): Likewise.
2007-11-18 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/intel/pmap.c (pmap_map_bd): Use INTEL_PTE_NCACHE|INTEL_PTE_WTHRU. Get pmap lock.
2007-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org> * ddb/db_examine.c (db_strcpy): Add extra parentheses around assignment used as boolean. * ddb/db_sym.c (db_qualify, db_lookup): Likewise.
2007-11-08 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi: Do the copyright and licensing things as suggested by the GNU Texinfo manual.
2007-10-09 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment.
2007-10-08 Stefan Siegl <stesie@brokenpipe.de> * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag on device and propagate.
2007-10-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * kern/zalloc.c (zget_space): Fix last change.
2007-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org> * kern/zalloc.c (zget_space): Align zalloc_next_space again after calling kmem_alloc_wired (which may sleep).
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> * Makefile.am (clib_routines): Add udivdi3, __udivdi3 and _end. Fix edata into _edata. (gnumach-undef): Do not remove heading _s. (clib-routines.o): Add -lgcc.
merge gnumach-1-branch
2007-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/db_interface.c (int_regs): Drop gs and fs fields. (kdb_kentry): Get fs and gs from struct i386_interrupt_state instead of struct int_regs. * i386/i386/kttd_interface.c (int_regs, kttd_netentry): Likewise. * i386/i386/locore.S (all_intrs): Save fs and gs and set them to kernel segment too. (return_to_iret): Restore fs and gs too. (return_to_iret_i): Likewise. (ast_from_interrupt): Set fs and gs to kernel segment too. (kdb_from_iret): Don't save/restore fs and gs either. (ttd_from_iret): Likewise. * i386/i386/thread.h (i386_interrupt_state): Add gs and fs fields. * linux/src/include/asm-i386/irq.h (SAVE_ALL): Set gs to kernel segment too.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/arch/i386/kernel/irq.c: Include <asm/hardirq.h>. (local_bh_count, local_irq_count, global_irq_holder, global_irq_lock) (global_irq_count, check_smp_invalidate, show, wait_on_bh) (wait_on_irq, synchronize_bh, synchronize_irq, get_irqlock) (__global_cli, __global_sti, __global_save_flags) (__global_restore_flags): New variables and functions from Linux 2.2 * linux/src/drivers/net/3c515.c (test_and_set_bit): Remove macro. * linux/src/drivers/net/de4x5.c (test_and_set_bit): Remove macro. * linux/src/drivers/net/eth16i.c (test_and_set_bit): Remove macro. * linux/src/drivers/net/kern_compat.h (test_and_set_bit): Remove macro. * linux/src/drivers/net/pcnet32.c (test_and_set_bit): Remove macro. * linux/src/include/linux/compatmac.h (test_and_set_bit) (test_and_clear_bit): Remove macro. * linux/src/include/asm-i386/atomic.h (atomic_read): New macro. * linux/src/include/asm-i386/bitops.h (test_and_set_bit) (test_and_clear_bit, test_and_change_bit): New inline functions. * linux/src/include/asm-i386/hardirq.h (local_bh_count): New declaration. * linux/src/include/linux/tasks.h (NR_CPUS): Set to NCPUS. (NO_PROC_ID): New macro.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * configfrag.ac (mach_ncpus): Define to 1. (NCPUS): Set to $mach_ncpus. [$mach_ncpus > 1] (MULTIPROCESSOR): Set to 1. * linux/configfrag.ac [$mach_ncpus > 1] (__SMP__): Define.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/include/asm-i386/system.h: Update to Linux 2.2 for SMP.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/pcmcia-cs/modules/cs_internal.h: Use __SMP__ instead of USE_SPIN_LOCKS. * linux/pcmcia-cs/modules/i82365.c: Likewise. * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/init/main.c [__SMP__ && __i386] (smp_loops_per_tick): Restore variable.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/include/asm-i386/smp.h: New file.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define CONFIG_SMP and __SMP__.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/mp_desc.c: (cpu_control, interrupt_processor, cpu_start) (start_other_cpus): New functions. * i386/i386/i386asm.sym (MP_GDT, MP_IDT): Remove macros. * i386/i386/lock.h: Don't include_next "lock.h".
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386at/model_dep.c: Make init_alloc_aligned() extern.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/cswitch.S: Use EXT(interrupt_stack) instead of _interrupt_stack.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/mp_desc.c (interrupt_stack_alloc): Call init_alloc_aligned() instead of init_alloc().
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/io_perm.c (i386_io_perm_create): Lock io_perm->port, not inexistent device->port. * i386/i386/mp_desc.c: Include <machine/vm_param.h> * i386/i386/mp_desc.h: Include <i386at/idt.h> instead of "idt.h"
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/locore.S (current_tstamp, TIME_TRAP_UENTRY, TIME_TRAP_SENTRY, TIME_TRAP_UEXIT) (TIME_INT_ENTRY, TIME_INT_EXIT, timer_switch, start_timer): Use EXT(current_tstamp) and EXT(current_timer) instead of _current_tstampt and _current_timer.
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY) (TIME_TRAP_UEXIT): Use TH_SYSTEM_TIMER instead of old TH_SYS_TIMER.
2007-07-08 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/seg.h (SZ_64): New macro. * i386/i386/user_ldt.c (selector_check, i386_set_gdt): Check user-provided descriptor against SZ_64.
2007-07-04 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/intel/pmap.c (pmap_enter): Use INTEL_PTE_NCACHE|INTEL_PTE_WTHRU when cpu >= 486 and physical address is after memory end.
2007-06-23 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/trap.c (user_trap): Read faulting linear address before using it.
Elaborate.
2007-06-02 Thomas Schwinge <tschwinge@gnu.org> * Makerules.mig.am: New file, factored out of code of... * Makefrag.am: ... this file and... * Makerules.am: ... this file. * i386/Makefrag.am: Update comment.
2007-06-02 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (MIGFLAGS): Remove. (MIGCOM): Add ``-n''. * Makerules.am: Adapt to that.
2007-05-09 Thomas Schwinge <tschwinge@gnu.org> * include/mach/mach_types.defs (userprefix, serverprefix): Set, if requested.
2007-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/fpu.c (fpu_set_state): Set fp_valid to TRUE. Free the unused ifps.
2007-05-07 Thomas Schwinge <tschwinge@gnu.org> [bug #15295 --- ``Mach lets processes write to I/O ports''] * i386/Makefrag.am (libkernel_a_SOURCES): Add `i386/i386/io_perm.c', `i386/i386/io_perm.h', `i386/i386/machine_task.c', `i386/i386/task.h' and remove `i386/i386/io_port.h', `i386/i386/iopb.c', `i386/i386/iopb.h'. * i386/i386/io_port.h: Remove file. * i386/i386at/kd.c: Don't include <i386/io_port.h>. (vga_port_list, kd_io_device, kd_io_map_open, kd_io_map_close): Don't define and don't use anymore. * include/stddef.h: New file. * i386/i386/io_perm.c: Include <string.h>, <device/device_emul.h>, <ipc/ipc_space.h> and don't include <oskit/ds_oskit.h>. (io_perm_device_emulation_ops): New variable. (dev_open_alloc, setup_no_senders): Remove declarations. (convert_io_perm_to_port, convert_port_to_io_perm, io_perm_deallocate): Rewrite. (no_senders): New function. (i386_io_perm_create, i386_io_perm_modify): Rewrite partially, to adapt to the GNU Mach environment. * i386/i386/io_perm.h: Include <device/dev_hdr.h> and <ipc/ipc_types.h>. (io_perm, io_perm_t): New structure and accompanying type definition. (IO_PERM_NULL): Define. * i386/i386/locore.S (ktss): Move variable to... * i386/i386/ktss.c: ... here, make it a ``struct task_tss''. (ktss_init): Initialize the `task_tss' structure and the i/o permission bit map. * i386/i386/ktss.h: Adapt to that. * i386/i386/machine_task.c (machine_task_module_init): Adapt the `zinit' call to the GNU Mach environment. * i386/i386/mp_desc.c: Include <machine/ktss.h>. * i386/i386/tss.h: Include <machine/io_perm.h>. (task_tss): New structure, equivalent to the OSKit-Mach one. * i386/include/mach/i386/mach_i386.defs: Don't include <device/device_types.defs>. (device_list_t): Remove type. * i386/include/mach/i386/mach_i386_types.h (device_list_t): Remove type definition. 2007-05-07 Marcus Brinkmann <marcus@gnu.org> [bug #15295 --- ``Mach lets processes write to I/O ports''] * i386/i386/iopb.h, i386/i386/iopb.c: Obsolete files removed. * i386/i386/pcb.c (switch_context): Update the I/O permission bitmap from stack_handoff() here (not only in stack_handoff()). * i386/i386/machine_task.c (machine_task_module_init): Set ZONE_COLLECTABLE and ZONE_EXHAUSTIBLE flags for the iopb zone. Requested by Roland McGrath <roland@frob.com>. * i386/i386/io_perm.h: New file. * i386/i386/io_perm.c: New file. * i386/i386/machine_task.c: New file. * i386/i386/mp_desc.h: (struct mp_desc_table): Change type of ktss to struct task_tss. (mp_ktss): Likewise for array of pointers to the struct. * i386/i386/mp_desc.c: Include `machine/tss.h' and `machine/io_perm.h'. (mp_ktss): Change type to array of struct task_tss. (mp_desc_init): Cast pointer to x86_tss into pointer to task_tss, and use size of struct task_tss instead size of struct x86_tss. Initialize the task_tss structure. * i386/i386/pcb.c: Include `stddef.h' and `machine/tss.h'. (iopb_create, iopb_destroy): Prototypes removed. (curr_ktss): Cast pointer to base_tss to pointer to struct task_tss. (switch_ktss): Always use kernel TSS. (update_ktss_iopb): New function. (stack_handoff): Call update_ktss_iopb. (pcb_module_init): Do not call iopb_init. (pcb_terminate): Do not call iopb_destroy. (thread_setstatus): Remove local variable tss. (thread_getstatus): Rewrite i386_ISA_PORT_MAP_STATE case handler. * i386/i386/task.h: New file. * i386/i386/thread.h: Do not include `i386/iopb.h'. (struct i386_machine_state): Remove member io_tss. * i386/include/mach/i386/mach_i386.defs [KERNEL_SERVER]: Include `machine/io_perm.h'. Define intran, outtran and destructor. (io_port_t): New type. (io_perm_t): Likewise. (i386_io_port_add): Interface removed. (i386_io_port_remove): Likewise. (i386_io_port_list): Likewise. (i386_io_perm_create): New interface. (i386_io_perm_modify): Likewise. * i386/include/mach/i386/mach_i386_types.h [MACH_KERNEL]: Include `i386/io_perm.h'. [!MACH_KERNEL]: Define types io_port_t and io_perm_t. * kern/task.c (task_init): Call machine_task_module_init. (task_create): Call machine_task_init. (task_deallocate): Call machine_task_terminate. (task_collect_scan): Call machine_task_collect. * task.h: Include `machine/task.h'. (struct task): Add member machine. 2007-05-06 Thomas Schwinge <tschwinge@gnu.org> * device/kmsg.c: Include <device/ds_routines.h>. (kmsg_lock): Use `decl_simple_lock_data'. (kmsgread, kmsg_read_done): Add two typecasts. * device/buf.h (minphys): Add return type. * device/device_types_kernel.h: We're not in the eighties anymore... * device/io_req.h: Likewise. 2007-05-05 Thomas Schwinge <tschwinge@gnu.org> * i386/i386at/model_dep.c (halt_cpu, halt_all_cpus): Call `machine_idle' to avoid busy-looping. * i386/intel/read_fault.c (intel_read_fault): Remove the last parameter from the calls of `vm_map_lookup'. We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * vm/memory_object.c: Do as described. * vm/memory_object.h: Likewise. * vm/pmap.h: Likewise. * vm/vm_external.c: Likewise. * vm/vm_external.h: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_fault.h: Likewise. * vm/vm_kern.h: Likewise. * vm/vm_map.c: Likewise. * vm/vm_map.h: Likewise. * vm/vm_pageout.h: Likewise. * vm/vm_user.h: Likewise. * vm/memory_object.h: Include <ipc/ipc_types.h>. * vm/pmap.h: Include <kern/thread.h>. * vm/vm_fault.h: Include <mach/vm_prot.h>, <vm/vm_map.h> and <vm/vm_types.h>. * vm/vm_map.h: Include <mach/vm_attributes.h> and <vm/vm_types.h>. (vm_map_t, VM_MAP_NULL): Remove type and definition. * vm/vm_object.h (vm_object_t, VM_OBJECT_NULL): Remove type and definition. * vm/vm_page.h: Include <vm/vm_types.h>. (vm_page_t, VM_PAGE_NULL): Remove type and definition. * vm/vm_user.h: Include <mach/std_types.h>. * kern/task.h: Include <vm/vm_types.h> instead of <vm/vm_map.h>. * vm/vm_types.h: New file: the above-removed types and definitions. 2007-05-02 Thomas Schwinge <tschwinge@gnu.org> * configure.ac (--disable-default-device-drivers): Transform into... (--enable-device-drivers): ... this new option and extend it. * i386/configfrag.ac (--enable-lpr): Adapt to that. * linux/configfrag.ac (AC_OPTION_Linux_ix86_at, AC_Linux_DRIVER): Likewise. (AC_Linux_DRIVER_qemu): New definition. Use it for the `floppy', `ide' and `ne' device drivers. * doc/mach.texi: Document all that.
2007-05-07 Thomas Schwinge <tschwinge@gnu.org> [bug #15295 --- ``Mach lets processes write to I/O ports''] * i386/Makefrag.am (libkernel_a_SOURCES): Add `i386/i386/io_perm.c', `i386/i386/io_perm.h', `i386/i386/machine_task.c', `i386/i386/task.h' and remove `i386/i386/io_port.h', `i386/i386/iopb.c', `i386/i386/iopb.h'. * i386/i386/io_port.h: Remove file. * i386/i386at/kd.c: Don't include <i386/io_port.h>. (vga_port_list, kd_io_device, kd_io_map_open, kd_io_map_close): Don't define and don't use anymore. * include/stddef.h: New file. * i386/i386/io_perm.c: Include <string.h>, <device/device_emul.h>, <ipc/ipc_space.h> and don't include <oskit/ds_oskit.h>. (io_perm_device_emulation_ops): New variable. (dev_open_alloc, setup_no_senders): Remove declarations. (convert_io_perm_to_port, convert_port_to_io_perm, io_perm_deallocate): Rewrite. (no_senders): New function. (i386_io_perm_create, i386_io_perm_modify): Rewrite partially, to adapt to the GNU Mach environment. * i386/i386/io_perm.h: Include <device/dev_hdr.h> and <ipc/ipc_types.h>. (io_perm, io_perm_t): New structure and accompanying type definition. (IO_PERM_NULL): Define. * i386/i386/locore.S (ktss): Move variable to... * i386/i386/ktss.c: ... here, make it a ``struct task_tss''. (ktss_init): Initialize the `task_tss' structure and the i/o permission bit map. * i386/i386/ktss.h: Adapt to that. * i386/i386/machine_task.c (machine_task_module_init): Adapt the `zinit' call to the GNU Mach environment. * i386/i386/mp_desc.c: Include <machine/ktss.h>. * i386/i386/tss.h: Include <machine/io_perm.h>. (task_tss): New structure, equivalent to the OSKit-Mach one. * i386/include/mach/i386/mach_i386.defs: Don't include <device/device_types.defs>. (device_list_t): Remove type. * i386/include/mach/i386/mach_i386_types.h (device_list_t): Remove type definition. 2007-05-07 Marcus Brinkmann <marcus@gnu.org> [bug #15295 --- ``Mach lets processes write to I/O ports''] * i386/i386/iopb.h, i386/i386/iopb.c: Obsolete files removed. * i386/i386/pcb.c (switch_context): Update the I/O permission bitmap from stack_handoff() here (not only in stack_handoff()). * i386/i386/machine_task.c (machine_task_module_init): Set ZONE_COLLECTABLE and ZONE_EXHAUSTIBLE flags for the iopb zone. Requested by Roland McGrath <roland@frob.com>. * i386/i386/io_perm.h: New file. * i386/i386/io_perm.c: New file. * i386/i386/machine_task.c: New file. * i386/i386/mp_desc.h: (struct mp_desc_table): Change type of ktss to struct task_tss. (mp_ktss): Likewise for array of pointers to the struct. * i386/i386/mp_desc.c: Include `machine/tss.h' and `machine/io_perm.h'. (mp_ktss): Change type to array of struct task_tss. (mp_desc_init): Cast pointer to x86_tss into pointer to task_tss, and use size of struct task_tss instead size of struct x86_tss. Initialize the task_tss structure. * i386/i386/pcb.c: Include `stddef.h' and `machine/tss.h'. (iopb_create, iopb_destroy): Prototypes removed. (curr_ktss): Cast pointer to base_tss to pointer to struct task_tss. (switch_ktss): Always use kernel TSS. (update_ktss_iopb): New function. (stack_handoff): Call update_ktss_iopb. (pcb_module_init): Do not call iopb_init. (pcb_terminate): Do not call iopb_destroy. (thread_setstatus): Remove local variable tss. (thread_getstatus): Rewrite i386_ISA_PORT_MAP_STATE case handler. * i386/i386/task.h: New file. * i386/i386/thread.h: Do not include `i386/iopb.h'. (struct i386_machine_state): Remove member io_tss. * i386/include/mach/i386/mach_i386.defs [KERNEL_SERVER]: Include `machine/io_perm.h'. Define intran, outtran and destructor. (io_port_t): New type. (io_perm_t): Likewise. (i386_io_port_add): Interface removed. (i386_io_port_remove): Likewise. (i386_io_port_list): Likewise. (i386_io_perm_create): New interface. (i386_io_perm_modify): Likewise. * i386/include/mach/i386/mach_i386_types.h [MACH_KERNEL]: Include `i386/io_perm.h'. [!MACH_KERNEL]: Define types io_port_t and io_perm_t. * kern/task.c (task_init): Call machine_task_module_init. (task_create): Call machine_task_init. (task_deallocate): Call machine_task_terminate. (task_collect_scan): Call machine_task_collect. * task.h: Include `machine/task.h'. (struct task): Add member machine.
2007-05-06 Thomas Schwinge <tschwinge@gnu.org> * device/kmsg.c: Include <device/ds_routines.h>. (kmsg_lock): Use `decl_simple_lock_data'. (kmsgread, kmsg_read_done): Add two typecasts.
2007-05-06 Thomas Schwinge <tschwinge@gnu.org> * device/buf.h (minphys): Add return type. * device/device_types_kernel.h: We're not in the eighties anymore... * device/io_req.h: Likewise.
2007-05-05 Thomas Schwinge <tschwinge@gnu.org> * i386/i386at/model_dep.c (halt_cpu, halt_all_cpus): Call `machine_idle' to avoid busy-looping.
2007-05-05 Thomas Schwinge <tschwinge@gnu.org> * i386/intel/read_fault.c (intel_read_fault): Remove the last parameter from the calls of `vm_map_lookup'.
2007-05-05 Thomas Schwinge <tschwinge@gnu.org> We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * vm/memory_object.c: Do as described. * vm/memory_object.h: Likewise. * vm/pmap.h: Likewise. * vm/vm_external.c: Likewise. * vm/vm_external.h: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_fault.h: Likewise. * vm/vm_kern.h: Likewise. * vm/vm_map.c: Likewise. * vm/vm_map.h: Likewise. * vm/vm_pageout.h: Likewise. * vm/vm_user.h: Likewise. * vm/memory_object.h: Include <ipc/ipc_types.h>. * vm/pmap.h: Include <kern/thread.h>. * vm/vm_fault.h: Include <mach/vm_prot.h>, <vm/vm_map.h> and <vm/vm_types.h>. * vm/vm_map.h: Include <mach/vm_attributes.h> and <vm/vm_types.h>. (vm_map_t, VM_MAP_NULL): Remove type and definition. * vm/vm_object.h (vm_object_t, VM_OBJECT_NULL): Remove type and definition. * vm/vm_page.h: Include <vm/vm_types.h>. (vm_page_t, VM_PAGE_NULL): Remove type and definition. * vm/vm_user.h: Include <mach/std_types.h>. * kern/task.h: Include <vm/vm_types.h> instead of <vm/vm_map.h>. * vm/vm_types.h: New file: the above-removed types and definitions.
2007-05-02 Thomas Schwinge <tschwinge@gnu.org> * configure.ac (--disable-default-device-drivers): Transform into... (--enable-device-drivers): ... this new option and extend it. * i386/configfrag.ac (--enable-lpr): Adapt to that. * linux/configfrag.ac (AC_OPTION_Linux_ix86_at, AC_Linux_DRIVER): Likewise. (AC_Linux_DRIVER_qemu): New definition. Use it for the `floppy', `ide' and `ne' device drivers. * doc/mach.texi: Document all that.
2007-05-01 Thomas Schwinge <tschwinge@gnu.org> * assigns: Remove file. See `copyright.list' on the GNU server instead. 2007-04-30 Thomas Schwinge <tschwinge@gnu.org> We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * chips/busses.h: Do as described. * ddb/db_break.c: Likewise. * ddb/db_break.h: Likewise. * ddb/db_command.c: Likewise. * ddb/db_command.h: Likewise. * ddb/db_lex.c: Likewise. * ddb/db_lex.h: Likewise. * ddb/db_output.c: Likewise. * ddb/db_output.h: Likewise. * ddb/db_sym.h: Likewise. * ddb/db_task_thread.c: Likewise. * ddb/db_task_thread.h: Likewise. * ddb/db_variables.h: Likewise. * ddb/db_watch.c: Likewise. * ddb/db_watch.h: Likewise. * device/buf.h: Likewise. * device/conf.h: Likewise. * device/dev_hdr.h: Likewise. * device/ds_routines.h: Likewise. * device/if_ether.h: Likewise. * device/io_req.h: Likewise. * device/net_io.h: Likewise. * i386/i386/io_port.h: Likewise. * i386/i386/lock.h: Likewise. * i386/i386/mp_desc.c: Likewise. * i386/i386/mp_desc.h: Likewise. * i386/i386/proc_reg.h: Likewise. * i386/i386/user_ldt.h: Likewise. * i386/i386at/kd_queue.h: Likewise. * i386/i386at/kdsoft.h: Likewise. * i386/intel/pmap.c: Likewise. * i386/intel/pmap.h: Likewise. * include/mach/mach_traps.h: Likewise. * ipc/ipc_entry.h: Likewise. * ipc/ipc_hash.h: Likewise. * ipc/ipc_kmsg.h: Likewise. * ipc/ipc_marequest.c: Likewise. * ipc/ipc_marequest.h: Likewise. * ipc/ipc_mqueue.h: Likewise. * ipc/ipc_notify.h: Likewise. * ipc/ipc_object.h: Likewise. * ipc/ipc_port.h: Likewise. * ipc/ipc_pset.h: Likewise. * ipc/ipc_right.h: Likewise. * ipc/ipc_space.h: Likewise. * ipc/ipc_table.h: Likewise. * ipc/mach_msg.c: Likewise. * ipc/mach_msg.h: Likewise. * kern/ast.c: Likewise. * kern/ast.h: Likewise. * kern/debug.c: Likewise. * kern/debug.h: Likewise. * kern/ipc_tt.c: Likewise. * kern/ipc_tt.h: Likewise. * kern/mach_factor.c: Likewise. * kern/mach_factor.h: Likewise. * kern/printf.c: Likewise. * kern/printf.h: Likewise. * kern/queue.h: Likewise. * kern/sched.h: Likewise. * kern/syscall_subr.c: Likewise. * kern/syscall_subr.h: Likewise. * kern/task.h: Likewise. * kern/thread_swap.c: Likewise. * kern/thread_swap.h: Likewise. * kern/timer.h: Likewise. * kern/xpr.c: Likewise. * kern/xpr.h: Likewise. * kern/zalloc.c: Likewise. * kern/zalloc.h: Likewise. * ipc/ipc_port.h: Don't include <ipc/ipc_space.h>. * device/dev_hdr.h: Include <ipc/ipc_types.h>. * device/net_io.h: Include <device/if_hdr.h> and <device/io_req.h>. * ipc/ipc_entry.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. * ipc/ipc_kmsg.h: Include <ipc/ipc_object.h>, <ipc/ipc_types.h> and <vm/vm_map.h>. * ipc/ipc_marequest.h: Include <mach_debug/hash_info.h> and <ipc/ipc_types.h>. * ipc/ipc_object.h: Include <ipc/ipc_types.h>. * ipc/ipc_right.h: Include <ipc/ipc_entry.h>. * ipc/ipc_space.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. * kern/ipc_tt.h: Include <mach/mach_types.h>. * kern/sched.h: Include <kern/kern_types.h>. * kern/syscall_subr.h: Include <kern/kern_types.h>. * ipc/ipc_hash.c (ipc_hash_index_t): Move type definition... * ipc/ipc_hash.h: ... into here.
2007-05-01 Thomas Schwinge <tschwinge@gnu.org> * assigns: Remove file. See `copyright.list' on the GNU server instead.
2007-04-30 Thomas Schwinge <tschwinge@gnu.org> We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * include/mach/mach_traps.h: Do as described. * device/dev_hdr.h: Include <ipc/ipc_types.h>. * kern/syscall_subr.h: Include <kern/kern_types.h>.
2007-04-30 Thomas Schwinge <tschwinge@gnu.org> We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * chips/busses.h: Do as described. * ddb/db_break.c: Likewise. * ddb/db_break.h: Likewise. * ddb/db_command.c: Likewise. * ddb/db_command.h: Likewise. * ddb/db_lex.c: Likewise. * ddb/db_lex.h: Likewise. * ddb/db_output.c: Likewise. * ddb/db_output.h: Likewise. * ddb/db_sym.h: Likewise. * ddb/db_task_thread.c: Likewise. * ddb/db_task_thread.h: Likewise. * ddb/db_variables.h: Likewise. * ddb/db_watch.c: Likewise. * ddb/db_watch.h: Likewise. * device/buf.h: Likewise. * device/conf.h: Likewise. * device/dev_hdr.h: Likewise. * device/ds_routines.h: Likewise. * device/if_ether.h: Likewise. * device/io_req.h: Likewise. * device/net_io.h: Likewise. * i386/i386/io_port.h: Likewise. * i386/i386/lock.h: Likewise. * i386/i386/mp_desc.c: Likewise. * i386/i386/mp_desc.h: Likewise. * i386/i386/proc_reg.h: Likewise. * i386/i386/user_ldt.h: Likewise. * i386/i386at/kd_queue.h: Likewise. * i386/i386at/kdsoft.h: Likewise. * i386/intel/pmap.c: Likewise. * i386/intel/pmap.h: Likewise. * include/mach/mach_traps.h: Likewise. * ipc/ipc_entry.h: Likewise. * ipc/ipc_hash.h: Likewise. * ipc/ipc_kmsg.h: Likewise. * ipc/ipc_marequest.c: Likewise. * ipc/ipc_marequest.h: Likewise. * ipc/ipc_mqueue.h: Likewise. * ipc/ipc_notify.h: Likewise. * ipc/ipc_object.h: Likewise. * ipc/ipc_port.h: Likewise. * ipc/ipc_pset.h: Likewise. * ipc/ipc_right.h: Likewise. * ipc/ipc_space.h: Likewise. * ipc/ipc_table.h: Likewise. * ipc/mach_msg.c: Likewise. * ipc/mach_msg.h: Likewise. * kern/ast.c: Likewise. * kern/ast.h: Likewise. * kern/debug.c: Likewise. * kern/debug.h: Likewise. * kern/ipc_tt.c: Likewise. * kern/ipc_tt.h: Likewise. * kern/mach_factor.c: Likewise. * kern/mach_factor.h: Likewise. * kern/printf.c: Likewise. * kern/printf.h: Likewise. * kern/queue.h: Likewise. * kern/sched.h: Likewise. * kern/syscall_subr.c: Likewise. * kern/syscall_subr.h: Likewise. * kern/task.h: Likewise. * kern/thread_swap.c: Likewise. * kern/thread_swap.h: Likewise. * kern/timer.h: Likewise. * kern/xpr.c: Likewise. * kern/xpr.h: Likewise. * kern/zalloc.c: Likewise. * kern/zalloc.h: Likewise. * ipc/ipc_port.h: Don't include <ipc/ipc_space.h>. * device/net_io.h: Include <device/if_hdr.h> and <device/io_req.h>. * ipc/ipc_entry.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. * ipc/ipc_kmsg.h: Include <ipc/ipc_object.h>, <ipc/ipc_types.h> and <vm/vm_map.h>. * ipc/ipc_marequest.h: Include <mach_debug/hash_info.h> and <ipc/ipc_types.h>. * ipc/ipc_object.h: Include <ipc/ipc_types.h>. * ipc/ipc_right.h: Include <ipc/ipc_entry.h>. * ipc/ipc_space.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. * kern/ipc_tt.h: Include <mach/mach_types.h>. * kern/sched.h: Include <kern/kern_types.h>. * ipc/ipc_hash.c (ipc_hash_index_t): Move type definition... * ipc/ipc_hash.h: ... into here.
Move the branch specific changes into the new file `ChangeLog.Xen'.
2007-04-25 Thomas Schwinge <tschwinge@gnu.org> * DEVELOPMENT: Add url. [task #5878 --- ``Backport code from GNU Mach's trunk to gnumach-1-branch: i386_set_gdt, i386_get_gdt''] * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): Shift by two to maintain rpc id compatibility with OSKit-Mach. * linux/dev/glue/kmem.c (vmalloc_list_remove): Cast the first argument in the `kfree' call to what is expected. * linux/pcmcia-cs/glue/ds.c (kmalloc, kfree): Call `linux_kmalloc', respective `linux_kfree' instead. * kern/kalloc.h (kalloc, kget, kfree, kalloc_init): List the arguments. 2007-04-24 Michael Casadevall <sonicmctails@gmail.com> * linux/src/drivers/net/ne.c (bad_clone_list): Add the RealTek 8029 PCI card's signature. <http://lists.gnu.org/archive/html/bug-hurd/2007-04/msg00039.html> 2007-04-24 Thomas Schwinge <tschwinge@gnu.org> * ipc/ipc_port.h: Include <ipc/ipc_space.h>. 2007-04-11 Thomas Schwinge <tschwinge@gnu.org> * config.status.dep.patch: Update to match more files. This fixes building GNU Mach with ``make -j2'' and higher. The problem was reported by Michael Casadevall <sonicmctails@gmail.com>.
2007-04-25 Thomas Schwinge <tschwinge@gnu.org> * DEVELOPMENT: Add url.
2007-04-25 Thomas Schwinge <tschwinge@gnu.org> [task #5878 --- ``Backport code from GNU Mach's trunk to gnumach-1-branch: i386_set_gdt, i386_get_gdt''] * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): Shift by two to maintain rpc id compatibility with OSKit-Mach.
2007-04-25 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/glue/kmem.c (vmalloc_list_remove): Cast the first argument in the `kfree' call to what is expected.
2007-04-25 Thomas Schwinge <tschwinge@gnu.org> * linux/pcmcia-cs/glue/ds.c (kmalloc, kfree): Call `linux_kmalloc', respective `linux_kfree' instead.
2007-04-25 Thomas Schwinge <tschwinge@gnu.org> * kern/kalloc.h (kalloc, kget, kfree, kalloc_init): List the arguments.
2007-04-24 Michael Casadevall <sonicmctails@gmail.com> * linux/src/drivers/net/ne.c (bad_clone_list): Add the RealTek 8029 PCI card's signature. <http://lists.gnu.org/archive/html/bug-hurd/2007-04/msg00039.html>
2007-04-24 Thomas Schwinge <tschwinge@gnu.org> * ipc/ipc_port.h: Include <ipc/ipc_space.h>.
2007-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org> * device/ds_routines.c: Add hypervisor block and net devices.
2007-04-11 Thomas Schwinge <tschwinge@gnu.org> * config.status.dep.patch: Update to match more files. This fixes building GNU Mach with ``make -j2'' and higher. The problem was reported by Michael Casadevall <sonicmctails@gmail.com>.
Sync to the `gnumach-1-branch'.
Whitespace fixes.
Whitespace fixes.
2007-04-02 Thomas Schwinge <tschwinge@gnu.org> * i386/i386/io_emulate.c: Remove file. * i386/i386/io_emulate.h: Likewise. * i386/i386at/iopl.c: Likewise. * i386/Makefrag.am (libkernel_a_SOURCES): Remove the aforementioned files. * i386/i386/trap.c: Don't include <i386/io_emulate.h>. (v86_assist, check_io_fault): Remove functions. (user_trap): Remove the code referencing the above functions. * i386/i386at/conf.c (dev_name_list): Remove the `iopl' device. * DEVELOPMENT: Document this.
2007-03-30 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (gnumach_o_LINK): Remove ``--start-group''.
2007-03-27 Thomas Schwinge <tschwinge@gnu.org> Unconditionally use the device driver multiplexing. Suggested by Gianluca Guida <glguida@gmail.com>. * i386/i386at/dev_hdr.h: Merge into `device/dev_hdr.h' and remove. * i386/i386at/device_emul.h: Rename to `device/device_emul.h'. Adapt all users. * i386/i386at/i386at_ds_routines.c: Merge into `device/ds_routines.c' and remove. * i386/linux/dev/include/linux_emul.h: Remove file. * Makefrag.am (libkernel_a_SOURCES): Add `device/device_emul.h'. * i386/Makefrag.am (libkernel_a_SOURCES): Remove `i386/i386at/dev_hdr.h', `i386/i386at/device_emul.h' and `i386/i386at/i386at_ds_routines.c'. * i386/linux/Makefrag.am (liblinux_a_SOURCES): Remove `i386/linux/dev/include/linux_emul.h'. * dev/dev_hdr.h: Adapt all users of `i386' as if it were always defined. * device/dev_lookup.c: Likewise. * device/ds_routines.c: Likewise. * device/device_init.c (ds_init): Rename to `mach_device_init'. * device/ds_routines.c (ds_init): Likewise. (ds_trap_init): Rename to `mach_device_trap_init'. (mach_device_trap_init): Make it `static'. * linux/dev/glue/block.c: Don't include <linux_emul.h>, but instead include <device/device_emul.h> and <i386at/disk.h>. * linux/dev/glue/net.c: Don't include <linux_emul.h>, but instead include <device/device_emul.h>. * linux/pcmcia-cs/glue/ds.c: Likewise.
2007-03-27 Thomas Schwinge <tschwinge@gnu.org> * kern/pcsample.h: Remove the automatic cvs log appending machinery. * linux/dev/drivers/scsi/g_NCR5380.c: Likewise. * linux/src/drivers/net/sk_g16.h: Likewise. * linux/src/drivers/scsi/AM53C974.c: Likewise. * linux/src/drivers/scsi/AM53C974.h: Likewise. * linux/src/drivers/scsi/NCR5380.c: Likewise. * linux/src/drivers/scsi/NCR5380.h: Likewise. * linux/src/drivers/scsi/aha152x.c: Likewise. * linux/src/drivers/scsi/aha1542.h: Likewise. * linux/src/drivers/scsi/g_NCR5380.c: Likewise. * linux/src/drivers/scsi/g_NCR5380.h: Likewise. * linux/src/drivers/scsi/gdth.c: Likewise. * linux/src/drivers/scsi/qlogicisp.c: Likewise. * linux/src/drivers/scsi/qlogicisp.h: Likewise. * linux/src/drivers/scsi/t128.c: Likewise. * linux/src/drivers/scsi/t128.h: Likewise.
2007-03-24 Thomas Schwinge <tschwinge@gnu.org> * i386/i386at/conf.c (block_io_mmap): Remove declaration.
2007-03-24 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi: Fix a typo and the url for GNU GRUB.
2007-03-24 Thomas Schwinge <tschwinge@gnu.org> * device/kmsg.h: Include <sys/types.h>, <device/device_types.h> and <device/io_req.h>.
2007-03-24 Thomas Schwinge <tschwinge@gnu.org> * Makefrag.am (libkernel_a_SOURCES): Move `device/kmsg.h' into [enable_kmsg].
2007-03-23 Thomas Schwinge <tschwinge@gnu.org> * Makerules.am (%.server.msgids, %.user.msgids): Merge into the existing ``%.h %.c'' rules. Comment out the currently unused rpc stub rules. * Makefrag.am (gnumach.msgids): Rewrite. (nodist_libkernel_a_SOURCES): Add all ``.msgids'' files. * i386/Makefrag.am (nodist_libkernel_a_SOURCES): Likewise.
2007-03-19 Tim Retout <tim@retout.co.uk> * i386/ldscript: Correct 'LINKFLAGS_gnumach' in comment.
2007-03-19 Tim Retout <tim@retout.co.uk> * i386/ldscript: Correct 'LINKFLAGS_gnumach' in comment.
sync with gnumach-1-branch
2007-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/user_ldt.c (i386_set_gdt): Call switch_ktss() if target is current thread.
fix user_gdt
net_filter is actually interrupt-safe
2007-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org> [bug #18349 --- ``General Protection Trap'' in `ipc_kmsg_enqueue'] * device/net_io.c (net_deliver): Call net_filter() with splimp held. * linux/dev/glue/net.c (device_write): Call net_packet() with splimp held.
use HYPERVISOR_VIRT_START for computing VM_MAX_KERNEL_ADDRESS
2007-03-04 Thomas Schwinge <tschwinge@gnu.org> * tests/configfrag.ac (MBCHK): Remove check. * tests/test-mbchk.in: Fail correctly if `mbchk' is not available.
2007-03-04 Thomas Schwinge <tschwinge@gnu.org> * tests/configfrag.ac (MBCHK): Remove check. * tests/test-mbchk.in: Fail correctly if `mbchk' is not available.
async support for block & net, fixed events & time, cleanups
2007-03-01 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/glue/block.c (free_buffer): Use `VM_PAGE_FREE'. * vm/vm_object.c (vm_object_collapse, vm_object_page_remove) (vm_object_page_map): Likewise.
2007-03-01 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/glue/block.c (free_buffer): Use `VM_PAGE_FREE'. * vm/vm_object.c (vm_object_collapse, vm_object_page_remove) (vm_object_page_map): Likewise.
2007-02-20 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix ddb's trace command. * i386/i386/db_trace.c (db_find_trace_symbols): Drop _ prefix on ELF targets. (db_i386_stack_trace): Check that adresses of known functions were really found. * linux/dev/glue/block.c (free_buffer): Fix vm_page_lock_queues/vm_page_unlock_queues pair.
drop drivers useless for Xen
last fixes, apt-get dist-upgraded!!
yet more debugging
Some page free fixups
2007-02-20 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/glue/block.c (free_buffer): Fix vm_page_lock_queues/vm_page_unlock_queues pair.
2007-02-20 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix ddb's trace command. * i386/i386/db_trace.c (db_find_trace_symbols): Drop _ prefix on ELF targets. (db_i386_stack_trace): Check that adresses of known functions were really found.
Remove old ChangeLog entry.
2007-02-19 Thomas Schwinge <tschwinge@gnu.org> * i386/xen/Makefrag.am [PLATFORM_xen] (gnumach_LINKFLAGS): Define.
2007-02-19 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (gnumach_LINKFLAGS): New variable. (gnumach_LINK): Use that one instead of the previously used `LINKFLAGS_gnumach'. * i386/Makefrag.am (LINKFLAGS_gnumach): Rename to `gnumach_LINKFLAGS', move into [PLATFORM_at] and pass `_START'. * i386/ldscript: Don't hardcode a _start address of 0x100000, but make it configurable via `_START'.
2007-02-19 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (gnumach_LINKFLAGS): New variable. (gnumach_LINK): Use that one instead of the previously used `LINKFLAGS_gnumach'. * i386/Makefrag.am (LINKFLAGS_gnumach): Rename to `gnumach_LINKFLAGS', move into [PLATFORM_at] and pass `_START'. * i386/ldscript: Don't hardcode a _start address of 0x100000, but make it configurable via `_START'.
2007-02-19 Thomas Schwinge <tschwinge@gnu.org> * Makefrag.am: Include `xen/Makefrag.am'. * configure.ac: Include `xen/configfrag.ac'. (--enable-platform): Support the `xen' platform. * i386/configfrag.ac: Likewise. * i386/Makefrag.am [PLATFORM_xen]: Include `i386/xen/Makefrag.am'. 2007-02-19 Samuel Thibault <samuel.thibault@ens-lyon.org> Thomas Schwinge <tschwinge@gnu.org> * i386/xen/Makefrag.am: New file. * xen/Makefrag.am: Likewise. * xen/configfrag.ac: Likewise.
2007-02-19 Thomas Schwinge <tschwinge@gnu.org> Add a `--enable-platform' option for future use. Allow building without any Linux code. * Makefile.am: Don't include `linux/Makefrag.am' in there... * Makefrag.am: ... but rather in here. * configfrag.ac (MACH_MACHINE_ROUTINES): AC_DEFINE_UNQUOTED based on then shell variable `mach_machine_routines'. (--disable-default-device-drivers): Don't define in there... * configure.ac: ... but rather in here. (--enable-platform): New option. (host_platform): New variable. (HOST_i386): Don't define there... * i386/configfrag.ac (HOST_ix86): ... but rather here, rename it and adapt all users. (PLATFORM_at): New conditional. (MACH_MACHINE_ROUTINES): Don't AC_DEFINE, but rather set a shell variable `mach_machine_routines'. * linux/Makefrag.am (noinst_LIBRARIES, gnumach_o_LDADD): Only enhance ``if CODE_linux'' or ``if device_driver_group_pcmcia''. * linux/configfrag.ac (AC_OPTION): Rename to `AC_OPTION_Linux_ix86_at' and rework a bit. Adapt all users. (AC_OPTION_nodef): Rename to `AC_OPTION_Linux_ix86_at_nodef' and rework a bit. Adapt all users. (CODE_linux): New conditional. * i386/Makefrag.am (LINKFLAGS_gnumach): Don't evaluate $(systype). * Makefile.am: Update the FSF's postal address. * doc/Makefrag.am: Likewise. * i386/linux/Makefrag.am: Likewise. * linux/Makefrag.am: Likewise. * tests/Makefrag.am: Likewise. * tests/configfrag.ac: Move to GPL.
2007-02-19 Thomas Schwinge <tschwinge@gnu.org> Add a `--enable-platform' option for future use. Allow building without any Linux code. * Makefile.am: Don't include `linux/Makefrag.am' in there... * Makefrag.am: ... but rather in here. * configfrag.ac (MACH_MACHINE_ROUTINES): AC_DEFINE_UNQUOTED based on then shell variable `mach_machine_routines'. (--disable-default-device-drivers): Don't define in there... * configure.ac: ... but rather in here. (--enable-platform): New option. (host_platform): New variable. (HOST_i386): Don't define there... * i386/configfrag.ac (HOST_ix86): ... but rather here, rename it and adapt all users. (PLATFORM_at): New conditional. (MACH_MACHINE_ROUTINES): Don't AC_DEFINE, but rather set a shell variable `mach_machine_routines'. * linux/Makefrag.am (noinst_LIBRARIES, gnumach_o_LDADD): Only enhance ``if CODE_linux'' or ``if device_driver_group_pcmcia''. * linux/configfrag.ac (AC_OPTION): Rename to `AC_OPTION_Linux_ix86_at' and rework a bit. Adapt all users. (AC_OPTION_nodef): Rename to `AC_OPTION_Linux_ix86_at_nodef' and rework a bit. Adapt all users. (CODE_linux): New conditional. * i386/Makefrag.am (LINKFLAGS_gnumach): Don't evaluate $(systype). * Makefile.am: Update the FSF's postal address. * doc/Makefrag.am: Likewise. * i386/linux/Makefrag.am: Likewise. * linux/Makefrag.am: Likewise. * tests/Makefrag.am: Likewise. * tests/configfrag.ac: Move to GPL.
event channels work
new event module
move arch-independent code
fake spl support
hopefully fixed pmap_collect
fixed network reception. packets don't seem to get through, though
network reception now happens, though data is garbage
pfinet now survives, reception still not working
2007-02-11 Thomas Schwinge <tschwinge@gnu.org> [sync from gnumach-1-branch, 2007-02-05] * kern/mach_clock.c: Don't include <kern/time_out.h>. * i386/i386/hardclock.c: Include <kern/mach_clock.h> instead of <kern/time_out.h>. * i386/i386/pit.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/i386at/rtc.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/mach_factor.c: Likewise. * kern/priority.c: Likewise. * kern/sched_prim.c: Likewise. * kern/startup.c: Likewise. * kern/syscall_subr.c: Likewise. * kern/thread.h: Likewise. * kern/zalloc.c: Likewise. * kern/host.c: Include <kern/mach_clock.h>. (tick): Remove declaration. * kern/pc_sample.c: Likewise. * kern/thread.c: Likewise. * kern/sched_prim.c (hz): Remove declaration. * kern/syscall_subr.c (hz): Likewise. * linux/dev/init/main.c (hz): Likewise. * kern/time_out.h: Remove file after having installed the missing bits in... * kern/mach_clock.h: ... here. * configfrag.ac: Enhance comments. * vm/vm_debug.c (MACH_VM_DEBUG): Correctly place conditional. 2007-02-11 Thomas Schwinge <tschwinge@gnu.org> [sync from gnumach-1-branch, 2007-02-04] * doc/mach.texi (thread_switch): Enhance a bit. * doc/Makefrag.am ($(web)): Use ``mkdir -p''. * doc/mach.texi: Fix unusual hyphens.
2007-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org> Early Xen support * Makefile.am (clib_routines): Add memcmp, _start, etext, _edata, end, _end, udivdi3, __udivdi3. (gnumach-undef): Don't strip leading _. (clib-routines.o): Link with libgcc. * Makefrag.am [enable_xen] (libkernel_a_SOURCES): Add xen source. (include_mach_HEADERS): Add include/mach/xen.h. * configure.ac: Add --enable-xen option. * device/cons.c (cnputc): Call hyp_console_write(). * device/net_io.c (net_thread_continue): Panic. * i386/Makefrag.am (libkernel_a_SOURCES): Move i386/i386at/boothdr.S, i386/i386at/rtc.c, i386/i386/pit.c, i386/i386/pit.h, to [!enable_xen]. [enable_xen] (libkernel_a_SOURCES): Add i386/xen/xen.c, i386/xen/xen_locore.S, i386/xen/xen_boothdr.S. (i386/i386at/interrupt.o): Depends on i386/i386/i386asm.h. * i386/ldscript: Start kernel at 0. * i386/i386/debug_trace.S: Include <mach/xen.h> * i386/i386/fpu.c [MACH_XEN] (init_fpu): Call set_ts() and clear_ts(). * i386/i386/gdt.c: Include <i386/xen.h> and <intel/pmap.h>. [MACH_XEN]: Make gdt array extern. [MACH_XEN] (gdt_init): Register gdt with hypervisor. Shift pfn_list and la_shift. * i386/i386/gdt.h: Add KERNEL_RING to KERNEL_CS and KERNEL_DS. [MACH_XEN]: Don't define KERNEL_LDT. * i386/i386/i386asm.sym: Include "mach/xen.h". Add KERNEL_RING. [MACH_XEN]: Remove KERNEL_LDT, Add shared_info's CLI and shared_info's CR2. * i386/i386/idt.c [MACH_XEN] (idt_init): Register trap table with hypervisor. * i386/i386/idt_inittab.S: Include <i386/i386asm.h>. [MACH_XEN]: Set IDT_ENTRY() for hypervisor. Set trap table terminator. * i386/i386/iopb.c [MACH_XEN] (io_tss_init): Panic on I/O. * i386/i386/ktss.c [MACH_XEN] (ktss_init): Request exception task switch from hypervisor. * i386/i386/ldt.c: Include <i386/xen.h> and <intel/pmap.h> [MACH_XEN]: Make ldt array extern. [MACH_XEN] (ldt_init): Register ldt with hypervisor. * i386/i386/locore.S: Include <mach/xen.h>. Handle KERNEL_RING == 1 case. [MACH_XEN]: Read hyp_shared_info's CR2 instead of %cr2. Drop Cyrix I/O-based detection. Read cr3 instead of %cr3. Add mfn_to_pfn computation. Make hypervisor call for pte invalidation. * i386/i386/mp_desc.c: Include <i386/xen.h>. [MACH_XEN] (mp_desc_init): Panic. * i386/i386/pcb.c: Include <i386/xen.h>. [MACH_XEN] (switch_ktss): Request stack, ldt and gdt switch from hypervisor. * i386/i386/phys.c: Include <i386/xen.h> [MACH_XEN] (kvtophys): Do page translation. * i386/i386/pic.c [MACH_XEN]: Drop Low-level I/O. * i386/i386/proc_reg.h [MACH_XEN]: Define set_cr3, set_ts and clear_ts macro. * i386/i386/seg.h: Define KERNEL_RING macro. Include <i386/xen.h> (ACC_PL_K, SEL_PL_K): Use KERNEL_RING macro. [MACH_XEN] (fill_descriptor): Register descriptor with hypervisor. * i386/i386/spl.S: Include <mach/xen.h> and <i386/i386/asm.h> * i386/i386/vm_param.h [MACH_XEN]: Set VM_MAX_KERNEL_ADDRESS to 0x3C000000. Increase KERNEL_STACK_SIZE and INTSTACK_SIZE to 128 pages. * i386/i386at/conf.c [MACH_XEN]: Add hypervisor console device. * i386/i386at/cons_conf.c [MACH_XEN]: Add hypervisor console device. * i386/i386at/i386at_ds_routines.c [MACH_XEN]: Add hypervisor block and net devices. * i386/i386at/int_init.c [MACH_XEN]: Register interrupt with hypervisor. * i386/i386at/model_dep.c: Include <sys/types.h>, <mach/xen.h>, <machine/xen.h>, <xen/console.h>, <xen/store.h>. [MACH_XEN]: New boot_info, mfn_list, pfn_list, la_shift variables. Drop BIOS skipping mecanism. [MACH_XEN] (machine_init): Call init_xen(), drop hardware initialization. [MACH_XEN] (machine_idle): Perform hypervisor yield calls. [MACH_XEN] (halt_cpu): Halt domain. [MACH_XEN] (halt_all_cpus): Reboot or halt domain. [MACH_XEN] (mem_size_init): Fix memory size computation. [MACH_XEN] (i386at_init): Initialize with hypervisor. [MACH_XEN] (c_boot_entry): Add Xen-specific initialization. [MACH_XEN] (init_alloc_aligned): Drop zones skipping mecanism. [MACH_XEN] (pmap_valid_page): Likewise. * i386/intel/pmap.c: Include <i386/xen.h> and <mach/xen.h>. [MACH_XEN] (WRITE_PTE): Do page translation. [MACH_XEN] (INVALIDATE_PTE): Request invalidation from hypervisor. [MACH_XEN] (pmap_map_bd): Request MMU update from hypervisor. [MACH_XEN] (pmap_create): Likewise. [MACH_XEN] (pmap_remove_range): Likewise. [MACH_XEN] (pmap_page_protect): Likewise. [MACH_XEN] (pmap_protect): Likewise. [MACH_XEN] (pmap_enter): Likewise. [MACH_XEN] (pmap_change_wiring): Likewise. [MACH_XEN] (pmap_attribute_clear): Likewise. [MACH_XEN] (pmap_unmap_page_zero): Likewise. [MACH_XEN] (pmap_collect): Likewise, but first panic (not tested yet). [MACH_XEN] (pmap_bootstrap): Request pagetable initialization from hypervisor. [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) (pmap_set_page_readonly_init, pmap_clear_bootstrap_pagetable) (pmap_map_mfn): New functions. * i386/intel/pmap.h [MACH_XEN] (INTEL_PTE_GLOBAL): Disable global page support. [MACH_XEN] (pte_to_pa): Do page translation. [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) (pmap_set_page_readonly_init, pmap_map_mfn) (pmap_clear_bootstrap_pagetable): Declare functions. * i386/i386/xen.h: New file. * i386/xen/xen.c: New file. * i386/xen/xen_boothdr.S: New file. * i386/xen/xen_locore.S: New file. * include/string.h (memcmp): Declare function. * include/mach/xen.h: New file. * kern/bootstrap.c [MACH_XEN] (boot_info): Declare variable. [MACH_XEN] (bootstrap_create): Add ugly hand-set module splitting. * kern/debug.c: Include <machine/xen.h>. [MACH_XEN] (panic): Halt domain. * kern/startup.c (cpu_launch_first_thread): Really call startrtclock() with an active thread. * linux/dev/include/asm-i386/segment.h [MACH_XEN] (KERNEL_CS) (KERNEL_DS): Use ring 1. * vm/pmap.h (pmap_steal_hole): Declare function. * vm/vm_fault.c (vm_fault): Bug out when fault is in kernel-mapped physical area. * vm/vm_resident.c: Include <machine/xen.h>. (pmap_steal_hole): New function. (vm_page_release): Add a few more temporary checks. * xen/block.c: New file. * xen/block.h: Likewise. * xen/console.c: Likewise. * xen/console.h: Likewise. * xen/grant.c: Likewise. * xen/grant.h: Likewise. * xen/net.c: Likewise. * xen/net.h: Likewise. * xen/ring.c: Likewise. * xen/ring.h: Likewise. * xen/store.c: Likewise. * xen/store.h: Likewise. * xen/time.c: Likewise. * xen/time.h: Likewise. * xen/xen.c: Likewise. * xen/xen.h: Likewise. * xen/public/COPYING: Import file from Xen. * xen/public/acm.h: Likewise. * xen/public/acm_ops.h: Likewise. * xen/public/arch-ia64.h: Likewise. * xen/public/arch-x86_32.h: Likewise. * xen/public/arch-x86_64.h: Likewise. * xen/public/dom0_ops.h: Likewise. * xen/public/event_channel.h: Likewise. * xen/public/features.h: Likewise. * xen/public/grant_table.h: Likewise. * xen/public/memory.h: Likewise. * xen/public/nmi.h: Likewise. * xen/public/physdev.h: Likewise. * xen/public/sched.h: Likewise. * xen/public/sched_ctl.h: Likewise. * xen/public/trace.h: Likewise. * xen/public/vcpu.h: Likewise. * xen/public/version.h: Likewise. * xen/public/xen-compat.h: Likewise. * xen/public/xen.h: Likewise. * xen/public/hvm/hvm_info_table.h: Likewise. * xen/public/hvm/ioreq.h: Likewise. * xen/public/hvm/vmx_assist.h: Likewise. * xen/public/io/blkif.h: Likewise. * xen/public/io/console.h: Likewise. * xen/public/io/netif.h: Likewise. * xen/public/io/pciif.h: Likewise. * xen/public/io/ring.h: Likewise. * xen/public/io/tpmif.h: Likewise. * xen/public/io/xenbus.h: Likewise. * xen/public/io/xs_wire.h: Likewise.
2007-02-05 Thomas Schwinge <tschwinge@gnu.org> * kern/mach_clock.c: Don't include <kern/time_out.h>.
2007-02-05 Thomas Schwinge <tschwinge@gnu.org> * i386/i386/hardclock.c: Include <kern/mach_clock.h> instead of <kern/time_out.h>. * i386/i386/pit.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/i386at/rtc.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/mach_factor.c: Likewise. * kern/priority.c: Likewise. * kern/sched_prim.c: Likewise. * kern/startup.c: Likewise. * kern/syscall_subr.c: Likewise. * kern/thread.h: Likewise. * kern/zalloc.c: Likewise. * kern/host.c: Include <kern/mach_clock.h>. (tick): Remove declaration. * kern/pc_sample.c: Likewise. * kern/thread.c: Likewise. * kern/sched_prim.c (hz): Remove declaration. * kern/syscall_subr.c (hz): Likewise. * linux/dev/init/main.c (hz): Likewise.
2007-02-05 Thomas Schwinge <tschwinge@gnu.org> * kern/time_out.h: Remove file after having installed the missing bits in... * kern/mach_clock.h: ... here.
2007-02-05 Thomas Schwinge <tschwinge@gnu.org> * configfrag.ac: Enhance comments.
2007-02-05 Thomas Schwinge <tschwinge@gnu.org> * vm/vm_debug.c (MACH_VM_DEBUG): Correctly place conditional.
2007-02-04 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi (thread_switch): Enhance a bit.
2007-02-04 Thomas Schwinge <tschwinge@gnu.org> * doc/Makefrag.am ($(web)): Use ``mkdir -p''.
2007-02-04 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi: Fix unusual hyphens.
2007-02-04 Thomas Schwinge <tschwinge@gnu.org> * i386/i386/hardclock.c: Don't check for the `SYMMETRY' platform.
2007-02-04 Thomas Schwinge <tschwinge@gnu.org> * kern/timer.h: Add some comments from... * i386/i386/timer.h: ... here and remove this file.
2007-01-26 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi: Fix the last change.
2007-01-22 Thomas Schwinge <tschwinge@gnu.org> * COPYING: Update via GNU automake 1.10. * doc/fdl.texi: Update from <http://www.gnu.org/licenses/fdl.texi>. * doc/gpl.texi: Update from <http://www.gnu.org/licenses/gpl.texi>. * doc/mach.texi: Use the GFDL 1.2.
Note to myself: it's 2007 already...
Marcus is clearly out of training. ;-)
Marcus is clearly out of training. ;-)
2007-01-21 Marcus Brinkmann <marcus@gnu.org> * doc/mach.texi: Many typos fixed. Submitted by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
2007-01-21 Marcus Brinkmann <marcus@gnu.org> * doc/mach.texi: Many typos fixed. Submitted by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
Undo the following change: #v+ 2006-01-11 Thomas Schwinge <tschwinge@gnu.org> These following files are regenerated by running ``autoreconf -i'' and ``make info''. * COPYING: Remove file. #v-
2006-01-11 Thomas Schwinge <tschwinge@gnu.org> * DEVELOPMENT (LAYOUT OF THE SOURCE TREE): New section.
2006-01-11 Thomas Schwinge <tschwinge@gnu.org> These following files are regenerated by running ``autoreconf -i'' and ``make info''. * COPYING: Remove file. * INSTALL: Likewise. * Makefile.in: Likewise. * aclocal.m4: Likewise. * build-aux/compile: Likewise. * build-aux/config.guess: Likewise. * build-aux/config.sub: Likewise. * build-aux/depcomp: Likewise. * build-aux/install-sh: Likewise. * build-aux/mdate-sh: Likewise. * build-aux/missing: Likewise. * build-aux/texinfo.tex: Likewise. * config.h.in: Likewise. * configure: Likewise. * doc/mach.info: Likewise. * doc/mach.info-1: Likewise. * doc/mach.info-2: Likewise. * doc/stamp-vti: Likewise. * doc/version.texi: Likewise.
2006-01-06 Thomas Schwinge <tschwinge@gnu.org> * ddb/db_break.c (db_delete_thread_breakpoint): Don't declare `db_cond_free'. * ddb/db_run.c: Include <ddb/db_cond.h>. (db_stop_at_pc): Don't declare `db_cond_check'. * ddb/db_input.c: Include <ddb/db_input.h>. * ddb/db_macro.c: Include <ddb/db_macro.h>. * ddb/db_trap.c: Include <ddb/db_trap.h>. * i386/i386/db_interface.h: Include <machine/thread.h>. * i386/i386/db_interface.c: Include <machine/db_interface.h>. * i386/i386/db_machdep.h: Include <machine/db_interface.h>. (db_check_access, db_phys_eq, db_task_name): Remove declarations. 2006-01-06 Barry deFreese <bddebian@comcast.net> * ddb/db_aout.c: Include <ddb/db_output.h>. * ddb/db_break.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and <ddb/db_output.h>. (db_delete_cmd, db_breakpoint_cmd): Explicitly define untyped variables as `int'. * ddb/db_command.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and <ddb/db_macro.h>. * ddb/db_command.h (db_exec_cmd_nest): New declaration. * ddb/db_cond.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and <ddb/db_output.h>. (db_cond_cmd): Explicitly define untyped variable as `int'. * ddb/db_cond.h: New file. * ddb/db_examine.c: Include <machine/db_interface.h>, <ddb/db_examine.h> and <ddb/db_expr.h>. (db_strcpy, db_examine): Remove forward declarations. (db_xcdump): Explicitly define untyped variables as `int'. * ddb/db_examine.h: New file. * ddb/db_expr.c: Include <ddb/db_expr.h>, <ddb/db_output.h>, <ddb/db_sym.h> and <ddb/db_variables.h>. * ddb/db_input.c: Include <ddb/db_command.h>. * ddb/db_input.h: New file. * ddb/db_lex.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, <ddb/db_input.h> and <ddb/db_output.h>. (db_skip_to_eol, db_lex): Explicitly define untyped variables as `int'. * ddb/db_lex.h (db_lex): New declaration. * ddb/db_macro.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and <ddb/db_output.h>. (db_def_macro_cmd, db_exec_macro): Explicitly define untyped variables as `int'. * ddb/db_macro.h: New file. * ddb/db_output.c: Include <ddb/db_command.h>. * ddb/db_output.h (db_putchar): New declaration. * ddb/db_print.c: Include <machine/db_interface.h>, <ddb/db_command.h> and <ddb/db_output.h>. (db_show_regs): Explicitly define untyped variables as `int'. * ddb/db_run.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, <ddb/db_output.h> and <ddb/db_watch.h>. * ddb/db_run.h: Include <kern/task.h> and <machine/db_machdep.h>. (db_single_step, db_single_step_cmd, db_in_single_step): New declarations. * ddb/db_sym.c: Include <ddb/db_command.h> and <ddb/db_output.h>. (db_sym_parse_and_lookup): Explicitly define untyped variables as `int'. * ddb/db_sym.h (db_line_at_pc): New declaration. * ddb/db_task_thread.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, <ddb/db_lex.h> and <ddb/db_output.h>. (db_lookup_task, db_lookup_task_thread, db_lookup_thread) (db_lookup_task_id, db_lookup_thread_id): Explicitly define untyped variables as `int'. * ddb/db_trap.c: Include <ddb/db_examine.h> and <ddb/db_output.h>. * ddb/db_trap.h: New file. * ddb/db_variables.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, <ddb/db_expr.h> and <ddb/db_output.h>. (db_get_suffix, db_cmp_variable_name): Explicitly define untyped variables as `int'. * ddb/db_variables.h (db_get_variable): New declaration. * ddb/db_watch.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, <ddb/db_output.h> and <ddb/db_run.h>. * ddb/db_write_cmd.c: Include <ddb/db_expr.h> and <ddb/db_output.h>. * i386/i386/db_interface.c: Include <kern/printf.h>, <ddb/db_access.h>, <ddb/db_command.h>, <ddb/db_output.h>, <ddb/db_run.h> and <ddb/db_trap.h>. (kdbprinttrap): Add `void' return type. (db_user_to_kernel_address, db_task_name): Explicitly define untyped variables as `int'. * i386/i386/db_interface.h: New file. * i386/i386/db_trace.c (db_i386_reg_value): Add `int' return type. * i386/i386/trap.c [MACH_KDB]: Include <ddb/db_run.h> and <ddb/db_watch.h>. * ipc/ipc_kmsg.c [MACH_KDB]: Include <ddb/db_output.h>. * kern/lock.c [MACH_KDB]: Include <ddb/db_output.h>.
2007-01-06 Thomas Schwinge <tschwinge@gnu.org> * configure.ac (AM_INIT_AUTOMAKE): Add ``-Wall -Wno-portability''.
2006-12-30 Richard Braun <syn@hurdfr.org> Add alignment support in the zone allocator. * kern/zalloc.c (ALIGN_SIZE_UP): New macro. (zinit): New `align' parameter. (zget_space): Likewise. (zalloc): Updated call to zget_space() with the zone alignment. * kern/zalloc.h (zone): New member `align'. (zinit): Declaration updated as required. * device/dev_lookup.c (dev_lookup_init): Updated call to zinit() with alignment of 0. * device/dev_pager.c (dev_pager_hash_init): Likewise. (device_pager_init): Likewise. * device/ds_routines.c (ds_init): Likewise. (ds_trap_init): Likewise. * device/net_io.c (net_io_init): Likewise. * i386/i386/fpu.c (fpu_module_init): Likewise. * i386/i386/pcb.c (pcb_module_init): Likewise. * i386/intel/pmap.c (pmap_init): Likewise. * ipc/ipc_init.c (ipc_bootstrap): Likewise. * ipc/ipc_marequest.c (ipc_marequest_init): Likewise. * kern/act.c (global_act_init): Likewise. * kern/kalloc.c (kalloc_init): Likewise. * kern/processor.c (pset_sys_init): Likewise. * kern/task.c (task_init): Likewise. * kern/thread.c (thread_init): Likewise. * kern/zalloc.c (zone_bootstrap): Likewise. * vm/vm_external.c (vm_external_module_initialize): Likewise. * vm/vm_fault.c (vm_fault_init): Likewise. * vm/vm_map.c (vm_map_init): Likewise. * vm/vm_object.c (vm_object_bootstrap): Likewise. * vm/vm_resident.c (vm_page_module_init): Likewise.
2007-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix translation of port into device in the "no sender" notification. * i386/i386at/i386at_ds_routines.c (ds_notify): Use dev_port_lookup() for translating the remote port.
2007-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix loop indexing. * i386/intel/pmap.c (pmap_change_wiring): Increment pte in the unwiring loop.
2007-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org> Drop old and broken support for Olivetti XP7 & XP9 * i386/intel/pma.c [ORC] (OLIVETTICACHE): Remove macro. [OLIVETTICACHE] (pstart): Remove declaration. (CACHE_LINE, CACHE_SIZE, CACHE_PAGE, WRITE_PTE, WRITE_PTE_FAST): Remove macros. [OLIVETTICACHE] (write_pte): Remove function. * DEVELOPMENT: Document the removal.
2006-12-19 Samuel Thibault <samuel.thibault@ens-lyon.org> Add support for global pages. * i386/i386at/model_dep.c: Include <i386/locore.h>. (i386at_init): Set CR4_PGE if available. (c_boot_entry): Call discover_x86_cpu_type() before i386at_init(). * i386/intel/pmap.c: Include <i386/locore.h>. (pmap_map_bd): Use INTEL_PTE_GLOBAL if available. (pmap_bootstrap): Likewise.
Revise.
2006-12-19 Samuel Thibault <samuel.thibault@ens-lyon.org> Add support for cr3/cr4 flags. * i386/i386/proc_reg.h (CR3_PCD, CR3_PWT, CR4_VME, CR4_PVI, CR4_TSD) (CR4_DE, CR4_PSE, CR4_PAE, CR4_MCE, CR4_PGE, CR4_PCE, CR4_OSFXSR) (CR4_OSXMMEXCPT, get_cr4, set_cr4): New macros. * i386/intel/pmap.h (INTEL_PTE_GLOBAL): New macro.
2006-12-19 Samuel Thibault <samuel.thibault@ens-lyon.org> Add support for x86 features. * i386/i386/locore.h (cpu_features): New variable declaration. (CPU_FEATURE_FPU, CPU_FEATURE_VME, CPU_FEATURE_DE, CPU_FEATURE_PSE, CPU_FEATURE_TSC, CPU_FEATURE_MSR, CPU_FEATURE_PAE, CPU_FEATURE_MCE, CPU_FEATURE_CX8, CPU_FEATURE_APIC, CPU_FEATURE_SEP, CPU_FEATURE_MTRR, CPU_FEATURE_PGE, CPU_FEATURE_MCA, CPU_FEATURE_CMOV, CPU_FEATURE_PAT, CPU_FEATURE_PSE_36, CPU_FEATURE_PSN, CPU_FEATURE_CFLSH, CPU_FEATURE_DS, CPU_FEATURE_ACPI, CPU_FEATURE_MMX, CPU_FEATURE_FXSR, CPU_FEATURE_SSE, CPU_FEATURE_SSE2, CPU_FEATURE_SS, CPU_FEATURE_HTT, CPU_FEATURE_TM, CPU_FEATURE_PBE, CPU_HAS_FEATURE): New macros * i386/i386/locore.S (cpu_features): New variable. (discover_x86_cpu_type): Record CPUID feature word 0.
2006-12-13 Samuel Thibault <samuel.thibault@ens-lyon.org> Drop useless and broken FPE support. * i386/configfrac.ac (FPE): Don't define. * i386/i386/gdt.h (FPE_CS, USER_FPREGS): Remove macros. * i386/i386/fpu.c (init_fpu, fpu_set_state, fpu_get_state): Remove FPE support. * i386/i386/fpu.h: Likewise. * i386/i386/trap.c (user_trap, i386_exception): Likewise. * i386/i386/fpe_linkage.c: Remove file. * i386/Makefrag.am: Remove i386/i386/fpe_linkage.c. * Makefile.in: Regenerate.
Typo.
2006-12-03 Thomas Schwinge <tschwinge@gnu.org> [patch #5019 --- ``Remove checks for continuations''] * DEVELOPMENT: Document the removal. * i386/configfrag.ac (CONTINUATIONS): Don't define. 2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> [patch #5019 --- ``Remove checks for continuations''] * ipc/mach_msg.c: Adopt all users of CONTINUATIONS as if it were always defined. * kern/eventcount.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/syscall_subr.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_pageout.c: Likewise. * vm/vm_resident.c: Likewise.
2006-12-03 Thomas Schwinge <tschwinge@gnu.org> [patch #5017 --- ``Remove obsolete IPC interfaces.''] * DEVELOPMENT: Document the removal. * configfrag.ac (MACH_IPC_COMPAT): Don't define. 2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> [patch #5017 --- ``Remove obsolete IPC interfaces.''] * kern/act.c [MIGRATING_THREADS]: Don't include <mach_ipc_compat.h>. * kern/act.h: Likewise. * i386/include/mach/i386/machine_types.defs: Adapt all users of MACH_IPC_COMPAT as if it were always defined to `0'. * include/mach/mach.defs: Likewise. * 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/syscall_sw.h: 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/act.c: Likewise. * kern/act.h: Likewise. * kern/ipc_host.c: Likewise. * kern/ipc_tt.c: Likewise. * kern/syscall_sw.c: Likewise. * kern/thread.h: Likewise.
2006-12-03 Thomas Schwinge <tschwinge@gnu.org> [bug #17120 --- ``GNU Mach debian dir''] * debian/README.Debian: Remove file. * debian/changelog: Likewise. * debian/control: Likewise. * debian/copyright: Likewise. * debian/postinst: Likewise. * debian/prerm: Likewise. * debian/rules: Likewise.
2006-12-03 Thomas Schwinge <tschwinge@gnu.org> [bug #18015 --- ``GNU Mach: `make dist' and friends''] * Makefile.am (DISTCLEANFILES): New variable.
2006-11-30 Thomas Schwinge <tschwinge@gnu.org> * Makefile.in: Regenerate. * configure: Likewise.
2006-11-30 Barry deFreese <bddebian@comcast.net> Thomas Schwinge <tschwinge@gnu.org> [bug #18015 --- ``GNU Mach: `make dist' and friends''] * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. (EXTRA_DIST): Enhance with the patches and documentation files. (dist-hook): New target to remove the `CVS' directories. * Makefrag.am (libkernel_a_SOURCES, EXTRA_DIST): Add header and `mig' input files. (DISTCHECK_CONFIGURE_FLAGS): Enable the kernel debugger. * i386/Makefrag.am: Likewise. Also add `i386/i386/i386asm.sym', `i386/ldscript' and `i386/README-Drivers'. * i386/linux/Makefrag.am (liblinux_a_SOURCES): Add the header files from `i386/linux/'. * linux/Makefrag.am (liblinux_a_SOURCES, EXTRA_DIST) (liblinux_pcmcia_cs_modules_a_SOURCES) (liblinux_pcmcia_cs_clients_a_SOURCES) (liblinux_pcmcia_cs_wireless_a_SOURCES): Add header and other included files. (dist-hook): Depend on `dist-hook-linux'. (dist-hook-linux): New phony target to remove the `asm' symbolic links. * Makerules.am (EXTRA_DIST): Add `gensym.awk'. * doc/Makefrag.am (EXTRA_DIST): Add `$(mach_TEXINFOS)'. * configure.ac (AC_CONFIG_LINKS): Move instantiation to... * configfrag.ac: ... here and change quotation. * linux/configfrag.ac (AC_CONFIG_LINKS): Change quotation.
2006-11-29 Thomas Schwinge <tschwinge@gnu.org> * configure: Regenerate. * Makefile.in: Likewise.
2006-11-29 Thomas Schwinge <tschwinge@gnu.org> * configure.ac (disable_smashing_stack_protector): New conditional, set depending on the compiler accepting `-fstack-protector' or not. * Makefile.am (CFLAGS): Add `-fno-stack-protector' if `disable_smashing_stack_protector' is set.
2006-11-28 Thomas Schwinge <tschwinge@gnu.org> * doc/Makefrag.am ($(srcdir)/doc/version.texi): Oppress a potential error message from grep.
2006-11-26 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix i386's 4GiB overflow. * i386/i386at/model_dep.c (mem_size_init): Truncate memory size to 4GiB.
2006-11-21 Thomas Schwinge <tschwinge@gnu.org> * doc/Makefrag.am ($(srcdir)/doc/version.texi): New target to faciliate keeping the web pages of the GNU Mach Reference Manual updated.
2006-11-21 Thomas Schwinge <tschwinge@gnu.org> * doc/Makefrag.am (doc/web, html-local, ps-local, pdf-local): New targets to faciliate keeping the web pages of the GNU Mach Reference Manual updated.
2006-11-20 Samuel Thibault <samuel.thibault@ens-lyon.org> Asm tidy. * i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm statements, add `ax' clobber. (fpe_exception_fixup): Drop bogus cast from input parameter of lcall asm statement. * i386/i386/pio.h (inw, outw): Drop 0x66 prefix an just use the w instruction variant. * i386/i386/proc_reg.h: (get_eflags, get_tr, get_ldt): Drop useless "volatile" from asm statement. (get_esp): Use direct asm register specification. * i386/include/mach/i386/cthreads.h (cthread_sp): Likewise. * i386/intel/pmap.c (pmap_unmap_page_zero): Fix asm clobber into `eax'. De4x5 probe fixup. * linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on any error, not only device not found.
Savannah tag.
2006-11-17 Constantine Kousoulos <wuwei@freemail.gr> Thomas Schwinge <tschwinge@gnu.org> * i386/README-Drivers: Move most of the text into... * doc/mach.texi: ... here and update a number of things. (UPDATED): Don't override.
2006-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org> * util/putchar.c (putchar): Return printed char.
2006-11-13 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386at/iopl.c (ioplmmap): Add `int' return type. * i386/i386at/model_dep.c (halt_all_cpus): Fix typo in declaration. * kern/assert.h (Assert): Add __attribute__ ((noreturn)) to declaration. * kern/debug.c (Debugger): Add __attribute__ ((noreturn)) to declaration. (Debugger): Add call to panic(). * kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration.
2006-11-14 Barry deFreese <bddebian@comcast.net> * device/chario.c (tty_cts): Add `void' return type. * device/cons.c (cninit, cnputc): Add `void' return type. (cngetc, cnmaygetc): Add `int' return type. * device/net_io.c (net_del_q_info, net_free_dead_infp) (net_free_dead_entp): Add `void' return type. * i386/i386/fpu.c (fpnoextflt, fpextovrflt, fpexterrflt, fp_save) (fp_load, fpintr): Add `void' return type. * i386/i386/ktss.c (ktss_init): Add `int' type to `exception_stack'. * i386/i386/loose_ends.c (delay): Add `void' return type. * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) (copy_from_phys): Add `void' return type. * i386/i386/pic.c (picinit, form_pic_mask, intnull, prtnull): Add `void' return type. * i386/i386/pit.c (clkstart): Add `void' return type. * i386/i386at/com.c (comparm, comtimer, fix_modem_state) (commodem_intr): Add `void' return type. (comintr, commctl, comstop): Add `int' return type. * i386/i386at/iopl.c (ioplclose): Add `int' return type. * i386/i386at/kd.c (kd_io_map_openn, kd_io_map_close, feep, pause) (kd_debug_put, cnpollc, kdclose, kd_handle_ack, kd_resend, kdinit) (kd_belloff, kd_bellon, kd_putc, kd_setpos, kd_scrollup, kd_scrolldn) (kd_parseesc, kd_parserest, kd_tab, kd_cls, kd_home, kd_up, kd_down) (kd_right, kd_left, kd_cr, kd_cltobcur, kd_cltopcurn, kd_cltoecur) (kd_clfrbcur, kd_delln, kd_insln, kd_delch, kd_erase, kd_eraseln) (kd_insch, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain) (set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot): Add `void' return type. (kdopen, kdread, kdwrite, kdportdeath, kdsetbell, kdgetkbent, kdintr) (do_modifier, kdstate2idx, kdstart, kdstop, kd_kbd_magic): Add `int' return type. (kd_isupper, kd_islower): Add `boolean_t' return type. (kd_cmdreg_read): Add `unsigned char' return type. * i386/i386at/kd_event.c (kbdinit, kbdclose, kdb_in_out, X_kdb_enter) (X_kdb_exit, X_kdb_enter_init, X_kdb_exit_init): Add `void' return type. (kbdopen, kbdioctl, kbdselect, kbdread): Add `int' return type. * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_open) (kd_mouse_open, mouseclose, serial_mouse_close, kd_mouse_close) (mouse_handle_byte, mouse_packet_mouse_system_mouse) (mouse_packet_microsoft_mouse, ibm_ps2_mouse_open) (ibm_ps2_mouse_close, mouse_packet_ibm_ps2_mouse, mouse_moved) (mouse_button): Add `void' return type. (mouseopen, mouseioctl, mouseselect, mouseread, mouseintr): Add `int' return type. * i386/i386at/lpr.c (lprclose, lprpr_addr): Add `void' return type. (lprprobe, lpropen, lprread, lprwrite, lprportdeath, lprstop, lprpr): Add `int' return type. * i386/i386at/model_dep.c (i386at_init, startrtclock): Add `void' return type. (timemmap): Add `int' return type. * i386/i386at/rtc.c (rtcinit, rtcput): Add `void' return type. (yeartoday, hexdectodec, readtodc, writetodc): Add `int' return type. * i386/intel/pmap.c (pmap_pageable): Add `void' return type. * kern/eventcount.c (simpler_thread_setrun): Add `int' type to `whichrq' variable.
2006-11-13 Barry deFreese <bddebian@comcast.net> * i386/i386/locore.h: New file. * i386/i386/pcb.h: New file. * i386/i386/pcb.c: Include `pcb.h'. * i386/i386/pit.c (clkstart): Fix type of s into unsigned long. * i386/i386/spl.h (spl0, splsched, splx, splsoftclock, splon, sploff) (splhigh, splimp, spltty, splclock, setsoftclock): Add prototype. * i386/i386at/kd_event.h: New file. * i386/i386at/kd_event.c: Include `kd_event.h'. * i386/i386at/kd_mouse.h: New file. * i386/i386at/kd_mouse.c: Include `kd_mouse.h'. (mouseclose): Fix call of `serial_mouse_close' function. * i386/i386at/kd.c: Include `kd_event.h' and `kd_mouse.h'. * i386/i386at/kd.h (splx, spltty): Remove prototypes.h * i386/i386at/lpr.c: Likewise. * ipc/mach_msg.c: Include `machine/locore.h' and `machine/pcb.h'. * kern/mach_clock.h: New file. * kern/mach_clock.c: Include `kern/queue.h', `kern/timer.h' and `mach_clock.h'. * kern/mach_factor.h: New file. * kern/mach_factor.c: Include `mach_factor.h'. * kern/sched_prim.c: Include `kern/mach_factor.h'. * kern/thread.c: Include `machine/pcb.h'.
2006-11-11 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (gnumach-undef-bad): Depend on the Makefile.
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/intel/pmap.c (SPLVM, SPLX): Artificially use parameter of macro.
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix I/O port type. * i386/i386/pic.c (master_icq, master_ocw, slaves_icq, slaves_ocw): Change variables type from char * to unsigned short. (picinit): Remove now-useless cast. * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_close) (mouseintr): Change variable type from caddr_t to unsigned short, remove now-useless cast.
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org> [task #5726 --- ``GCC built-in functions''] * kern/machine.c: Include `string.h'.
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix ``assignment used as truth value'' warnings. * device/cons.c (cninit): Add parenthesis. * kern/bootstrap.c (copy_bootstrap): Likewise. * kern/printf.c (_doprnt): Likewise. * vm/vm_map.c (vm_map_lookup): Likewise.
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix a bunch of "unused variable" warnings. * device/ds_routines.c (ds_device_open): Remove unused `namebuf' variable. * device/kmsg.c (kmsgread): Remove unused `err' variable. * device/net_io.c (net_set_filter): Remove unused `j' variable. * i386/i386/pcb.c (curr_gdt, curr_ktss): Artificially use parameter of macro. * i386/i386/pic.c (picinit): Remove unused `i' variable. * i386/i386/pit.c (clkstart): Remove unused `flags' variable. * i386/i386/trap.c (kernel_trap): Remove unused `exc' variable. (user_trap): Remove unused `map' and `result' variables. (v86_assist): Remove unused `size' variable. * i386/i386at/i386at_ds_routines.c (ds_device_open): Remove unused `dev' variable. * i386/i386at/kd.c (kdintr): Remove unused `o_pri' variable. (kdcngetc): Remove unused `i' variable. * i386/i386at/kd_event.c (kbdgetstat, kbdsetstat): Remove unused `result' variable. * i386/i386at/kd_mouse.c (mousegetstat): Likewise. * i386/i386at/lpr.c (lprattach): Remove unused `tp' variable. (lprsetstat): Remove unused `dev_addr' and `s' variables. * i386/intel/pmap.c (pmap_bootstrap): Remove unused `pteva' variable. * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Remove unused `mr' variable. * kern/bootstrap.c (boot_script_exec_cmd): Remove unused `boot_exec_info' and `user_map' variables. * vm/vm_kern.c (projected_buffer_map): Remove unused `object' variable.
2006-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org> Put "for panic()" in ChangeLog, not in source code.
2006-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org> * kern/sched_prim.h (thread_syscall_return): Replace old `volatile' function qualifier with __attribute__((__noreturn__)).
2006-11-09 Barry deFreese <bddebian@comcast.net> [task #5726 --- ``GCC built-in functions''] * include/printf.h: Move file... * kern/printf.h: ... here. * kern/debug.h (panic_init, panic): Add prototypes. * chips/busses.c: Don't include `printf.h', include `kern/printf.h' and `kern/debug.h'. * ddb/db_command.c: Likewise. * ddb/db_cond.c: Likewise. * ddb/db_output.c: Likewise. * device/cirbuf.c: Likewise. * device/cons.c: Likewise. * device/dev_name.c: Likewise. * device/dev_pager.c: Likewise. * device/device_init.c: Likewise. * device/dk_label.c: Likewise. * device/ds_routines.c: Likewise. * device/net_io.c: Likewise. * device/subrs.c: Likewise. * i386/i386/debug_i386.c: Likewise. * i386/i386/fpe_linkage.c: Likewise. * i386/i386/fpu.c: Likewise. * i386/i386/io_map.c: Likewise. * i386/i386/kttd_interface.c: Likewise. * i386/i386/mp_desc.c: Likewise. * i386/i386/pcb.c: Likewise. * i386/i386/pic.c: Likewise. * i386/i386/trap.c: Likewise. * i386/i386at/autoconf.c: Likewise. * i386/i386at/com.c: Likewise. * i386/i386at/i386at_ds_routines.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/kd_event.c: Likewise. * i386/i386at/kd_mouse.c: Likewise. * i386/i386at/lpr.c: Likewise. * i386/i386at/model_dep.c: Likewise. * i386/intel/pmap.c: Likewise. * ipc/ipc_entry.c: Likewise. * ipc/ipc_hash.c: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_mqueue.c: Likewise. * ipc/ipc_notify.c: Likewise. * ipc/ipc_object.c: Likewise. * ipc/ipc_port.c: Likewise. * ipc/ipc_pset.c: Likewise. * ipc/ipc_right.c: Likewise. * ipc/mach_msg.c: Likewise. * ipc/mach_port.c: Likewise. * ipc/mach_rpc.c: Likewise. * kern/act.c: Likewise. * kern/ast.c: Likewise. * kern/bootstrap.c: Likewise. * kern/debug.c: Likewise. * kern/eventcount.c: Likewise. * kern/exception.c: Likewise. * kern/host.c: Likewise. * kern/ipc_host.c: Likewise. * kern/ipc_kobject.c: Likewise. * kern/ipc_mig.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/ipc_tt.c: Likewise. * kern/kalloc.c: Likewise. * kern/lock.c: Likewise. * kern/mach_clock.c: Likewise. * kern/machine.c: Likewise. * kern/pc_sample.c: Likewise. * kern/printf.c: Likewise. * kern/processor.c: Likewise. * kern/sched_prim.c: Likewise. * kern/server_loop.ch: Likewise. * kern/startup.c: Likewise. * kern/task.c: Likewise. * kern/thread.c: Likewise. * kern/thread_swap.c: Likewise. * kern/xpr.c: Likewise. * kern/zalloc.c: Likewise. * vm/memory_object.c: Likewise. * vm/vm_debug.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_kern.c: Likewise. * vm/vm_map.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_object.h: Likewise. * vm/vm_pageout.c: Likewise. * vm/vm_resident.c: Likewise.
2006-11-08 Thomas Schwinge <tschwinge@gnu.org> * INSTALL: Regenerate using GNU Autoconf 2.60 and GNU Automake 1.10. * Makefile.in: Likewise. * configure: Likewise. * build-aux/config.guess: Likewise. * build-aux/config.sub: Likewise. * build-aux/depcomp: Likewise. * build-aux/install-sh: Likewise. * build-aux/missing: Likewise. * build-aux/texinfo.tex: Likewise.
2006-11-08 Thomas Schwinge <tschwinge@gnu.org> * aclocal.m4: Regenerate using GNU Autoconf 2.60 and GNU Automake 1.10.
2006-11-08 Thomas Schwinge <tschwinge@gnu.org> * Makefrag.am (gnumach.msgids): Remove temporary files.
*** empty log message ***
2006-11-08 Samuel Thibault <samuel.thibault@ens-lyon.org> * kern/startup.c: Include `printf.h'.
2006-11-08 Samuel Thibault <samuel.thibault@ens-lyon.org> [task #5726 --- ``GCC built-in functions''] * include/printf.h (iprintf): Fix prototype. (vprintf): Add prototype. * kern/printf.c: Include `printf.h'. (vprintf, printf): Fix prototype and return a dumb value.
ChangeLog didn't get commited...
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org> * include/string.h: Fix copyright assignment to FSF, keep author's name.
2006-11-05 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/README: New file.
ChangeLog fixups.
2006-11-05 Thomas Schwinge <tschwinge@gnu.org> * config.h.in: Regenerate. * configure: Likewise.
2006-11-05 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * configure.ac <AM_INIT_AUTOMAKE>: Add `no-define' and `1.9'.
2006-11-05 Barry deFreese <bddebian@comcast.net> [task #5878 --- ``Backport code from GNU Mach's trunk to gnumach-1-branch: i386_set_gdt, i386_get_gdt''] * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): New routines. * i386/i386/user_ldt.c (i386_set_gdt, i386_get_gdt): New functions. * i386/i386/gdt.h (USER_GDT, USER_GDT_SLOTS): New macros. (GDTSZ): Compute it from USER_GDT and USER_GDT_SLOTS. * i386/i386/thread.h: Include `gdt.h'. (struct i386_machine_state): New member `user_gdt'. * i386/i386/pcb.c (switch_ktss): Copy those slots into the GDT. * linux/dev/include/linux/head.h: New file.
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org> FPU, CPU and IO stubs cleanup. * i386/i386/fpu.h (fstcw): New macro. * i386/i386/locore.S (_fninit, _fstcw, _fldcw, _fnstsw, _fnclex) (_clts, _fpsave, _fprestore, set_cr3, get_cr3, flush_tlb, get_cr2) (get_ldt, set_ldt, get_tr, set_tr, _setts, outb, inb, outw, inw, outl) (inl, loutb, loutw, linb, linw): Remove functions. * i386/i386/proc_reg.h (flush_tlb): New macro. * i386/i386/db_interface.c: Include `i386/proc_reg.h'. * i386/intel/pmap.c: Likewise. * i386/intel/pmap.h: Likewise. * i386/i386/fpu.c: Include `i386/pio.h'. * i386/i386/pic.c: Likewise. * i386/i386/pit.c: Likewise. * i386/i386at/iopl.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/kd_event.c: Likewise. * i386/i386at/kd_mouse.c: Likewise. * i386/i386at/rtc.c: Likewise.
2006-11-05 Barry deFreese <bddebian@comcast.net> memcpy/memset cleanup. * include/string.h: New file. * include/mach/mig_support.h: Include `string.h'. [MACH_KERNEL] (bcopy): Remove extern declaration. [MACH_KERNEL] (memcpy): Remove macro. * device/cirbuf.c: Include `string.h'. (q_to_b, b_to_q): Replace bcopy() with memcpy() and bzero() with memset(), clean memcpy() and memset() invocation. * device/cons.c (cnputc): Likewise. * device/dev_pager.c (device_pager_data_request_done): Likewise. * device/ds_routines.c (device_write_get, ds_read_done): Likewise. * device/kmsg.c: Likewise. * device/net_io.c (net_filter, net_set_filter, net_getstat): Likewise. * i386/i386/fpu.c (fpu_set_state, fpu_get_state) fp_load) (fp_state_alloc): Likewise. * i386/i386/iopb.c (io_tss_init, i386_io_port_list): Likewise. * i386/i386/mp_desc.c (mp_desc_init): Likewise. * i386/i386/pcb.c (pcb_init, thread_setstatus) (thread_getstatus): Likewise. * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) (copy_from_phys): Likewise. * i386/i386/trap.c (v86_assist): Likewise. * i386/i386/user_ldt.c (i386_set_ldt, i386_get_ldt): Likewise. * i386/i386at/immc.c (immc_cnputc): Likewise. * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Likewise. * i386/intel/pmap.c (pmap_init, pmap_page_table_page_alloc) (pmap_create): Likewise. * ipc/ipc_entry.c (ipc_entry_grow_table): Likewise. * ipc/ipc_kmsg.c (ipc_kmsg_get_from_kernel) (ipc_kmsg_put_to_kernel): Likewise. * ipc/ipc_object.c (ipc_object_alloc, ipc_object_alloc_name): Likewise. * ipc/ipc_port.c (ipc_port_dngrow): Likewise. * ipc/ipc_space.c: Likewise. * ipc/mach_debug.c (mach_port_space_info) (mach_port_space_info): Likewise. * kern/act.c (act_create): Likewise. * kern/boot_script.c: Likewise. * kern/bootstrap.c: Likewise. * kern/eventcount.c (evc_init): Likewise. * kern/host.c (host_info, host_processor_sets): Likewise. * kern/lock.c (lock_init): Likewise. * kern/lock_mon.c (lock_info_clear): Likewise. * kern/mach_clock.c (mapable_time_init): Likewise. * kern/pc_sample.c (get_sampled_pcs): Likewise. * kern/processor.c (processor_set_things): Likewise. * kern/syscall_emulation.c (task_set_emulation_vector_internal) (task_get_emulation_vector, xxx_task_get_emulation_vector): Likewise. * kern/task.c (task_threads): Likewise. * kern/xpr.c (xprbootstrap): Likewise. * kern/zalloc.c (host_zone_info): Likewise. * vm/vm_debug.c (mach_vm_object_pages): Likewise. * vm/vm_kern.c (projected_buffer_allocate, copyinmap) (copyoutmap): Likewise. * vm/vm_object.c (vm_object_bootstrap): Likewise. * vm/vm_resident.c (vm_page_grab_contiguous_pages): Likewise.
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org> * DEVELOPMENT: Document the removals. Drop MB1/MB2/EXL architecture support. * i386/i386/pit.h (PITCTR0_PORT, PITCTR1_PORT, PITCTR2_PORT) (PITCTL_PORT, CLKNUM): Remove MB1/MB2/EXL cases. [EXL] (time_latch): Remove structure and type. [EXL] (intr_disable, intr_restore): Remove functions.
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org> Drop iPSC architecture support. * i386/i386/hardclock.c: Remove iPSC386 from #if. * i386/i386/locore.S: Remove iPSC386 delays. * i386/i386/pic.c: Remove iPSC386 support. (SLAVEMASK): Rmove iPSC386 case. * i386/i386/pic.h (ADDR_PIC_BASE, OFF_ICW, OFF_OCW, SIZE_PIC) (PICM_VECTBASE, PICS_VECTBASE): Remove iPSC386 cases. [iPSC386] (I_AM_A_SLAVE, I_AM_A_MASTR): Remove macros. * i386/i386/pit.h: Remove iPSC386 from #if. [iPSC386] (CLKNUM): Remove macro. * kern/machine.c (host_get_boot_info): Remove iPSC386 support. * vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Remove iPSC case.
*** empty log message ***
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org> Drop i860 architecture support. * i386/i386/pmap.h: Remove i860 comment. * i386/intel/pmap.c: Remove i860 comments. Don't include `i860ipsc/nodehw.h'. (INVALIDATE_TLB): Remove i860 case. (paging_enabled): Remove variable. (pmap_map): Remove setting INTEL_PTE_NCACHE. (pmap_bootstrap): Remove i860 support. (pmap_page_table_page_alloc): Remove setting INTEL_PTE_NCACHE. (pmap_enter): Remove call to flush function. (set_dirbase): Remove function. * i386/intel/pmap.h: Remove i860 comments. (INTEL_PGBYTES, INTEL_PGSHIFT, intel_btop, intel_ptob, intel_round_page, intel_trunc_page, trunc_intel_to_vm, round_intel_to_vm, vm_to_intel, INTEL_PTE_VALID, set_dirbase): Remove i860 case. (INTEL_PTE_valid): Remove macro. * i386/intel/read_fault.c: Remove i860 comment.
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org> Drop PS2 architecture support. * i386/i386/fpu.c (fpintr): Remove PS2 from #if. * i386/i386/gdt.c (abios_int_return, abios_th_return, intstack): Remove extern declaration. * i386/i386/gdt.h (ABIOS_INT_RET, ABIOS_TH_RET, ABIOS_INT_SS, ABIOS_TH_SS, ABIOS_FIRST_AVAIL_SEL): Remove macros. (GDTSZ): Remove PS2 case. * i386/i386/hardclock.c: Don't include `i386/pic.h' and `i386/pio.h'. (hardclock): Remove PS2 prototype and code. * i386/i386/locore.S (RET_OFFSET): Remove PS2 stack layout. * i386/i386/pic.c (picinit): Remove #ifdef PS2. * i386/i386/pic.h: Remove PS2 from #if. * i386/i386/pit.c (clock_int_handler): Remove extern declaration. (clock_request_block, clock_flags, cqbuf): Remove variables. (clkstart): Remove call to abios_clock_start function. (abios_clock_start, ackrtclock): Remove function. * i386/i386/pit.h: Remove PS2 from #if.
2006-10-26 Thomas Schwinge <tschwinge@gnu.org> * Makefile.in: Regenerate.
2006-10-26 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * Makefrag.am (gnumach.msgids): Remove repetition. * Makerules.am (%.server.msgids, %.user.msgids): Targets renamed from `%.msgids'. Also consider MIGCOMSFLAGS respective MIGCOMUFLAGS.
2006-10-26 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] The Automake build system wants us to have these files in the rcs, so do that. * doc/mach.info: New file, generated. * doc/mach.info-1: Likewise. * doc/mach.info-2: Likewise. * doc/stamp-vti: Likewise. * doc/version.texi: Likewise.
2006-10-26 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] The Automake build system wants us to have these files in the rcs, so do that. * version.texi: New file, generated.
2006-10-18 Thomas Schwinge <tschwinge@gnu.org> * Makefile.in: Regenerate.
2006-10-18 Thomas Schwinge <tschwinge@gnu.org> Install `PREFIX/share/msgids/gnumach.msgids'. * Makerules.am (%.msgids): Two new rules. * Makefrag.am (MOSTLYCLEANFILES): Add `gnumach.msgids'. (gnumach.msgids): New rule. (exec_msgidsdir, exec_msgids_DATA): New variables.
2006-10-16 Thomas Schwinge <tschwinge@gnu.org> * configure: Regenerate.
2006-10-16 Thomas Schwinge <tschwinge@gnu.org> [bug #18011 --- ``GNU Mach: `make install-data' will build the ``to-be-generated files''''] * config.status.dep.patch: Do an educated guess instead of using the `Makefile'. * configure.ac <config.status.dep.patch>: Update description.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> * configure: Regenerate.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> * configure.ac: Update texts snippets: GNU Automake 1.10 has just been released.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> * i386/include/Makefile.in: Remove unused file. Thanks to Guillem Jover for spotting this.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * configure: Regenerate.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * configure.ac <config.status.dep.patch>: Point to [bug #18011 --- ``GNU Mach: `make install-data' will build the ``to-be-generated files''''].
Spelling... Thanks to Guillem Jover for spotting this.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * Makefile.in: Regenerate.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * Makefrag.am (include_mach_exec): Rename to `include_mach_eXec'.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * Makefile.in: New file, generated by `autoreconf'. * config.h.in: Likewise. * configure: Updated file, generated by `autoreconf'.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * INSTALL: File updated, thanks to `autoreconf'. * aclocal.m4: Likewise.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * build-aux/compile: New file, thanks to `autoreconf'. * build-aux/config.guess: Likewise. * build-aux/config.sub: Likewise. * build-aux/depcomp: Likewise. * build-aux/install-sh: Likewise. * build-aux/mdate-sh: Likewise. * build-aux/missing: Likewise. * build-aux/texinfo.tex: Likewise.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * AUTHORS: New file, copy from the MIG repository.
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.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * Makefile.am: New file. * Makerules.am <configure's findings, System dependent Makerules> <Compilation flags, Dependency generation, Autoconf support>: Remove sections. <Building from foo.cli, Building from foo.srv>: Rewrite: (%.server.defs.c, %.user.defs.c, %.server.h %.server.c) (%.user.h %.user.c, %.server.defs, %.user.defs): New targets. (%.h %_user.c %.cli.d, %_interface.h %_server.c %.srv.d): Remove targets. (echo-%): New target. * Makefrag.am <configure's findings, Rules, Kernel Image, Installation> <Building the distribution, Autoconf support, Makerules>: Remove sections. (enable_kdb, enable_kmsg): Adopt. <All the source in each directory> <Header files installed for user use>: Rewrite to adopt to how things are to be done now. <Automatically generated source files>: New section. (i386/Makefrag.am): Include file if appropriate. * i386/Makefrag.am <configure's findings, Rules, Installation> <Autoconf support, Makerules>: Remove sections. (enable_lpr): Adopt. <Source files for any i386 kernel>: Rewrite to adopt to how things are to be done now. * i386/linux/Makefrag.am: New file. * linux/Makefrag.am: Likewise.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * Makefile.in: Move file... * Makefrag.am: ... here.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * i386/Makefile.in: Move file... * i386/Makefrag.am: ... here. * i386/linux/Makefile.in: Remove file.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * doc/Makefile.in: Remove file. * doc/Makefrag.am: New file. * tests/Makefrag.am: Likewise. * tests/test-mbchk.in: Likewise.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [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'.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * Makerules.in: Move file... * Makerules.am: ... here.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * linux/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR) (AC_CONFIG_HEADER, AC_CANONICAL_HOST, hurd_SYSTYPE, AC_CONFIG_FILES) (AC_OUTPUT): Don't invoke. (../../version.m4, ../../Drivers.macros, ../../aclocal.m4): Don't include. <case "$host_cpu">: Only evaluate for i386. (--disable-default-device-drivers): Remove configuraion option. (LINUX_DEV, __KERNEL__): AC_DEFINE these. (scsi, net, pcmcia, wireless): Remove AC_DRIVER_CLASS instantiations. (device_driver_group): New shell function. (AC_OPTION, AC_OPTION_nodef): New functions. (linux_DRIVER): Rename function to AC_Linux_DRIVER and adopt. (linux_DRIVER_nodef): Likewise to AC_Linux_DRIVER_nodef. <Configuration options>: Adopt to the new functions introduced above and re-position parts. <Process device driver groups>: Adopt to the changes related to device driver groups. * linux/configure.in <AC_CONFIG_LINKS>: Move to... * linux/configfrag.ac: ... here. * linux/configure.in: Remove file. * linux/configure: Likewise. * i386/linux/Makerules.in: Likewise. * Drivers.macros: Likewise.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * i386/linux/configure.ac: Move file... * linux/configfrag.ac: ... here. * i386/linux/configure: Remove file. * i386/linux/device-drivers.h.in: Likewise.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * i386/configure.in: Move file... * i386/configfrag.ac: ... here. * i386/configure: Remove file.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * config.guess: Remove file. * config.sub: Likewise. * install-sh: Likewise.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org> [task #5956 --- ``Automake'ify GNU Mach's code base''] * i386/Files: Remove file. * i386/Subdirs: Likewise. * linux/Files: Likewise. * linux/Subdirs: Likewise.
2006-10-13 Thomas Schwinge <tschwinge@gnu.org> * configure.in: Move file... * configure.ac: ... here.
2006-10-13 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in (ASFLAGS): Don't define `ASSEMBLER'. * i386/i386/cpu_number.h: Check for `__ASSEMBLER__' instead of `ASSEMBLER'. * i386/i386/debug.h: Likewise. * i386/i386/ipl.h: Likewise. * i386/i386/ldt.h: Likewise. * i386/i386/proc_reg.h: Likewise. * i386/i386/seg.h: Likewise. * i386/i386/trap.h: Likewise. * i386/include/mach/i386/kern_return.h: Likewise. * i386/include/mach/i386/vm_types.h: Likewise. * i386/intel/pmap.h: Likewise. * include/mach/boolean.h: Likewise. * include/mach/boot.h: Likewise. * include/mach/error.h: Likewise. * kern/syscall_emulation.h: Likewise.
2006-10-13 Thomas Schwinge <tschwinge@gnu.org> * configure: Regenerate. * i386/configure: Likewise. * i386/linux/configure: Likewise. * linux/configure: Likewise.
2006-10-12 Thomas Schwinge <tschwinge@gnu.org> * version.m4 (AC_PACKAGE_VERSION): Let's name it `1.3.99'.
2006-10-12 Thomas Schwinge <tschwinge@gnu.org> * configure: Regenerate. * i386/configure: Likewise. * i386/linux/configure: Likewise. * linux/configure: Likewise.
2006-10-12 Thomas Schwinge <tschwinge@gnu.org> * version.m4: Rewrite. * configure.in: Adopt to the above. * i386/configure.in: Likewise. * i386/linux/configure.ac: Likewise. * linux/configure.in: Likewise.
2006-10-09 Thomas Schwinge <tschwinge@gnu.org> * 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.
Be more detailed.
2006-10-09 Thomas Schwinge <tschwinge@gnu.org> * bogus/panic.c: Remove file.
2006-10-09 Thomas Schwinge <tschwinge@gnu.org> * linux/src/drivers/scsi/in2000.c (in2000_proc_info) [PROC_INTERFACE]: Don't consider `__DATE__' and `__TIME__'.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/scsi.h: Move file... * linux/src/drivers/scsi/scsi.h: ... here.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/seagate.c: Move file... * linux/src/drivers/scsi/seagate.c: ... here.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/aha152x.c: Move file... * linux/src/drivers/scsi/aha152x.c: ... here.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/sr.c: Move file... * linux/src/drivers/scsi/sr.c: ... here.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/sd_ioctl.c: Move file... * linux/src/drivers/scsi/sd_ioctl.c: ... here.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/sd.c: Move file... * linux/src/drivers/scsi/sd.c: ... here.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/scsi.c: Remove file.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/scsi/hosts.c: Remove file.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/block/ide.c: Move file... * linux/src/drivers/block/ide.c: ... here.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/block/ide-cd.c: Remove file. * linux/src/drivers/block/ide-cd.c (cdrom_sleep): Don't define function `#ifndef MACH'.
2006-10-07 Thomas Schwinge <tschwinge@gnu.org> * i386/linux/configure: Regernerate. * i386/linux/device-drivers.h.in: Likewise.
2006-10-07 Thomas Schwinge <tschwinge@gnu.org> * Drivers.macros (AC_DRIVER, AC_DRIVER_nodef): Rewrite to allow options with dashes in them, make it usable more universally and enhance the generated comments in header files. * i386/linux/configure.ac (linux_DRIVER, linux_DRIVER_nodef): Enhance DESCRIPTION. (u1434f): Rename to `u14-34f'. (smcultra): Rename to `smc-ultra'. (smcultra32): Rename to `smc-ultra32'. (hpplus): Rename to `hp-plus'. (ne2kpci): Rename to `ne2k-pci'. (viarhine): Rename to `via-rhine'. (intelgige): Rename to `intel-gige'. (winbond840): Rename to `winbond-840'. (AC_PCMCIA_OPTION): Remove function. (pcmcia-isa): Use `AC_DRIVER' instead of `AC_PCMCIA_OPTION'. * i386/README-Drivers: Update accordingly.
2006-10-03 Thomas Schwinge <tschwinge@gnu.org> [task #5941 --- ``Linker script for GNU Mach''] * Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery. * i386/Makefile.in (sysdep.a): Likewise. * i386/Makerules.in: Likewise. (LDFLAGS-kernel): Point to the linker script. * i386/i386at/boothdr.S (_start): Don't put into `.text', but into `.text.start' instead. * i386/ldscript: Change to put `.text' at 0x100000 and put `.text.start' first into `.text'.
2006-10-03 Thomas Schwinge <tschwinge@gnu.org> [task #5941 --- ``Linker script for GNU Mach''] * i386/ldscript: New file, copied from `/lib/ldscripts/elf_i386.x' of a GNU Binutils 2.16.1 installation.
2006-09-25 Stefan Siegl <stesie@brokenpipe.de> * linux/dev/glue/net.c (device_get_status): Reworked to not read from STATUS. Fill `struct iw_point' correctly if necessary.
2006-09-23 Stefan Siegl <stesie@brokenpipe.de> * i386/linux/configure: Regenerate. * i386/linux/device-drivers.h.in: Likewise.
2006-09-23 Stefan Siegl <stesie@brokenpipe.de> * i386/linux/configure.ac (AC_PCMCIA_OPTION): New function. (--disable-pcmcia-isa): New configuration option to disable ISA-bus support in the pcmcia core, which is otherwise enabled now by default. * doc/mach.texi (Configuration): Briefly document the new configuration option. * i386/README-Drivers: Likewise.
2006-09-20 Thomas Schwinge <tschwinge@gnu.org> * configure: Regenerate. * i386/configure: Likewise. * i386/linux/configure: Likewise. * i386/linux/device-drivers.h.in: Likewise.
2006-09-20 Thomas Schwinge <tschwinge@gnu.org> * Drivers.macros (AC_DRIVER_ALIAS): Remove definition. (AC_DRIVER): Extend to take a `description' parameter and consider `$enable_default_device_drivers'. (AC_DRIVER_nodef): New definition. * configure.in (options kdb, kmsg): Remove redundancy. * i386/configure.in (option default-device-drivers): New option. (option lpr): Consider `$enable_default_device_drivers'. * i386/linux/configure.ac: Rework substantially. Remove all aliases. Rename some of the device driver options. (option default-device-drivers): New option. (linux_DRIVER): Take care about a `description' parameter and don't invoke AC_DRIVER_ALIAS. (linux_DRIVER_nodef): New definition. Adopt all usages of AC_DRIVER and linux_DRIVER to provide a `description' parameter. (g_NCR5380, NCR53c406a, eata_dma, wavelan, atp): Change from AC_DRIVER to AC_DRIVER_nodef to have these device drivers disabled by default. * doc/mach.texi: Add a note about the outdatedness to the configuration option table. * i386/README-Drivers: Update.
Savannah tags.
2006-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org> Fix against gcc 4.1's optimizations. * i386/i386/seg.h (struct pseudo_descriptor): Pack structure and move the padding field to the end. (lgdt): Pass the whole structure to the lgdt assembly command. (lidt): Likewise.
2006-08-06 Thomas Schwinge <tschwinge@gnu.org> * DEVELOPMENT: Update.
2006-07-31 Stefan Siegl <stesie@brokenpipe.de> * doc/mach.texi (Configuration): Document the new PCMCIA drivers a bit more. * i386/README-Drivers: Likewise.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org> * i386/linux/configure: Regenerate.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org> * i386/linux/configure.ac: Pull in the pcmcia code only if really needed.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi (Configuration): Very briefly document the new drivers. * i386/README-Drivers: Likewise.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/include/linux/types.h (_MACH_SA_SYS_TYPES_H_): Define.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org> * i386/linux/configure: Regenerate. * i386/linux/device-drivers.h.in: Likewise.
2006-07-27 Stefan Siegl <stesie@brokenpipe.de> * i386/linux/configure.ac (pcmcia, wireless): New driver classes. (i82365, 3c574_cs, 3c589_cs, axnet_cs, fmvj18x_cs, nmclan_cs, pcnet_cs) (smc91c92_cs, xirc2ps_cs, orinoco_cs): New drivers. * i386/linux/Makefile.in (linux-pcmcia-cs-modules-files) (linux-pcmcia-cs-clients-files, linux-pcmcia-cs-wireless-files): New variables. Add `vpath's to the files locations. (all-linux-files): Add the three new variables. (linux-pcmcia-cs-modules-flags, linux-pcmcia-cs-clients-flags) (linux-pcmcia-cs-wireless-flags): New variables. (linux-flags): Add code to handle the above files and flags.
2006-07-27 Stefan Siegl <stesie@brokenpipe.de> * i386/i386at/i386at_ds_routines.c (emulation_list) [LINUX_DEV && CONFIG_INET && CONFIG_PCMCIA]: Add the Linux pcmcia emulation structure. * linux/dev/glue/net.c: Include <linux/wireless.h>. (device_get_status): Rewrite function. (device_set_status): New function. (linux_net_emulation_ops): Add `device_set_status' at the appropriate position. * linux/dev/init/main.c (linux_init) [CONFIG_PCMCIA]: Call pcmcia_init.
2006-07-27 Stefan Siegl <stesie@brokenpipe.de> * linux/pcmcia-cs/glue/ds.c: New file. * linux/pcmcia-cs/glue/pcmcia.c: Likewise. * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. * linux/pcmcia-cs/glue/wireless_glue.h: Likewise.
2006-07-27 Stefan Siegl <stesie@brokenpipe.de> * linux/pcmcia-cs/clients/xirc2ps_cs.c (busy_loop): Replace the code by a call to __udelay. * linux/pcmcia-cs/include/linux/init.h: Adapt to our Linux environment. * linux/pcmcia-cs/include/linux/slab.h: Use `#include', not `#include_next'. * linux/pcmcia-cs/include/pcmcia/mem_op.h: Adapt to our Linux environment and fix GCC 4.0 complaints. * linux/pcmcia-cs/include/pcmcia/version.h: Always assume that CONFIG_PCMCIA is not defined. * linux/pcmcia-cs/modules/cs.c (init_pcmcia_cs): Don't make it static. * linux/pcmcia-cs/modules/ds.c: Use some magic to avoid duplicate definition `io_req_t'. (ds_open, ds_release, ds_read, ds_write, ds_select, ds_poll, ds_fops): Hide functions if MACH is defined. Likewise for the module handling code. (ds_ioctl): Use plain `memcpy' if MACH is defined. (init_pcmcia_ds): Don't register charcater devices if MACH is defined. Include "../glue/ds.c". * linux/pcmcia-cs/modules/i82365.c (test_irq): Adapt to GNU Mach. (init_i82365): Don't make it static. * linux/pcmcia-cs/modules/pci_fixup.c (pci_devices): Don't define if MACH is defined. * linux/pcmcia-cs/wireless/orinoco.c: Adapt to our Linux environment.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org> Import a number of files from the pcmcia-cs package, version 3.2.8, available from <http://pcmcia-cs.sourceforge.net/>. * linux/pcmcia-cs/clients/3c574_cs.c: Import file. * linux/pcmcia-cs/clients/3c589_cs.c: Likewise. * linux/pcmcia-cs/clients/ax8390.h: Likewise. * linux/pcmcia-cs/clients/axnet_cs.c: Likewise. * linux/pcmcia-cs/clients/fmvj18x_cs.c: Likewise. * linux/pcmcia-cs/clients/nmclan_cs.c: Likewise. * linux/pcmcia-cs/clients/ositech.h: Likewise. * linux/pcmcia-cs/clients/pcnet_cs.c: Likewise. * linux/pcmcia-cs/clients/smc91c92_cs.c: Likewise. * linux/pcmcia-cs/clients/xirc2ps_cs.c: Likewise. * linux/pcmcia-cs/include/linux/crc32.h: Likewise. * linux/pcmcia-cs/include/linux/init.h: Likewise. * linux/pcmcia-cs/include/linux/slab.h: Likewise. * linux/pcmcia-cs/include/pcmcia/bulkmem.h: Likewise. * linux/pcmcia-cs/include/pcmcia/bus_ops.h: Likewise. * linux/pcmcia-cs/include/pcmcia/ciscode.h: Likewise. * linux/pcmcia-cs/include/pcmcia/cisreg.h: Likewise. * linux/pcmcia-cs/include/pcmcia/cistpl.h: Likewise. * linux/pcmcia-cs/include/pcmcia/cs.h: Likewise. * linux/pcmcia-cs/include/pcmcia/cs_types.h: Likewise. * linux/pcmcia-cs/include/pcmcia/driver_ops.h: Likewise. * linux/pcmcia-cs/include/pcmcia/ds.h: Likewise. * linux/pcmcia-cs/include/pcmcia/mem_op.h: Likewise. * linux/pcmcia-cs/include/pcmcia/ss.h: Likewise. * linux/pcmcia-cs/include/pcmcia/version.h: Likewise. * linux/pcmcia-cs/modules/bulkmem.c: Likewise. * linux/pcmcia-cs/modules/cirrus.h: Likewise. * linux/pcmcia-cs/modules/cistpl.c: Likewise. * linux/pcmcia-cs/modules/cs.c: Likewise. * linux/pcmcia-cs/modules/cs_internal.h: Likewise. * linux/pcmcia-cs/modules/ds.c: Likewise. * linux/pcmcia-cs/modules/ene.h: Likewise. * linux/pcmcia-cs/modules/i82365.c: Likewise. * linux/pcmcia-cs/modules/i82365.h: Likewise. * linux/pcmcia-cs/modules/o2micro.h: Likewise. * linux/pcmcia-cs/modules/pci_fixup.c: Likewise. * linux/pcmcia-cs/modules/ricoh.h: Likewise. * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise. * linux/pcmcia-cs/modules/smc34c90.h: Likewise. * linux/pcmcia-cs/modules/ti113x.h: Likewise. * linux/pcmcia-cs/modules/topic.h: Likewise. * linux/pcmcia-cs/modules/vg468.h: Likewise. * linux/pcmcia-cs/modules/yenta.h: Likewise. * linux/pcmcia-cs/wireless/hermes.c: Likewise. * linux/pcmcia-cs/wireless/hermes.h: Likewise. * linux/pcmcia-cs/wireless/hermes_rid.h: Likewise. * linux/pcmcia-cs/wireless/ieee802_11.h: Likewise. * linux/pcmcia-cs/wireless/orinoco.c: Likewise. * linux/pcmcia-cs/wireless/orinoco.h: Likewise. * linux/pcmcia-cs/wireless/orinoco_cs.c: Likewise.
2006-07-24 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in (%.h %_user.c): Add `%.cli.d' to the target list. Create these files by specifying `-MD' as a flag for mig and rename the resulting files as needed. Include these `*.cli.d' files instead of `*.migu.d' files. (%_interface.h %_server.c): Likewise for `%.srv.d' / `*.migs.d'. (%.migs.d, %.migu.d): Remove targets. * Makefile.in (clean): Adapt to the above. * i386/Makefile.in (clean): Likewise.
2006-06-30 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386at/kd_mouse.c (mouse_char_in, mouse_char) Remove variables. (mouse_char_index) New variable. (mouse_handle_byte, kd_mouse_read): Use MOUSEBUF instead of MOUSE_CHAR for storing incoming command characters. (kd_mouse_read_reset): New function. (ibm_ps2_mouse_open, ibm_ps2_mouse_close): Call new kd_mouse_read_reset function.
2006-06-09 Stefan Siegl <stesie@brokenpipe.de> * linux/dev/include/asm-i386/uaccess.h: New dummy file. * linux/dev/include/linux/pm.h: Likewise. * linux/dev/include/linux/threads.h: Likewise. * linux/src/include/linux/symtab_begin.h: New file from Linux 2.0.40. * linux/src/include/linux/symtab_end.h: Likewise. * linux/src/include/linux/module.h: Update from Linux 2.0.40 with minor changes. * linux/src/include/linux/list.h: New file from Linux 2.2.26. * linux/src/include/linux/kcomp.h: Likewise with minor changes. * linux/src/include/linux/wait.h: Update from Linux 2.2.26. * linux/src/include/linux/wireless.h: Likewise. * linux/src/include/asm-i386/bitops.h [__KERNEL__] (ffs, hweight32) (hweight16, hweight8): Copy from Linux 2.2.26.
2006-06-09 Stefan Siegl <stesie@brokenpipe.de> * kern/printf.c (_doprnt): Support printing of pointer addresses.
2006-05-14 Roland McGrath <roland@frob.com> [sync from HEAD, 2002-06-17] * device/if_hdr.h: Replace ancient UCB copyright terms with current approved UCB terms. * include/sys/reboot.h: Likewise. * include/device/disk_status.h: Likewise. * include/device/tape_status.h: Likewise. * device/net_io.c: Remove advertising clause from UCB copyright terms. * include/device/audio_status.h: Likewise. * include/device/bpf.h: Likewise.
2006-05-14 Thomas Schwinge <tschwinge@gnu.org> * i386/i386at/autoconf.c (bus_device_init) <lpr> [! LINUX_DEV]: Depend on `MACH_LPR' instead. * i386/i386at/lpr.c: Fix obsolescent `#else' / `#endif' syntax.
2006-05-12 Stefan Siegl <stesie@brokenpipe.de> * linux/dev/glue/kmem.c (vfree): Panic if `vmalloc_list_lookup' did NOT succeed.
Savannah tag.
2006-05-08 Thomas Schwinge <tschwinge@gnu.org> * DEVELOPMENT: Document Samuel's patch. 2006-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386at/model_dep.c (mem_size_init): Limit memory to what can actually be used (minus a little extra for virtual mappings). * i386/intel/pmap.c (pmap_bootstrap): Extend the virtual mapping area according to memory size for at least being able to manage it. But look out for wrap and limit it to kernel adresses. Remove duplicate computing.
2006-04-27 Richard Braun <syn@hurdfr.org> Manuel Menal <mmenal@hurdfr.org> * device/if_hdr.h (struct ifnet): Added new members `if_snd_port_list' and `if_snd_port_list_lock'. * device/net_io.c: Reworked to improve BPF support. Filters can be applied to ingress packets, egress packets, or both. * device/subrs.c: Initialize the `if_snd_port_list' and `if_snd_port_list_lock'. * include/device/bpf.h [0]: Enable unconditionally. Include <sys/types.h>. (BPF_IN, BPF_OUT): New macros. * include/device/net_status.h (NETF_TYPE_MASK, NETF_IN, NETF_OUT): New macros. (struct net_rcv_msg): New member `sent'. * linux/dev/glue/net.c: Mark ingress packets as received and inject egress packets into the packet filters.
2006-04-26 Thomas Schwinge <tschwinge@gnu.org> * Makefile.in: Replace `make' with `$(MAKE)'. * i386/Makefile.in: Likewise. Reported by Leonardo Lopes Pereira <leonardolopespereira@gmail.com>.
2006-04-08 Thomas Schwinge <tschwinge@gnu.org> * i386/Makefile.in (INCLUDES): Don't add `$(srcdir)/bogus'. * i386/Makerules.in (INCLUDES): Add `$(abs_top_srcdir)/$(systype)/bogus'. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2006-04-02 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in (%_user.c, %_server.c): Those are `.PRECIOUS'. (%.migs.d, %.migu.d): New targets. (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d): Remove targets. Adopt the `include's to the renamed targets. * Makefile.in (clean): Adopt to the renamed targets. * i386/Makefile.in (clean): Likewise.
2006-04-02 Thomas Schwinge <tschwinge@gnu.org> * i386/Makefile.in (boothdr.o): New target.
2006-03-21 Thomas Schwinge <tschwinge@gnu.org> * Makefile.in (clean): Also remove `kernel.gz', `kernel.stripped' and `kernel.stripped.gz'. * Makefile.in (kernel.o): Handle `$(systype)-objfiles-prepend'. * i386/Makefile.in (sysdep.a): Likewise. * i386/Makerules.in (kernel-objfiles-prepend): Transform variable into `$(systype)-objfiles-prepend'. (kernel.o): Remove target.
2006-03-20 Thomas Schwinge <tschwinge@gnu.org> * 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.
2006-03-19 Thomas Schwinge <tschwinge@gnu.org> * DEVELOPMENT: Document the FIPC removal. 2006-03-19 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> Remove unused and unsuported code. Consult the file `DEVELOPMENT' for details. * ipc/fipc.c: Remove file. * ipc/fipc.h: Likewise. * Makefile.in (ipc-cfiles): Remove `fipc.c'. (ipc-files): Remove `fipc.h'. * device/device_init.c [FIPC]: Remove code. * device/net_io.c [FIPC]: Likewise. * include/mach/syscall_sw.h [FIPC]: Likewise. * kern/syscall_sw.c [FIPC]: Likewise.
Typo.
2006-03-15 Thomas Schwinge <tschwinge@gnu.org * configure.in: Check for strip and gzip. * configure: Regenerated. * Makerules.in (GZIP, STRIP): New variables. (%.gz, %.stripped): New targets.
.
2006-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org> [ patch #4737 ] * i386/i386/iopb.c: Include "vm_param.h". (io_tss_init): Fix address and limit of user TSS.
2006-03-04 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>. * i386/bogus/par.h: Remove file. * i386/i386at/if_par.c: Likewise. * i386/i386at/if_par.h: Likewise. * i386/i386at/conf.c: Don't include <par.h> anymore and adopt all users of NPAR as if it were always defined to `0'. * i386/i386at/lpr.c: Likewise.
2006-03-04 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>. * i386/bogus/de6c.h: Remove file. * i386/i386at/if_de6c.c: Likewise. * i386/i386at/if_de6c.h: Likewise. * i386/i386at/if_de6s.S: Likewise. * i386/i386at/conf.c: Don't include <de6c.h> anymore and adopt all users of NDE6C as if it were always defined to `0'. * i386/i386at/lpr.c: Likewise.
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>. * i386/bogus/blit.h: Remove file. * i386/i386at/blit.c: Likewise. * i386/i386at/blitreg.h: Likewise. * i386/i386at/blituser.h: Likewise. * i386/i386at/blitvar.h: Likewise. * i386/i386at/conf.c: Don't include <blit.h> anymore and adopt all users of NBLIT as if it were always defined to `0'. * i386/i386at/kd.c: Likewise. (blit_init): Remove definition. (blit_present): Likewise and adopt all users as if it were always defined to `FALSE'. * i386/Makefile.in (i386at-files): Remove `blit.c'.
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.
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>. * 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)'.
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>. * i386/util/NOTES: Remove file. * i386/util/anno.c: Likewise. * i386/util/anno.h: Likewise. * i386/util/cpu.h: Likewise. * i386/util/cpu_subs.h: Likewise. * i386/util/cpu_tables_init.c: Likewise. * i386/util/cpu_tables_load.c: Likewise. * i386/util/crtn.S: Likewise. * i386/util/debug.h: Likewise. * i386/util/gdt.c: Likewise. * i386/util/gdt.h: Likewise. * i386/util/gdt_sels.h: Likewise. * i386/util/i16/debug.h: Likewise. * i386/util/i16/i16.h: Likewise. * i386/util/i16/i16_die.c: Likewise. * i386/util/i16/i16_gdt_init_temp.c: Likewise. * i386/util/i16/i16_nanodelay.c: Likewise. * i386/util/i16/i16_puts.c: Likewise. * i386/util/i16/i16_writehex.c: Likewise. * i386/util/i386_asm.sym: Likewise. * i386/util/idt.c: Likewise. * i386/util/idt.h: Likewise. * i386/util/idt_inittab.S: Likewise. * i386/util/idt_inittab.h: Likewise. * i386/util/ldt.h: Likewise. * i386/util/trap.h: Likewise. * i386/util/trap_asm.sym: Likewise. * i386/util/trap_dump.c: Likewise. * i386/util/trap_dump_die.c: Likewise. * i386/util/trap_handler.S: Likewise. * i386/util/trap_return.S: Likewise. * i386/util/tss.c: Likewise. * i386/util/tss.h: Likewise. * i386/util/tss_dump.c: Likewise. * i386/util/vm_param.h: Likewise.
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>. * i386/pc/NOTES: Remove file. * i386/pc/debug.h: Likewise. * i386/pc/exit.c: Likewise. * i386/pc/gdt.h: Likewise. * i386/pc/gdt_sels.h: Likewise. * i386/pc/i16/i16_a20.c: Likewise. * i386/pc/i16/i16_a20.h: Likewise. * i386/pc/i16/i16_bios.h: Likewise. * i386/pc/i16/i16_exit.c: Likewise. * i386/pc/i16/i16_ext_mem.c: Likewise. * i386/pc/i16/i16_init.c: Likewise. * i386/pc/i16/i16_main.c: Likewise. * i386/pc/i16/i16_pic.c: Likewise. * i386/pc/i16/i16_putchar.c: Likewise. * i386/pc/i16/i16_raw.c: Likewise. * i386/pc/i16/i16_raw_test_a20.S: Likewise. * i386/pc/i16/i16_real_int.S: Likewise. * i386/pc/i16/i16_switch.h: Likewise. * i386/pc/i16/phys_mem_collect.c: Likewise. * i386/pc/i16/phys_mem_sources.h: Likewise. * i386/pc/i16/raw_exit.c: Likewise. * i386/pc/i16/raw_real_int.c: Likewise. * i386/pc/ipl.h: Likewise. * i386/pc/irq.h: Likewise. * i386/pc/irq_list.h: Likewise. * i386/pc/pc_asm.sym: Likewise. * i386/pc/phys_mem.h: Likewise. * i386/pc/phys_mem_add.c: Likewise. * i386/pc/pic.c: Likewise. * i386/pc/pic.h: Likewise. * i386/pc/putchar.c: Likewise. * i386/pc/real.h: Likewise. * i386/pc/real_tss.c: Likewise. * i386/pc/real_tss.h: Likewise. * i386/pc/real_tss_def.S: Likewise. * i386/pc/rv86/config.h: Likewise. * i386/pc/rv86/gdt_sels.h: Likewise. * i386/pc/rv86/idt_irq_init.c: Likewise. * i386/pc/rv86/rv86_real_int.c: Likewise. * i386/pc/rv86/rv86_real_int_asm.S: Likewise. * i386/pc/rv86/rv86_reflect_irq.S: Likewise. * i386/pc/rv86/rv86_trap_handler.S: Likewise. * i386/pc/rv86/trap_handler.S: Likewise.
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>. * i386/imps/Makefile.in: Remove file. * i386/imps/apic.h: Likewise. * i386/imps/cpu_number.h: Likewise. * i386/imps/cpus.h: Likewise. * i386/imps/imps.c: Likewise. * i386/imps/impsasm.sym: Likewise.
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>. * i386/dos/dos_buf.c: Remove file. * i386/dos/dos_check_err.c: Likewise. * i386/dos/dos_close.c: Likewise. * i386/dos/dos_fstat.c: Likewise. * i386/dos/dos_gettimeofday.c: Likewise. * i386/dos/dos_io.h: Likewise. * i386/dos/dos_open.c: Likewise. * i386/dos/dos_read.c: Likewise. * i386/dos/dos_rename.c: Likewise. * i386/dos/dos_seek.c: Likewise. * i386/dos/dos_tcgetattr.c: Likewise. * i386/dos/dos_unlink.c: Likewise. * i386/dos/dos_write.c: Likewise. * i386/dos/i16/gdt.h: Likewise. * i386/dos/i16/gdt_sels.h: Likewise. * i386/dos/i16/i16_crt0.S: Likewise. * i386/dos/i16/i16_crt0.h: Likewise. * i386/dos/i16/i16_dos.h: Likewise. * i386/dos/i16/i16_dos_mem.c: Likewise. * i386/dos/i16/i16_exit.c: Likewise. * i386/dos/i16/i16_main.c: Likewise. * i386/dos/i16/i16_putchar.c: Likewise. * i386/dos/i16/i16_vcpi.c: Likewise. * i386/dos/i16/i16_xms.c: Likewise. * i386/dos/i16/idt.h: Likewise. * i386/dos/i16/phys_mem_sources.h: Likewise. * i386/dos/putchar.c: Likewise.
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>. * chips/atm.c: Remove file. * chips/atmreg.h: Likewise. * chips/audio.c: Likewise. * chips/audio_config.h: Likewise. * chips/audio_defs.h: Likewise. * chips/bt431.c: Likewise. * chips/bt431.h: Likewise. * chips/bt455.c: Likewise. * chips/bt455.h: Likewise. * chips/bt459.c: Likewise. * chips/bt459.h: Likewise. * chips/bt478.c: Likewise. * chips/bt478.h: Likewise. * chips/build_font.c: Likewise. * chips/cfb_hdw.c: Likewise. * chips/cfb_misc.c: Likewise. * chips/dc503.c: Likewise. * chips/dc503.h: Likewise. * chips/dtop.h: Likewise. * chips/dtop_handlers.c: Likewise. * chips/dtop_hdw.c: Likewise. * chips/dz_7085.h: Likewise. * chips/dz_defs.h: Likewise. * chips/dz_hdw.c: Likewise. * chips/eccreg.h: Likewise. * chips/fb_hdw.c: Likewise. * chips/fb_misc.c: Likewise. * chips/fdc_82077.h: Likewise. * chips/fdc_82077_hdw.c: Likewise. * chips/frc.c: Likewise. * chips/ims332.c: Likewise. * chips/ims332.h: Likewise. * chips/isdn_79c30.h: Likewise. * chips/isdn_79c30_hdw.c: Likewise. * chips/kernel_font.c: Likewise. * chips/kernel_font.data: Likewise. * chips/lance.c: Likewise. * chips/lance.h: Likewise. * chips/lance_mapped.c: Likewise. * chips/lk201.c: Likewise. * chips/lk201.h: Likewise. * chips/mc_clock.c: Likewise. * chips/mc_clock.h: Likewise. * chips/mouse.c: Likewise. * chips/nc.c: Likewise. * chips/nc.h: Likewise. * chips/nw.h: Likewise. * chips/nw_mk.c: Likewise. * chips/nw_mk.h: Likewise. * chips/pm_defs.h: Likewise. * chips/pm_hdw.c: Likewise. * chips/pm_misc.c: Likewise. * chips/scc_8530.h: Likewise. * chips/scc_8530_hdw.c: Likewise. * chips/screen.c: Likewise. * chips/screen.h: Likewise. * chips/screen_defs.h: Likewise. * chips/screen_switch.c: Likewise. * chips/screen_switch.h: Likewise. * chips/serial_console.c: Likewise. * chips/serial_defs.h: Likewise. * chips/sfb_hdw.c: Likewise. * chips/sfb_misc.c: Likewise. * chips/spans.c: Likewise. * chips/spans.h: Likewise. * chips/tca100.c: Likewise. * chips/tca100.h: Likewise. * chips/tca100_if.c: Likewise. * chips/tca100_if.h: Likewise. * chips/vs42x_rb.h: Likewise. * chips/xcfb_hdw.c: Likewise. * chips/xcfb_misc.c: Likewise. * chips/xcfb_monitor.h: Likewise. * Makefile.in (chips-files): Only contain `busses.c' and `busses.h'. * kern/syscall_sw.c: Don't include <chips/nw_mk.h> anymore.
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>. * i386/i386at/asm_startup.h: Remove file. * i386/i386at/phys_mem_grab_page.c: Likewise. * i386/Makefile.in (i386at-files): Remove `phys_mem_grab_page.c'.
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>. * i386/bogus/evc.h: Remove file. * i386/i386at/kd.c: Don't include <evc.h> anymore and adopt all users of NEVC as if it were always defined to `0'. (evc1init): Remove definition and adopt all users as if it were always defined to `FALSE'.
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>. * i386/bogus/nscsi.h: Remove file. * i386/i386at/model_dep.c: Don't include <nscsi.h> anymore and adopt all users of NSCSI as if it were always defined to `0'. (use_all_mem): Don't define anymore and adopt all users as if it were always defined to `1'. (NBBY, NBPW, DMA_MAX): Remove macros. (alloc_dma_mem): Remove function.
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>. * i386/bogus/asc.h: Remove file. * i386/bogus/aha.h: Likewise. * i386/bogus/eaha.h: Likewise. * i386/bogus/sbic.h: Likewise. * i386/bogus/sci.h: Likewise. * i386/bogus/sii.h: Likewise. * i386/bogus/siop.h: Likewise. * i386/i386at/eisa.h: Likewise. * scsi/adapters/README: Likewise. * scsi/adapters/scsi_33C93.h: Likewise. * scsi/adapters/scsi_33C93_hdw.c: Likewise. * scsi/adapters/scsi_5380.h: Likewise. * scsi/adapters/scsi_5380_hdw.c: Likewise. * scsi/adapters/scsi_53C700.h: Likewise. * scsi/adapters/scsi_53C700_hdw.c: Likewise. * scsi/adapters/scsi_53C94.h: Likewise. * scsi/adapters/scsi_53C94_hdw.c: Likewise. * scsi/adapters/scsi_7061.h: Likewise. * scsi/adapters/scsi_7061_hdw.c: Likewise. * scsi/adapters/scsi_89352.h: Likewise. * scsi/adapters/scsi_89352_hdw.c: Likewise. * scsi/adapters/scsi_aha15.h: Likewise. * scsi/adapters/scsi_aha15_hdw.c: Likewise. * scsi/adapters/scsi_aha17_hdw.c: Likewise. * scsi/adapters/scsi_dma.h: Likewise. * scsi/adapters/scsi_user_dma.c: Likewise. * scsi/adapters/scsi_user_dma.h: Likewise. * scsi/compat_30.h: Likewise. * scsi/disk_label.c: Likewise. * scsi/mapped_scsi.c: Likewise. * scsi/mapped_scsi.h: Likewise. * scsi/pc_scsi_label.c: Likewise. * scsi/rz.c: Likewise. * scsi/rz.h: Likewise. * scsi/rz_audio.c: Likewise. * scsi/rz_cpu.c: Likewise. * scsi/rz_disk.c: Likewise. * scsi/rz_disk_bbr.c: Likewise. * scsi/rz_host.c: Likewise. * scsi/rz_labels.h: Likewise. * scsi/rz_tape.c: Likewise. * scsi/scsi.c: Likewise. * scsi/scsi.h: Likewise. * scsi/scsi2.h: Likewise. * scsi/scsi_alldevs.c: Likewise. * scsi/scsi_comm.c: Likewise. * scsi/scsi_cpu.c: Likewise. * scsi/scsi_defs.h: Likewise. * scsi/scsi_disk.c: Likewise. * scsi/scsi_endian.h: Likewise. * scsi/scsi_jukebox.c: Likewise. * scsi/scsi_optical.c: Likewise. * scsi/scsi_printer.c: Likewise. * scsi/scsi_rom.c: Likewise. * scsi/scsi_scanner.c: Likewise. * scsi/scsi_tape.c: Likewise. * scsi/scsi_worm.c: Likewise. * i386/i386at/autoconf.c: Don't include <aha.h> and <eaha.h> anymore and adopt all users of NAHA and NEAHA as if it were always defined to `0'. * i386/i386at/conf.c: Likewise. * Makefile.in (scsi-files): Remove variable and all users of it.
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>. * i386/bogus/wt.h: Remove file. * i386/i386at/autoconf.c: Don't include <wt.h> anymore and adopt all users of NWT as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * i386/bogus/hpp.h: Remove file. * i386/bogus/ul.h: Likewise. * i386/bogus/wd.h: Likewise. * i386/i386at/gpl/if_hpp.c: Likewise. * i386/i386at/gpl/if_ns.c: Likewise. * i386/i386at/gpl/if_nsreg.h: Likewise. * i386/i386at/gpl/if_ul.c: Likewise. * i386/i386at/gpl/if_wd.c: Likewise. * i386/i386at/autoconf.c: Don't include <hpp.h>, <ul.h> and <wd.h> anymore and adopt all users of NHPP, NUL and NWD as if they were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * i386/bogus/at3c501.h: Remove file. * i386/i386at/if_3c501.c: Likewise. * i386/i386at/if_3c501.h: Likewise. * i386/i386at/autoconf.c: Don't include <at3c501.h> anymore and adopt all users of NAT3C501 as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * i386/bogus/ns8390.h: Remove file. * i386/i386at/ds8390.h: Likewise. * i386/i386at/if_3c503.h: Likewise. * i386/i386at/if_ns8390.c: Likewise. * i386/i386at/if_ns8390.h: Likewise. * i386/i386at/if_wd8003.h: Likewise. * i386/i386at/autoconf.c: Don't include <ns8390.h> anymore and adopt all users of NNS8390 as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * i386/bogus/ne.h: Remove file. * i386/i386at/if_ne.c: Likewise. * i386/i386at/if_nereg.h: Likewise. * i386/i386at/autoconf.c: Don't include <ne.h> anymore and adopt all users of NNE as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * i386/bogus/pc586.h: Remove file. * i386/i386at/i82586.h: Likewise. * i386/i386at/if_pc586.c: Likewise. * i386/i386at/if_pc586.h: Likewise. * i386/i386at/autoconf.c: Don't include <pc586.h> anymore and adopt all users of NPC586 as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * i386/bogus/fd.h: Remove file. * i386/i386at/fd.c: Likewise. * i386/i386at/fdreg.h: Likewise. * i386/i386at/nfd.c: Likewise. * i386/i386at/nfdreg.h: Likewise. * i386/Makefile.in (i386at-files): Remove `fd.c'. * i386/i386at/autoconf.c: Don't include <fd.h> anymore and adopt all users of NFD as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * i386/bogus/hd.h: Remove file. * i386/i386at/nhd.c: Likewise. * i386/i386at/nhdreg.h: Likewise. * i386/i386at/autoconf.c: Don't include <hd.h> anymore and adopt all users of NHD as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
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>. * DEVELOPMENT: New file.
2006-02-05 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in: Don't set no_deps to true if MAKECMDGOALS is empty.
ChangeLog corrected. Thanks to Alfred M. Szmidt.
2006-02-03 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in: Set no_deps to true if we don't need the dependency files. * i386/linux/Makefile.in: Do care about linux-flags if no_deps is true; reverting the change from 2006-01-31.
2006-02-03 Thomas Schwinge <tschwinge@gnu.org> * Makefile.in: Include Makerules through top_builddir, so that it will automatically be rebuilt if needed.
2006-02-03 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in: Add -fno-strict-aliasing to CFLAGS. * i386/linux/Makefile.in: Likewise for linux-gen-flags.
2006-02-02 Sergio Lopez <koro@sinrega.org> * linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a off-by-one error when probing. * linux/src/drivers/scsi/eata_dma.c (eata_detect): Likewise. * linux/dev/drivers/scsi/eata_dma.c (eata_detect): Likewise.
2006-02-02 Sergio Lopez <koro@sinrega.org> * linux/src/drivers/net/apricot.c (apricot_probe): Increase eth_addr size to 8 so we do not trash the stack when reading from the io ports.
2006-02-02 Thomas Schwinge <tschwinge@gnu.org> * Makerules.in: Move a comment ... * Makefile.in: ... here.
2006-02-01 Thomas Schwinge <tschwinge@gnu.org> * linux/dev/drivers/block/genhd.c (add_bsd_partition): Only define if both MACH and CONFIG_BSD_DISKLABEL are defined. Reported by Matheus Morais <matheus.morais@gmail.com>.
Spelling fixes. Thanks to Guillem Jover.
2006-01-31 Thomas Schwinge <tschwinge@gnu.org> Cleanup of GNU Mach's build system. The system dependend parts are now handeled by the respective Makefile and no longer by the top-level one. * configure, i386/configure, i386/linux/configure, linux/configure: Regenerated. * Makefile.in: Various cleanups. (mach/machine, mach_machine): Targets removed. (AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA) (INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into Makerules.in. Do not include $(sysdep)/Makefrag anymore. (all, check, clean, distclean, mostlyclean, maintainer-clean, install) (install-headers, install-kernel): Recurse into the system dependend subdirectory. (check): Add a basic test using mbchk. (clean, distclean): Be more explicit in what to delete. ($(systype)/%): New target. (kernel.o): Incorporate the system dependend archive. (installed-sysdep-headers-names, $(installed-sysdep-headers-names)): Variable and target moved into the system dependend Makefile.in. (install-headers, mkheaderdirs): Don't care for the system dependend header files. (%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets moved into Makerules.in. Inclusion of dependency files: Likewise. (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise. Include Makerules. * Makerules.in: New file, mainly based on Makefile.in. * configure.in: Do not substitute cross_compiling and not explicitly substitute LDFLAGS. Check for cpp, ranlib, ar and mbchk. Care for the mach/machine symbolic link. Add Makerules as a config file. * i386/Makefile.in: Various cleanups. Merge i386/Makefrag and the system dependent stuff from Makefile.in into this file. (all, check, install, install-headers, install-kernel): Recurse into the system dependend subdirectory. (sysdep.o): transformed to the new target sysdep.a. (linux/linux.o): Target removed. (clean, distclean): Be more explicit in what to delete. (linux/%): New target. (install-headers): Install the system dependend header files. (mkheaderdirs): New target. Include the top-level Makerules. * i386/Makefrag: File removed. * i386/Makerules.in: New file. * i386/configure.in: Synchronize AC_INIT to the top-level definition. Do not check for ld and make. Add Makerules as a config file. * i386/linux/Makefile.in: Various cleanups. Replace linux-objs with objfiles. (check, install, install-headers, install-kernel): New empty targets. Don't care about linux-flags if no_deps is true. Inclusion of dependency files removed and instead... Include the top-level Makerules. * i386/linux/Makerules.in: New file. * i386/linux/configure.ac: Synchronize AC_INIT to the top-level definition. Do not check for gcc and ld. Do not explicitly substitute LDFLAGS. Add Makerules as a config file. * linux/configure.in: Synchronize AC_INIT to the top-level definition. Do not create directories using a dummy file. * linux/dummy.in: File removed. * ddb/db_access.h: Include <machine/vm_param.h> instead of "vm_param.h". * kern/bootstrap.c: Likewise. * kern/thread.c: Likewise. * vm/vm_kern.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_resident.c: Likewise.
2006-01-26 Thomas Schwinge <tschwinge@gnu.org> * config.guess: Updated from the canonical source. * config.sub: Likewise.
2006-01-26 Jeroen Dekkers <jeroen@dekkers.cx> * i386/i386/locore.S (trap_push_segs): Switch fs and gs to kernel data segment too. (syscall_entry_2): Likewise. * i386/i386/user_ldt.c (i386_set_ldt): Always copy the master LDT when there is no old user LDT.
2006-01-26 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/arch/i386/kernel/irq.c (linux_intr): Disable interrupts if the driver requested it through request_irq().
2006-01-26 Samuel Thibault <samuel.thibault@ens-lyon.org> * linux/dev/drivers/block/ide.c (read_intr): Set the IRQ handler before issuing a request. (write_intr): Likewise. (multwrite_intr): Likewise.
2006-01-26 Thomas Schwinge <tschwinge@gnu.org> * i386/linux/Makefile.in: Automatically recreate the `Makefile'.
2006-01-23 Thomas Schwinge <tschwinge@gnu.org> * i386/linux/configure: Regenerated. * i386/linux/configure.ac: Only add a AC_DRIVER_ALIAS if it really is a alias.
2006-01-22 Thomas Schwinge <tschwinge@gnu.org> * doc/mach.texi (Configuration): Document the recently added drivers. * i386/README-Drivers: Likewise.
2006-01-22 Thomas Schwinge <tschwinge@gnu.org> * configure, i386/configure, i386/linux/configure, linux/configure, i386/linux/device-drivers.h.in: Regenerated. * linux/src/drivers/net/ne2k-pci.c: Resolve conflicts. 2006-01-22 Guillem Jover <guillem@hadrons.org> * i386/linux/configure.ac: Renamed winbond-840 driver to winbond_840. Enable the starfire, intel_gige and natsemi network drivers. Remove "CONFIG_" from cb_chim, starfire, sundance, winbond840, hamachi, natsemi, myson803 and ns820 driver declarations. Replace INTER_GIGE with INTEL_GIGE. * linux/dev/drivers/net/Space.c: Add conditional probes for natsemi, ns820, winbond840, hamachi, sundance, starfire, myson803 and intel-gige drivers. * linux/src/include/asm-i386/cache.h: New file from linux 2.2.26. * linux/dev/include/linux/malloc.h: Include <asm/cache.h>. * linux/src/drivers/net/ns820.c (netsami_drv_id): Renamed to ... (ns820_drv_id): ... this. Fix all callers. * linux/src/drivers/net/intel-gige.c (skel_netdev_probe): Renamed to ... (igige_probe): ... this. * linux/dev/drivers/net/eepro100.c: Remove obsoleted file. * linux/src/drivers/net/eepro100.c (pci_id_tbl): Add PCI ID's from linux-2.6.14-rc4. 2006-01-22 Alfred M. Szmidt <ams@gnu.org> * i386/linux/configure.ac: Added `pci-scan.o' to the network driver class. (ns820, myson803, sundance, winbond-840, hamachi): New drivers. * i386/linux/Makefile.in (linux-net-files): Added `cb_shim.c', `hamachi.c', `intel-gige.c', `myson803.c', `natsemi.c', `ns820.c', `starfire.c', `sundance.c', `winbond-840.c' and `pci-scan.c'. * linux/dev/include/linux/modversions.h: New file. * linux/src/drivers/net/cb_shim.c, linux/src/drivers/net/hamachi.c, linux/src/drivers/net/intel-gige.c, linux/src/drivers/net/myson803.c, linux/src/drivers/net/natsemi.c, linux/src/drivers/net/ns820.c, linux/src/drivers/net/starfire.c, linux/src/drivers/net/sundance.c, linux/src/drivers/net/winbond-840.c, linux/src/drivers/net/kern_compat.h, linux/src/drivers/net/pci-scan.c, linux/src/drivers/net/pci-scan.h: New files from netdrivers 3.5 package (http://www.scyld.com/network). * linux/src/drivers/net/3c59x.c, linux/src/drivers/net/eepro100.c, linux/src/drivers/net/epic100.c, linux/src/drivers/net/ne2k-pci.c, linux/src/drivers/net/rtl8139.c, linux/src/drivers/net/tulip.c, linux/src/drivers/net/via-rhine.c, linux/src/drivers/net/yellowfin.c: Updated files from netdrivers 3.5 (http://www.scyld.com/network).
2006-01-22 Thomas Schwinge <tschwinge@gnu.org> * linux/src/drivers/net/ne2k-pci.c (ne_block_input, ne_block_output): Fix previous patch.
2005-07-12 Guillem Jover <guillem@hadrons.org> * configure: Regenerated. * i386/configure: Regenerated. * Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE. (AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED to 1. * aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed. * version.m4: New file. * Makefile.in: Use PACKAGE_VERSION, not VERSION. * doc/Makefile.in: Likewise. * version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach". * i386/linux/Makefile.in (configure): Change its source to configure.ac. * aclocal.m4: Add missing quotations. * Drivers.macros: Likewise. * configure.in: Likewise. Include version.m4 and use PACKAGE and VERSION m4 macros from it. * i386/configure.in: Likewise. (AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR. * i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude. * linux/configure.in: Likewise. * i386/configure.in: Update AC_DEFINE to the new three argument form. * i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE. * configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES. * linux/configure.in: Likewise. * i386/configure.in: Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. * i386/linux/configure.ac: Likewise. * linux/configure.in: Likewise * configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings. * Drivers.macros: Likewise. * i386/configure.in: Likewise. * i386/linux/configure.ac: Likewise. 2005-07-12 Neal H. Walfield <neal@cs.uml.edu> * configure.in: Update to use autoconf 2.57. Do not error out if host_os is not GNU. Update AC_DEFINEs to the required three argument form. Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use AC_PROG_CC. AC_SUBST(LDFLAGS). Refactor AC_CONFIG_SUBDIRS to not do variable substitution. Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. * i386/configure.in: Require autoconf 2.57. * linux/configure.in: Likewise. * i386/linux/Drivers.in: Move from here... * i386/linux/configure.ac: ... to here to conform to the environment autoreconf expects. (hurd_host_CPU): New macro. Call AC_PROG_CC, not AC_PROG_CC_LOCAL. AC_SUBST(LD_FLAGS). (flashpoint): Update AC_DEFINE to the new three argument form. * Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three argument form.
2005-05-24 Alfred M. Szmidt <ams@gnu.org> * i386/include/mach/i386/asm.h (END): New macro. * i386/include/mach/i386/syscall_sw.h (kernel_trap): Call END.
2005-05-28 Alfred M. Szmidt <ams@gnu.org> * linux/src/drivers/scsi/u14-34f.c (ihdlr): Silence gcc 4.x errors. * linux/src/drivers/scsi/qlogicisp.h: Likewise. * linux/src/drivers/scsi/advansys.c: Likewise. (advansys_reset, advansys_interrupt, asc_scsi_done_list, (asc_enqueue, asc_dequeue, asc_dequeue_list, asc_rmqueue, (asc_isqueued): Likewise. * linux/src/drivers/scsi/53c78xx.c (NCR53c7xx_queue_command): Likewise. * linux/src/drivers/net/ne2k-pci.c (ne_block_input) (ne_block_output): Likewise. * linux/src/drivers/net/hp100.c (__initfunc): Likewise. * linux/src/drivers/net/3c507.c (el16_interrupt): Likewise. * linux/dev/drivers/scsi/seagate.c (seagate_st0x_queue_command): Likewise.
2005-05-26 Alfred M. Szmidt <ams@gnu.org> * device/cons.h (cn_tab) [KERNEL]: Removed extern declaration. * linux/dev/include/linux/fs.h (super_blocks): Declare as an pointer.
2005-02-10 Guillem Jover <guillem@hadrons.org> * linux/dev/glue/block.c (rdwr_partial): Remove leftover assert.
2005-01-22 Guillem Jover <guillem@hadrons.org> * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors for deprecated use of labels at end of compound statements. * i386/i386/fpe_linkage.c (enable_fpe): Declare prototype.
2005-01-22 Guillem Jover <guillem@hadrons.org> * linux/src/drivers/scsi/qlogicisp_asm.c: Remove file with binary only firmware. * linux/src/drivers/scsi/qlogicisp.c: Do not include "qlogicisp_asm.c". (RELOAD_FIRMWARE): Set to 0. (risc_code_addr01): New variable from qlogicisp_asm.c. * linux/Files: Remove linux/src/drivers/scsi/qlogicisp_asm.c.
2004-09-08 Neal H. Walfield <neal@cs.uml.edu> * linux/dev/kernel/printk.c: Include <kern/assert.h>. (printk): Use vsnprintf, not linux_vsprintf to avoid buffer overruns. * kern/printf.c (struct vsnprintf_cookie): New structure. (snputc): New function. (vsnprintf): Likewise.
2004-11-22 Guillem Jover <guillem@hadrons.org> * 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.
2004-09-07 Neal H. Walfield <neal@cs.uml.edu> * linux/dev/glue/block.c (__brelse): Unconditionally kfree BH. (getblk): Unconditionally kalloc BH. * kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static variable. (kalloc_init): Assert that kalloc_init_called is zero. [! NDEBUG] Set kalloc_init_called to 1 on success. (kalloc): Assert that kalloc_init_called is non-zero. (kget): Likewise. (kfree): Likewise.
2004-11-22 Guillem Jover <guillem@hadrons.org> * i386/i386/locore.S (discover_x86_cpu_type): Enable function. Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer. Restore EFLAGS just after its last usage. * i386/i386at/model_dep.c (c_boot_entry): Enable use of discover_x86_cpu_type. Remove hardcoded cpu_type assignment. * i386/include/mach/i386/eflags.h (EFL_VI, EFL_VIP): New bits. (EFL_AC, EFL_ID): Bits finally added.
2004-10-26 Guillem Jover <guillem@hadrons.org> * i386/i386/fpe.b: Remove binary without source. * i386/i386/fpe.b_elf: Likewise. * i386/i386/fpe_linkage.c: Disable the code if [! FPE]. * i386/bogus/fpe.h: Add comment about not having an fpe implementation. * i386/Makefrag (objfiles): Do not add fpe.o. Remove targets to generate fpe.o.
2004-02-29 Marcus Brinkmann <marcus@gnu.org> * NEWS: Add things that changed so far since 1.3.
2004-02-02 Marco Gerards <metgerards@student.han.nl> * i386/i386at/kd.c (kdinit): Initialize the input buffer. * i386/i386at/kd.h (KDSETLEDS): New macro. * i386/i386at/kd_event.c (kbdsetstat): Handle KDSETLEDS here to set the keyboard LEDs state.
.
.
.
.
.
.
.
.
.
.
.
2002-11-20 Marcus Brinkmann <marcus@gnu.org> * i386/i386/io_perm.c (io_perm_device_ops): New static variable. (i386_io_perm_create): Use the io_perm_device_ops for the device. (i386_io_perm_modify): Check that this is really an io_perm device. * iopb.h, iopb.c: Obsolete files removed.
.
.
.
2002-11-09 Marcus Brinkmann <marcus@gnu.org> * i386/i386/pcb.c (switch_context): Update the I/O permission bitmap from stack_handoff() here (not only in stack_handoff()).
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Alpha support files verbatim from CMU release MK83a.
Point to ChangeLog.1
Big merge of oskit-branch as new gnumach 2.x mainline. ChangeLog.oskit is now ChangeLog. ChangeLog is now ChangeLog.1.
Version 1.3 released.
2002-05-23 Marcus Brinkmann <marcus@gnu.org> * 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.
.
2002-04-24 Marcus Brinkmann <marcus@gnu.org> * debian/rules (DOCDIR): Move to $(PREFIX)/share/doc/$(package-dev).
.
.
.
.
.
Move changelog entry to correct changelog.
2002-03-11 Marcus Brinkmann <marcus@gnu.org> * i386/i386/machine_task.c (machine_task_module_init): Set ZONE_COLLECTABLE and ZONE_EXHAUSTIBLE flags for the iopb zone. Requested by Roland McGrath <roland@frob.com>.
.
.
.
.
.
.
.
2001-10-21 Marcus Brinkmann <marcus@gnu.org> * linux/src/arch/i386/lib/delay.c: Convert HTML entities. Reported by John Tobey <jtobey@john-edwin-tobey.org>.
2001-10-20 Roland McGrath <roland@frob.com> * Merged from gnumach: -j oskit-fork-20011007 -j oskit-fork-20011019. CVS tags oskit-premerge-20011019 and oskit-postmerge-20011019 mark the oskit-branch state before and after this merge.
2001-10-13 Marcus Brinkmann <marcus@gnu.org> * debian/changelog: Update for next release.
.
2001-10-07 Roland McGrath <roland@frob.com> * Merged from gnumach: -j oskit-fork-20010405 -j oskit-fork-20011007. CVS tags oskit-premerge-20011007 and oskit-postmerge-20011007 mark the oskit-branch state before and after this merge.
.
2001-10-06 Marcus Brinkmann <marcus@gnu.org> * README: Replace `GNU mach' by `GNU Mach', and remove obsolete paragraph about kmsg device.
2001-10-06 Marcus Brinkmann <marcus@gnu.org> * doc/mach.texi: Fix direntry.
2001-10-05 Marcus Brinkmann <marcus@gnu.org> * doc/mach.texi: Replace `path name' by `file name' in one place. Replace `illegal' by `invalid' and `to to' by `to' everwhere. * debian/changelog: Prepare for next release.
2001-10-04 Marcus Brinkmann <marcus@gnu.org> * doc: New directory. * doc/Makefile.in: New file. * doc/gpl.texi: Likewise. * doc/fdl.texi: Likewise. * doc/mach.texi: Likewise. * configure.in: Add doc/Makefile to AC_OUTPUT call. * configure: Regenerated. * Makefile.in (dist): Create directories doc and debian. (doc-files): New variable with documentation files. (debian-files): New variable with Debian packaging files. * debian/rules (stamp-build): Build documentation. (build-gnumach): Install the documentation into the gnumach package. * debian/postrm: New file to install info document. * debian/prerm: New file to install info document.
2001-10-01 Marcus Brinkmann <marcus@gnu.org> * i386/i386/locore.S (tenmicrosec): Remove subroutine. * i386/i386/pit.c (delaycount): Remove global variable. (microdata): Likewise. (clkstart): Do not call findspeed() and microfind(). (findspeed): Remove function. (spinwait): Likewise. (microfind): Likewise. This function triggers a division by zero trap on AMD K6 350Mhz+ and Athlon 1.1GHz+ machines (and in general leads to bad results on fast cpus), and nothing uses this code anymore.
.
2001-09-18 Marcus Brinkmann <marcus@gnu.org> * linux/dev/glue/misc.c: Do not include <linux/types.h> and <linux/string.h>. Remove global variable ___strtok. Remove implementation of strspn, strpbrk, strtok and strstr. * Makefile.in: Add strpbrk and strtok.
.
.
.
.
.
2001-08-18 Marcus Brinkmann <marcus@gnu.org> * linux/src/drivers/net/eepro100.c: File updated to version in Linux 2.2.19. This time for real.
2001-08-18 Marcus Brinkmann <marcus@gnu.org> * debian/changelog: Update for next package upload. * debian/control: Add gnumach-dbg package. * debian/rules: New targets to build gnumach-dbg package. Fix various bugs.
2001-08-18 Marcus Brinkmann <marcus@gnu.org> * i386/i386at/kd.c (kdintr): In event mode, make it so that 0xE0 scancodes are received. From Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>. * i386/i386at/kd.h: New constants KAX_REVERSE, KAX_UNDERLINE, KAX_BLINK, KAX_BOLD, KAX_DIM, KAX_INVISIBLE, KAX_COL_UNDERLINE, KAX_COL_DIM. * i386/i386at/kd.c: Increase K_MAXESC to 32. New global variable color_table to map color values. New globals kd_color and kd_attrflags. (kdinit): Initialize these variables. (kd_update_kd_attr): New function. (kd_parserest): Redone to support more terminal attributes, including colors.
2001-08-18 Marcus Brinkmann <marcus@gnu.org> * linux/src/drivers/net/eepro100.c: File updated to version in Linux 2.2.19. * linux/src/include/asm-i386/spinlock.h: New file from Linux 2.2.19. * linux/src/include/asm-i386/hardirq.h: Likewise. * linux/src/include/linux/spinlock.h: Likewise. * linux/src/include/linux/compatmac.h: Likewise. * linux/dev/drivers/net/eepro100.c: New file, modified version from the above to glue it in gnumach. Submitted by Kapil H. Paranjape <kapil@imsc.ernet.in>.
.
2001-07-29 Marcus Brinkmann <marcus@gnu.org> * NEWS: Add items for this and other changes. * configure.in: Define MACH_KMSG by default and document this in the help output. * configure: Regenerated. * debian/rules: Do not enable kmsg explicitely.
2001-07-18 Marcus Brinkmann <marcus@gnu.org> * debian/rules: Add -isp to dpkg-gencontrol invocation. Move documentation to /share/doc. * debian/changelog: Update.
2001-06-28 Marcus Brinkmann <marcus@gnu.org> * linux/dev/drivers/block/ide.c (lba_capacity_is_ok): Do not attempt to correct id->cyls, it is a short and for large disks the number of cylinders necessary would not fit. Subsequent checks for lba support would fail. (current_capacity): Likewise for drive->cyl. (do_identify): Store value returned by current_capacity in CAPACITY. The check which corrects the number of bios cylinders is not aggressive enough. Update it with the check in linux kernel-2.2.19.
2001-06-25 Marcus Brinkmann <marcus@gnu.org> * i386/bogus/fpe.h (FPE): Define FPE to 0, as the floating point emulation is broken anyway and blows up plex86.
2001-06-17 Marcus Brinkmann <marcus@gnu.org> * debian/rules: Update to cyrrent version.
.
2001-05-27 Marcus Brinkmann <marcus@gnu.org> * debian/rules: Add --enable-ncr53c8xx to configure. 1999-10-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * linux/src/drivers/scsi/tmscsiw.c: Removed. * linux/src/drivers/scsi/tmscsiw.h: Likewise. * linux/src/drivers/scsi/dc390w.h: Likewise. * i386/linux/device-drivers.h.in (CONFIG_SCSI_DC390W): Deleted. * i386/linux/Drivers.in: Remove linux_DRIVER(dc390w, ...). Now dc390w, dc390u, and dc390f are aliases to ncr53c8xx. * i386/linux/configure: Regenerated. * linux/Files: Likewise. * i386/linux/Makefile.in (linux-scsi-files): Delete tmscsiw.c. * linux/dev/drivers/scsi/hosts.c: Do not include dc390w.h. Reported by Andreas Voegele <andreas.voegele@nikocity.de>.
.
fix typo
2001-05-12 Marcus Brinkmann <marcus@gnu.org> * ipc/ipc_object.c (ipc_object_alloc): Remove initialization of namep, which was without effect.
2001-04-29 Marcus Brinkmann <marcus@gnu.org> * debian/changelog: New entries for past Debian uploads. * debian/rules: Disable eatdma driver (breaks AMD K7), do not enable com, lpr (com is redundant, lpr doesn't work), move enabling of kmsg in its own line. * debian/control: Add build dependency on mig and sharutils.
2001-04-29 Marcus Brinkmann <marcus@gnu.org> * device/chario.c: Set number of elements of tthiwat and ttlowat to NSPEEDS rather than 16. Initialize the two new elements. (chario_init): Initialize pdma_timeouts and pdma_water_mark for B57600 and B115200.
2001-04-27 Marcus Brinkmann <marcus@gnu.org> * include/device/tty_status.h: New macros B57600 and B115200, increase NSPEED accordingly. * i386/i386at/com.c (divisorreg): New divisor 1.
Merged -j oskit-fork-20010111 -j oskit-fork-20010405
.
.
Merge -j oskit-fork-20001029b -j oskit-fork-20010111
2001-01-09 Marcus Brinkmann <marcus@gnu.org> * include/device/device_types.h: New get_status call DEV_GET_RECORDS to get the number of records of a device (rather than the number of bytes). Accordingly define DEV_GET_RECORDS_DEVICE_RECORDS, DEV_GET_RECORDS_RECORD_SIZE and DEV_GET_RECORDS_COUNT. * linux/dev/glue/block.c (device_get_status): Handle DEV_GET_RECORDS.
2000-11-26 David Welch <david.welch@seh.ox.ac.uk> * i386/Makefrag (i386-installed-headers): Removed dead files from the list of headers to be installed
2000-11-26 Marcus Brinkmann <marcus@gnu.org> * linux/src/drivers/net/tulip.c: Updated to version from Linux 2.2.17 (I am amazed that 2.2.x drivers work). Suggested by Jason Henry Parker <jasonp@uq.net.au>.
.
Merged -j oskit-fork-20001029 -j oskit-fork-20001029b
.
Merged -j oskit-fork-19991124 -j oskit-fork-20001029
.
Fix small typo.
2000-09-29 Marcus Brinkmann <marcus@gnu.org> * i386/i386at/conf.c (dev_name_list): Don't use MACh_COM to check if com support is enabled, but NCOM, as it used to be.
2000-09-24 OKUJI Yoshinori <okuji@gnu.org> * linux/dev/glue/block.c: Reverted the changes at 2000-08-17. Reported by Brent Fulgham <brent.fulgham@xpsystems.com>.
2000-09-19 Marcus Brinkmann <marcus@gnu.org> * linux/dev/glue/block.c (init_partition): Move initialization of MASK until it is asserted that gd is non-NULL.
Moving two ChangeLog entries from ChangeLog to ChangeLog.oskit, so that ChangeLog stays in sync with the main branch.
Checking this in for Roland: 2000-09-17 Roland McGrath <roland@gateway.sf.frob.com> * oskit/x86/main.c (main): Set CR4_PGE bit here, after paging_enable. * i386/intel/pmap.c (pmap_bootstrap): Not here, since it's before paging is enabled, and that is verboten. Still check the feature flag and initialize kernel_pte_global here.
Mask minor device numbers using MINOR_SHIFT when accessing to partitions.
2000-07-27 Marcus Brinkmann <marcus@gnu.org> * Fix omissions in last change: * linux/src/arch/i386/lib/delay.S: Now really remove the file. * linux/src/arch/i386/lib/delay.c: Now really add the file.
2000-07-04 Marcus Brinkmann <marcus@gnu.org> * debian/changelog: Add entry for new Debian upload. * linux/dev/drivers/scsi/seagate.c (WRITE_CONTROL, WRITE_DATA): Added from linux 2.2.15. (__asm__ constructs): Replace with equivalent C code from linux 2.2.15 to support gcc-2.95. * linux/src/drivers/scsi/in2000.h: Update asm code to linux 2.2.15. * linux/src/drivers/scsi/ppa.c: Replace asm code with equivalent C code from linux 2.2.15. 2000-02-06 Stefan Weil <stefan.weil@de.heidelberg.com> * device/subrs.c: Fixed compiler warning. * ddb/db_output.c, kern/bootstrap.c, kern/debug.c, kern/printf.c: Replaced varargs.h by stdarg.h. Fixed prototypes (const char *fmt). * ddb/db_output.h: Use prototype for db_printf. * i386/Files: removed varargs.h. * i386/i386/pit.h: Fixed compiler warning. * i386/i386at/model_dep.c: Tried to fix compiler warning. * i386/include/mach/sa/sys/varargs.h: Removed. * i386/linux/Makefile.in: Removed delay.S, added delay.c. * linux/dev/include/asm-i386/segment.h: Support gcc-2.95. * linux/dev/include/asm-i386/string.h, linux/src/include/asm-i386/string.h: Update from linux-2.2.14. * linux/dev/lib/vsprintf.c: Fixed compiler warning. * linux/src/include/asm-i386/delay.h: Update from linux-2.2.14. * linux/src/arch/i386/lib/delay.c: Copy from linux-2.2.14. * linux/src/include/asm-i386/string.h: Update from linux-2.2.14.
.
.
*** empty log message ***
.
.
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
.
.
1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> * i386/linux/Makefile.in: For each .o file in $(linux-objs) include a corresponding .d file, unless `no_deps' is `t'. (make-deps): New function. (%.d): New pattern rules for building %.d from %.c and %.S.
1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> * i386/linux/Makefile.in: For each .o file in $(linux-objs) include a corresponding .d file, unless `no_deps' is `t'. (make-deps): New function. (%.d): New pattern rules for building %.d from %.c and %.S.
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
1999-06-21 Thomas Bushnell, BSG <tb@mit.edu> * Makefile.in (all-real-archs): Delete variable. (dist): No longer make `machine' symlink.
1999-06-21 Thomas Bushnell, BSG <tb@mit.edu> * Makefile.in (dist): Sanify file permissions before building tar file.
Sun Jun 20 18:33:59 1999 Thomas Bushnell, BSG <tb@mit.edu> * version.c (version): Updated to version 1.2. * i386/Files: Regenerated. * i386/Subdirs: Regenerated. * linux/Files: New file. * linux/Subdirs: New file. * Makefile.in (all-archs): Add `linux'. (all-real-archs): New variable. (dist): Create `machine' symlink only on $(all-real-archs). * Makefile.in (dist): Use `cp' instead of `ln'. * config.guess: Updated from autoconf 2.13. * config.sub: Likewise.
1999-06-16 Thomas Bushnell, BSG <tb@mit.edu> * Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is not `no'. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
.
.
.
.
.
.
.
.
*** empty log message ***
.
.
*** empty log message ***
Mon Apr 26 02:13:02 1999 Thomas Bushnell, BSG <tb@mit.edu> * Makefile.in (objfiles): Don't add $(systype)/sysdep.o here. ($(systype)/sysdep.o): Delete rule. (clean, distclean, mostlyclean, maintainerclean, install-headers, install-kernel): Don't do recursive make here. * i386/Makefrag (objfiles): Add i386/sysdep.o to the list. (i386/sysdep.o): New rule. (clean): Depend on i386-clean. (distclean): Depend on i386-distclean. (mostlyclean): Depend on i386-mostlyclean. (maintainerclean): Depend on i386-maintainerclean. (install-headers): Depend on i386-install-headers. (install-kernel): Depend on i386-install-kernel. (i386-clean, i386-distclean, i386-mostlyclean, i386-maintainerclean, i386-install-kernel, i386-install-headers): New rules.
1999-04-14 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * version.c (version): Update to 1.1.92. 1999-03-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> Version 1.1.91. * version.c (version): Update to 1.1.91. 1999-02-28 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * Makefile.in (clean): Don't move device-drivers.h, because it is not in the top directory any longer. (distclean): Remove config.cache and config.log. * i386/Makefile.in (distclean): Remove config.status, config.log and Makefile. * i386/linux/Makefile.in (distclean): Remove config.status, config.log, Makefile and device-drivers.h. 1999-02-27 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * Makefile.in: Omit to detect if com or lpr is used, and don't use linux.o. (objfiles): Add $(systype)/sysdep.o. (clean): Chain the target to $(systype). (distclean): Likewise. (mostlyclean): Likewise. (maintainer-clean): Likewise. (install-headers): Likewise. (install-kernel): Likewise. * configure.in: AC_CONFIG_SUBDIRS ${systype} instead of linux. (--disable-linuxdev): Deleted. (--disable-com): Likewise. (--enable-lpr): Likewise. * i386/Makefile.in: New file. * i386/configure.in: Likewise. * i386/Makefrag (DEFINES): Add -DLINUX_DEV. (objfiles): Always add com.o. If MACH_LPR is defined, then add lpr.o. * linux/Drivers.in: Moved to ... * i386/linux/Drivers.in: ... here. Include ../../aclocal.m4. (mkdir_p): New function to create the linux include dirs. * linux/Makefile.in: Moved to ... * i386/linux/Makefile.in: ... here, and modify so that paths are valid. (clean): New target. (distclean): Likewise. (mostlyclean): Likewise. (maintainer-clean): Likewise. * linux/src/include/linux/autoconf.h: Removed. * linux/dev/include/linux/autoconf.h: Moved to ... * i386/linux/dev/include/linux/autoconf.h: ... here. * linux/dev/arch/i386/linux_emul.h: Moved to ... * i386/linux/dev/include/linux_emul.h: ... here. * linux/device-drivers.h.in: Moved to ... * i386/linux/device-drivers.h.in: ... here. * linux/aclocal.m4: Removed. * linux/configure: Likewise. 1999-02-05 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> Version 1.1.90. * version.c (version): Update to 1.1.90. 1999-02-14 Gordon Matzigkeit <gord@trick.fig.org> * Makefile.in (install-kernel): Be sure that $(bootdir) is created before installing the kernel. 1999-02-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * configure.in: Enable com by default, because current kbd and mouse can't be linked without com. Reported by M. Meiarashi <mes@st.rim.or.jp>. 1999-02-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * linux/dev/glue/block.c (dev_getstat): Fix a missing `struct'. * device/cons.c (cninit): Don't call kmsginit. * kmsg.c (kmsg_buffer): Defined as static. (kmsg_write_offset): Likewise. (kmsg_read_offset): Likewise. (kmsg_read_queue): Likewise. (kmsg_in_use): Likewise. (kmsg_lock): Likewise. (kmsginit): Likewise, and call queue_init instead of setting PREV and NEXT manually. (kmsg_done_init): New variable. (kmsg_putchar): Call kmsginit if not initialized yet. (kmsggetstat): New function. * kmsg.h (kmsggetstat): Add the prototype. * i386/i386at/kd_event.c (kbdgetstat): Handle DEV_GET_SIZE. (kbdread): Check if the amount a user specify is a multiple of sizeof(kd_event). * i386/i386at/kd_mouse.c (mousegetstat): New function. (mouseread): Check if the amount a user specify is a multiple of sizeof(kd_event). * i386/i386at/conf.c (dev_name_list): Set the mouse getstat entry to mousegetstat and the kmsg getstat entry to kmsggetstat. Use MACH_COM instead of NCOM to determine if com is used. Use MACH_LPR instead of NLPR to determine if lpr is used. * configure.in (--enable-com): New option. (--enable-lpr): Likewise. * Makefile.in (enable_com): New variable. (enable_lpr): Likewise. * i386/Makefrag (i386at-files): Remove com.c. (objfiles): Add com.o if enable_com is yes, and lpr.o if enable_lpr is yes. 1999-01-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * Makefile.in (install-headers): New target for installing only the headers. (install-kernel): New target for installing only the kernel. (mkheaderdirs): New target for making the headers installation directories. (mkkerneldirs): New target for making the kernel installation directory. (install): Do nothing by itself, but depend on install-kernel and install-headers. 1999-01-24 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * device/kmsg.h (KMSGBUFSIZE): Deleted. * device/kmsg.c: Rewritten completely to provide stream interface. * linux/dev/glue/block.c (device_getstat): Added V_GETPARMS support. * config.guess: New version from automake-1.4. * config.sub: Likewise. * install-sh: Likewise. 1999-01-24 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * Makefile.in (clean): Don't hang if device-drivers.h doesn't exist. * linux/Makefile.in (CPPFLAGS): Fix a typo. 1999-01-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * device/kmsg.c: Fixed the copyright notice. (MACH_KMSG): Removed. * Makefile.in (enable_kmsg): New variable. (objfiles): Add kmsg.o, if and only if enable_kmsg is yes. 1998-12-18 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * Makefile.in (objfiles): Add kmsg.o. * device/cons.c: Include <device/io_req.h>. * device/kmsg.c: Rewritten almost entirely. 1998-12-02 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * configure.in: Fix linuxdev option handling. * linux/Drivers.in: Remove linuxdev option and fix linking files. * linux/Makefile.in: Replace @DEFS@ with -DLINUX_DEV. * linux/dev/arch/i386/kernel/irq.c: Include missing header files. * linux/dev/arch/i386/kernel/setup.c: Include <device-drivers.h>. * linux/dev/glue/kmem.c: Add printf declaration. * linux/dev/glue/misc.c: Include <linux/types.h>. * linux/dev/init/main.c: Call linux_sched_init instead of sched_init. * linux/dev/kernel/sched.c: Add timer_bh declaration. (tqueue_bh): Fix the argument. (linux_sched_init): Renamed from sched_init. 1998-12-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> Add kmsg device. * Makefile.in (device-files): Add kmsg.c and kmsg.h. * configure.in (--enable-kmsg): New option. * device/cons.c: Include kmsg.h. (cninit): Call kmsginit if MACH_KMSG is defined. (cnputc): Call kmsg_putchar if MACH_KMSG is defined. * device/kmsg.c: New file. * device/kmsg.h: Likewise. * i386/i386at/conf.c (dev_name_list): Add kmsg entry. 1998-12-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * i386/i386at/i386at_ds_routines.c: Include <linux/device-drivers.h> only if LINUX_DEV is defined. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>. * device/ds_routines.c: Likewise. * configure.in: AC_CONFIG_SUBDIRS(linux) instead of linuxdev. (--disable-linuxdev): New option. * linux/Makefile.in (CPPFLAGS): Remove -DLINUX_DEV, and add @DEFS@. (objfiles): Add linux.o only if LINUX_DEV is defined. * linux/Drivers.in (--disable-linuxdev): New option. * i386/Makefrag (DEFINES): Remove -DLINUX_DEV. 1998-11-30 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> Clean up linux emulation code to make it architecture-independent as much as possible. * linux: Renamed from linuxdev. * Makefile.in (objfiles): Add linux.o instead of linuxdev.o. (MAKE): New variable. Used for the linux.o target. * configure.in: Add AC_CHECK_TOOL(MAKE, make). * i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with OSF Mach 3.0. Suggested by Elgin Lee <ehl@funghi.com>. * linux/src: Renamed from linux/linux. * linux/dev: Renamed from linux/mach. * linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h, instead of mach/include/linux/autoconf.h. * Makefile.in (all): Target ../linux.o instead of ../linuxdev.o. * linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead of <i386/ipl.h>. * linux/dev/drivers/net/auto_irq.c: Remove unneeded header files, <i386/ipl.h> and <i386/pic.h>. * linux/dev/init/main.c: Many i386-dependent codes moved to ... * linux/dev/arch/i386/irq.c: ... here. * linux/dev/arch/i386/setup.c: New file. * linux/dev/arch/i386/linux_emul.h: Likewise. * linux/dev/arch/i386/glue/timer.c: Merged into sched.c. * linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead of <i386/ipl.h>, and moved to ... * linux/dev/kernel/sched.c: ... here. * linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and <linux_emul.h>, instead of i386-dependent header files, and moved to ... * linux/dev/glue/blocl.c: ... here. * linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and <linux_emul.h>, instead of i386-dependent header files, and moved to ... * linux/dev/glue/net.c: ... here. * linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ... * linux/dev/glue/misc.c: ... here. * linux/dev/arch/i386/glue/kmem.c: Moved to ... * linux/dev/glue/kmem.c: ... here. 1998-11-24 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * linuxdev: Heavily changed. It becomes more Linux-like file hierarchy as suggested by Roland McGrath <roland@frob.com>. * linuxdev/linux: Contain original Linux source files. * linuxdev/mach: Contain modified source files for Mach. * linuxdev/mach/arch/i386/glue: XXX Contain files that are not easy to segregate. * Makefile.in: Call `make -C linuxdev all', instead of include linuxdev/Makefrag. 1998-11-14 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * Makefile.in (clib-routines.o): Add -L option to search libc.a. Reported by TAKEUCHI Yoji <ytakeuch@po.iijnet.or.jp>. 1998-11-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * i386/i386at/gpl/linux: Moved to ... * linuxdev: ... here. * i386/Makefrag: Linux drivers specific code moved to ... * linuxdev/Makefrag: ... here. * i386/Files: Recreated. * i386/Subdirs: Likewise. * linuxdev/drivers: New directory. * linuxdev/arch: Likewise. * linuxdev/arch/i386: Likewise. * linuxdev/{block,scsi,net,pci}: Moved to ... * linuxdev/drivers/{block,scsi,net,pci}: ... here. * i386/{Drivers.in,device-drivers.h.in,driverlist.in}: Moved to ... * linuxdev/{Drivers.in,device-drivers.h.in,driverlist.in}: ... here. * linuxdev/{linux_emul.h,linux_*.c}: Moved to ... * linuxdev/arch/i386/{linux_emul.h,linux_*.c}: ... here. * linuxdev/arch/i386/linux_block.c: Include <linux_emul.h>, instead of <i386at/gpl/linux/linux_emul.h>. * linuxdev/arch/i386/linux_init.c: Likewise. * linuxdev/arch/i386/linux_kmem.c: Likewise. * linuxdev/arch/i386/linux_misc.c: Likewise. * linuxdev/arch/i386/linux_net.c: Likewise. * linuxdev/arch/i386/linux_sched.c: Likewise. * device/ds_routines.c: Include <linuxdev/device-drivers.h>, instead of <i386/device-drivers.h>. * linuxdev/arch/i386/linux_init.c: Likewise. * linuxdev/include/linux/autoconf.h: Likewise. * Makefile.in: Include $(srcdir)/linuxdev/Makefrag. * linuxdev/Drivers.in (AC_INIT): Use include/linux/autoconf.h, instead of i386/i386asm.sym.
*** empty log message ***
*** empty log message ***
.
.
.
.
* mig: Subdirectory removed, now in separate dist.
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
Mon Jul 28 17:01:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * COPYING: New file. * Makefile.in (topfiles): Add COPYING.
*** empty log message ***
Thu Jun 12 18:08:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> Version 1.1.3 released. * version.c (version): Update to 1.1.3.
*** empty log message ***
Tue Jun 10 13:33:37 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile.in (install): Install cross-migcom as `migcom', not as `mig'. Mon Jun 9 22:14:09 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * i386/Drivers.in: Fix typos apt.o -> atp.o; 3c403.o -> 3c503.o. * Drivers.macros (AC_DRIVER): Test the class selected flag correctly. Mon May 26 14:33:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * version.c (version): Update to version 1.1.2. Fri May 23 10:08:48 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile.in (topfiles): Add aclocal.m4. Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
Mon May 12 11:25:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * version.c (version): Update to version 1.1.1.
*** empty log message ***
*** empty log message ***
*** empty log message ***
Wed May 7 15:32:08 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * version.c (version): Update to version 1.1. * NEWS: New file. * Makefile.in (topfiles): Add NEWS.
Wed May 7 15:32:08 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * version.c (version): Update to version 1.1. * NEWS: New file. Mon May 5 11:34:01 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile.in (enable_kdb): Use findstring instead of filter. Reported by Marcus Daniels (marcus@cathcart.sysc.pdx.edu).
Fri May 2 12:43:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile.in (enable_kdb): New variable. (clib-routines): If enable_kdb, then add strstr. * i386/i386/_setjmp.S: New file, from UK22 libmach. * i386/Files: Add i386/i386/_setjmp.S. * i386/Makefrag (objfiles): Add _setjmp.o if enable_kdb.
1997-04-30 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> * Makefile.in (clib-routines): Add htons not because it is necessary, but because libc5 systems will bring it in. (check-clib-routines): Tolerate extra weak symbols.
.
Wed Apr 23 13:21:23 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * configure.in (BUILD_CC): Use AC_CHECK_PROGS, not AC_CHECK_PROG, since we are checking multiple names. * configure.in (kdb): New --enable option. * Makefile.in (DEFINES): Add @DEFS@. * Makefile.in (clean, distclean, mostlyclean, maintainter-clean): New targets. (all-archs-configures): New variable. (MIG): Change to ./local-mig. (./local-mig): Change to build this instead of ./mig (check-clib-routines): Use nm -g in case there are local symbols. Suggested by Matthew Wilcox (willy@odie.barnet.ac.uk). Fri Apr 18 15:25:10 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * configure.in: Add AC_PREREQ for version 2.12. * i386/Drivers.in: Likewise.
Wed Apr 16 16:55:36 1997 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> * configure.in: Replace AC_PROG_CC with AC_PROG_CC_LOCAL. If cross compiling do Lex/Yacc checks with BUILD_CC. Check CC and BUILD_CC for libraries having the needed support, and substitute discovery in installed_clib. * aclocal.m4: New file. These replacement macros are to handle the case where there is a cross compiler but no supporting files. * Makefile.in (installed-clib): Don't hardwire a Hurd libcrt.a. (cross_linkable): Only define cross-migcom variable when it will be possible to build it. (all, install): Use $(cross-migcom). (install): Install cross-migcom only if was to be built. (mkinstalldirs): Add $(bindir), $(includedir)/mach/exec (cross-lexxer.o lexxer.o): lexxer.o needs cpu.h. (./cross-migcom): Prevent dependency generation for cross-* MiG files unless they can actually be built.
Wed Apr 16 12:52:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile.in (cross-lexxer.o lexxer.o): Add pump-priming dependency on cpu.h. Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). * configure.in: Fail if configure target is not for GNU os. * Makefile.in (./cross-mig): New rule. (mkinstalldirs): Add $(libexecdir). * configure.in: Recognize i686. Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
*** empty log message ***
Baseline.
prerelease work
Initial source
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |