summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-182008-07-23 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-19 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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().
2009-06-182008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* linux/src/include/linux/tqueue.h (queue_task_irq, queue_task_irq_off, queue_task, run_task_queue): Turn into static inlines.
2009-06-182008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* 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.
2009-06-182008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* kern/mach_clock.c (timeout): Make the `fcn' parameter take a void * instead of char *. * kern/mach_clock.h (timeout): Likewise.
2009-06-182008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* device/net_io.c (net_deliver): Fix parenthesis to really round up.
2009-06-182008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* 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.
2009-06-182008-07-18 Andrei Barbu <andrei@0xab.com>Samuel Thibault
* include/sys/types.h (quad): Remove type.
2009-06-182008-07-18 Andrei Barbu <andrei@0xab.com>Samuel Thibault
* (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.
2009-06-182008-07-18 Andrei Barbu <andrei@0xab.com>Samuel Thibault
* 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.
2009-06-182008-07-18 Andrei Barbu <andrei@0xab.com>Samuel Thibault
* ddb/db_sym.c (db_task_printsym): Do not print empty symbols.
2009-06-182008-07-18 Andrei Barbu <andrei@0xab.com>Samuel Thibault
* 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.
2009-06-182008-07-18 Andrei Barbu <andrei@0xab.com>Samuel Thibault
* i386/i386/db_interface.c (db_read_bytes): Do not increment the address before printing it.
2009-06-182008-07-18 Andrei Barbu <andrei@0xab.com>Samuel Thibault
* 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.
2009-06-18Correct copyright year.Thomas Schwinge
2009-06-18Really add model_dep.h headerSamuel Thibault
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-18Fix (void) prototypes.Samuel Thibault
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* kern/time_stamp.h (timestamp_init): Add prototype. * kern/startup.c: Include <kern/time_stamp.h>.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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>
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* device/ds_routine.h (ds_notify): Add prototype. * kern/ipc_kobject.c: Include <device/ds_routines.h>
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* 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.
2009-06-18 * linux/src/drivers/net/rtl8139.c (rtl8129_open): Move IRQSamuel Thibault
initialization after ring initialization.
2009-06-182008-07-02 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* linux/dev/include/asm/segment.h (__put_user, __get_user): Add always_inline attribute.
2009-06-182008-06-29 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* i386/i386/fpu.c (fpintr): Do not panic if the we receive the interrupt twice in the same thread.
2009-06-182008-05-28 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
[bug #23417, patch #6508 -- Building with -g3] * Makefile.am (MIGCOM): Revert the 2008-05-19 change.
2009-06-182008-05-25 Andrei Barbu <teval0@gmail.com>Samuel Thibault
* 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.
2009-06-182008-05-19 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
[patch #6508 -- Building with -g3] * Makefile.am (MIGCOM): Let it filter through CPP again. Suggested by Andrei Barbu <teval0@gmail.com>.
2009-06-182008-05-09 Andrei Barbu <teval0@gmail.com>Samuel Thibault
* i386/i386/loose_ends.c (DELAY): Use volatile qualifier instead of register to prevent optimization.
2009-06-18 * doc/Makefrag.am: Fix typo.Samuel Thibault
2009-06-18 * i386/i386/locore.S (syscall): Clear direction flag at entry.Samuel Thibault
2009-06-18 * linux/src/drivers/block/triton.c (ide_init_triton): Enable BusSamuel Thibault
Mastering if not enabled by BIOS.
2009-06-182007-12-30 Samuel thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* 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.
2009-06-182007-12-30 Samuel thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* kern/debug.c (panic) [MACH_KDB]: Don't wait before running the debugger.
2009-06-182007-12-11 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/include/linux/nfs.h: Remove unused file. * linux/src/include/linux/nfs.h: Likewise.
2009-06-182007-12-10 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* 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.
2009-06-182007-12-05 Guillem Jover <guillem@hadrons.org>Samuel Thibault
* 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.
2009-06-182007-11-18 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* i386/intel/pmap.c (pmap_map_bd): Use INTEL_PTE_NCACHE|INTEL_PTE_WTHRU. Get pmap lock.
2009-06-182007-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* ddb/db_examine.c (db_strcpy): Add extra parentheses around assignment used as boolean. * ddb/db_sym.c (db_qualify, db_lookup): Likewise.
2009-06-182007-11-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* doc/mach.texi: Do the copyright and licensing things as suggested by the GNU Texinfo manual.
2009-06-182007-10-09 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment.
2009-06-182007-10-08 Stefan Siegl <stesie@brokenpipe.de>Stefan Siegl
* linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag on device and propagate.