summaryrefslogtreecommitdiff
path: root/kern
AgeCommit message (Collapse)Author
2013-12-05kern/debug.c: remove forward declarationMarin Ramesa
* kern/debug.c (cnputc): Remove forward declaration. Include device/cons.h.
2013-12-05kern/bootstrap.c: remove forward declarationsMarin Ramesa
* i386/i386/pcb.h: Include mach/thread_status.h. Include machine/thread.h. * kern/bootstrap.c: Include machine/pcb.h. (user_stack_low, set_user_regs): Remove forward declarations.
2013-12-05ipc/mach_msg.c: remove forward declarationsMarin Ramesa
* ipc/mach_msg.c: Include kern/exception.h. (exception_raise_continue, exception_raise_continue_fast): Remove forward declarations. * kern/exception.h: Include ipc/ipc_types.h. Include ipc/ipc_kmsg.h.
2013-12-05i386/i386at: remove forward declarationsMarin Ramesa
* Makefrag.am: Include kern/startup.h. * i386/i386at/model_dep.c: Include kern/startup.h. Include i386at/model_dep.h. (setup_main, halt_all_cpus, halt_cpu, inittodr): Remove forward declarations. * i386/i386at/model_dep.h (halt_all_cpus, halt_cpu, inittodr): Add prototypes. * kern/startup.h: New file. Add copyright. [_KERN_STARTUP_H_]: Add ifndef. (setup_main): Add prototype.
2013-12-05i386/i386at/conf.c: remove forward declarationsMarin Ramesa
* i386/Makefrag.am: Include i386/i386at/model_dep.h and i386/i386at/mem.h. * i386/i386at/com.h (comgetstat, comsetstat): Declare as extern. (comopen, comclose, comread, comwrite, comportdeath): Add prototypes. * i386/i386at/conf.c: Include kern/mach_clock.h and i386at/model_dep.h. (timeopen, timeclose, timemmap): Remove forward declarations. (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Likewise. (comopen, comclose, comread, comwrite, comportdeath, comgetstat, comsetstat): Likewise. (lpropen, lprclose, lprread, lprwrite, lprportdeath, lprgetstat, lprsetstat): Likewise. (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. (memmmap): Likewise. (kmsgopen, kmsgclose, kmsgread, kmsggetstat): Likewise. (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Likewise. Include i386at/kd.h. Include i386at/com.h. Include i386at/lpr.h. Include i386at/kd_event.h. Include i386at/kd_mouse.h. Include i386at/mem.h. Include device/kmsg.h. Include xen/console.h. * i386/i386at/kd.h: Include device/io_req.h. (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Add prototypes. * i386/i386at/kd_event.h (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. * i386/i386at/kd_mouse.h (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite, lprportdeath): Likewise. (lprgetstat, lprsetstat): Declare as extern. * i386/i386at/mem.h: New file. Add copyright. [_MEM_H_]: Add ifndef. (memmmap): Add prototype. * i386/i386at/model_dep.c: Include i386/i386at/model_dep.h. (timemmap): Fix argument list. * i386/i386at/model_dep.h: New file. Add copyright. [_MODEL_DEP_H_]: Add ifndef. (timemmap): Add prototype. * kern/mach_clock.h (timeopen, timeclose): Add prototypes. * xen/console.h (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Add prototypes.
2013-12-05kern/exception.c: remove forward declarationsMarin Ramesa
* i386/i386/trap.h (thread_kdb_return): Add prototype. * kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations. Include machine/trap.h. Include ddb/db_output.h.
2013-12-05kern: new header file exception.hMarin Ramesa
* Makefrag.am: Include kern/exception.h. * i386/i386/trap.c: Include kern/exception.h. (exception, thread_exception_return): Remove forward declarations. * kern/exception.c: Include kern/exception.h. (exception, exception_try_task, exception_no_server, exception_raise, exception_parse_reply, exception_raise_continue, exception_raise_continue_slow, exception_raise_continue_fast): Remove forward declarations. * kern/exception.h: New file. Add copyright. [_KERN_EXCEPTION_H_]: Add ifndef. (exception, exception_try_task, exception_no_server, exception_raise, exception_parse_reply, exception_raise_continue, exception_raise_continue_slow, exception_raise_continue_fast): Add prototypes.
2013-11-24Drop spurious volatile qualifierSamuel Thibault
* kern/processor.h (processor_doshutdown): Drop spurious volatile qualifier.
2013-11-24kern: move forward declarations into a header fileMarin Ramesa
* kern/machine.c (processor_doaction, processor_doshutdown): Remove forward declarations. * kern/processor.h (processor_doaction, processor_doshutdown): Add prototypes.
2013-11-24kern: move forward declaration into a header fileMarin Ramesa
* kern/eventcount.c [NCPUS] (simpler_thread_setrun): Remove forward declaration. * kern/eventcount.h [NCPUS] (simpler_thread_setrun): Add prototype.
2013-11-24kern: move forward declaration into a header fileMarin Ramesa
* kern/timer.c (timer_init): Remove forward declaration. * kern/timer.h (timer_init): Add prototype.
2013-11-24kern: move forward declaration into a header fileMarin Ramesa
* kern/mach_clock.c (softclock): Remove forward declaration. * kern/timer.h (softclock): Add prototype.
2013-11-24kern: move forward declarations into a header fileMarin Ramesa
* kern/thread.c [MACH_DEBUG] (stack_init, stack_finalize): Remove forward declarations. * kern/thread.h [MACH_DEBUG] (stack_init, stack_finalize): Add prototypes.
2013-11-24Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumachSamuel Thibault
2013-11-24Remove leftover register qualifiersMarin Ramesa
* ddb/db_break.c: Remove register qualifiers. * i386/i386/pcb.c: Likewise. * i386/i386at/com.c: Likewise. * i386/i386at/lpr.c: Likewise. * i386/intel/pmap.c: Likewise. * kern/machine.c: Likewise. * kern/queue.h: Likewise. * kern/sched_prim.c: Likewise. * kern/sched_prim.h: Likewise. * kern/timer.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_resident.h: Likewise.
2013-11-24New RPC for thread destructionRichard Braun
A new call, thread_terminate_release, is added to support self destruction in threading libraries. * include/mach/gnumach.defs (thread_terminate_release): New simpleroutine declaration. * kern/thread.c: Include vm/vm_user.h and ipc/mach_port.h. (thread_terminate_release): New function. * kern/thread.h (thread_terminate_release): New prototype.
2013-11-20kern/xpr.c: quiet warning about uninitialized variableMarin Ramesa
* kern/xpr.c (s): Initialize.
2013-11-20kern/startup.c: fix implicit declaration of functionMarin Ramesa
* kern/startup.c [MACH_KDB]: Include device/cons.h.
2013-11-19kern/slab.c: initialize info_sizeMarin Ramesa
info_size is initialized to a random value. Quiet the warning by initializing to zero. * kern/slab.c (info_size): Initialize to zero.
2013-11-19kern/slab.c: initialize optimal_embedMarin Ramesa
optimal_embed is initialized to a random value. Quiet the warning by initializing to zero. * kern/slab.c (optimal_embed): Initialize to zero.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/xpr.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/timer.h: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/timer.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/thread_swap.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/thread.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/task.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/syscall_subr.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/syscall_emulation.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/strings.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/startup.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/sched_prim.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/sched.h: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/queue.h: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/queue.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/processor.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/priority.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/printf.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/pc_sample.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/machine.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/mach_factor.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/mach_clock.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/lock_mon.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/lock.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/ipc_tt.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/ipc_sched.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/ipc_mig.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/host.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/exception.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/eventcount.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/bootstrap.c: Remove register qualifiers.