aboutsummaryrefslogtreecommitdiff
path: root/kern
Commit message (Collapse)AuthorAgeFilesLines
* ipc/mach_msg.c: remove forward declarationsMarin Ramesa2013-12-051-0/+3
| | | | | | | * 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.
* i386/i386at: remove forward declarationsMarin Ramesa2013-12-051-0/+24
| | | | | | | | | | | | * 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.
* i386/i386at/conf.c: remove forward declarationsMarin Ramesa2013-12-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* kern/exception.c: remove forward declarationsMarin Ramesa2013-12-051-2/+2
| | | | | | | * 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.
* kern: new header file exception.hMarin Ramesa2013-12-052-12/+64
| | | | | | | | | | | | * 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.
* Drop spurious volatile qualifierSamuel Thibault2013-11-241-3/+0
| | | | * kern/processor.h (processor_doshutdown): Drop spurious volatile qualifier.
* kern: move forward declarations into a header fileMarin Ramesa2013-11-242-7/+7
| | | | | * kern/machine.c (processor_doaction, processor_doshutdown): Remove forward declarations. * kern/processor.h (processor_doaction, processor_doshutdown): Add prototypes.
* kern: move forward declaration into a header fileMarin Ramesa2013-11-242-7/+6
| | | | | * kern/eventcount.c [NCPUS] (simpler_thread_setrun): Remove forward declaration. * kern/eventcount.h [NCPUS] (simpler_thread_setrun): Add prototype.
* kern: move forward declaration into a header fileMarin Ramesa2013-11-242-2/+2
| | | | | * kern/timer.c (timer_init): Remove forward declaration. * kern/timer.h (timer_init): Add prototype.
* kern: move forward declaration into a header fileMarin Ramesa2013-11-242-2/+2
| | | | | * kern/mach_clock.c (softclock): Remove forward declaration. * kern/timer.h (softclock): Add prototype.
* kern: move forward declarations into a header fileMarin Ramesa2013-11-242-3/+5
| | | | | * kern/thread.c [MACH_DEBUG] (stack_init, stack_finalize): Remove forward declarations. * kern/thread.h [MACH_DEBUG] (stack_init, stack_finalize): Add prototypes.
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumachSamuel Thibault2013-11-242-0/+31
|\
| * New RPC for thread destructionRichard Braun2013-11-242-0/+31
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove leftover register qualifiersMarin Ramesa2013-11-245-8/+5
|/ | | | | | | | | | | | | | | * 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.
* kern/xpr.c: quiet warning about uninitialized variableMarin Ramesa2013-11-201-1/+1
| | | | * kern/xpr.c (s): Initialize.
* kern/startup.c: fix implicit declaration of functionMarin Ramesa2013-11-201-1/+3
| | | | * kern/startup.c [MACH_KDB]: Include device/cons.h.
* kern/slab.c: initialize info_sizeMarin Ramesa2013-11-191-1/+1
| | | | | | | info_size is initialized to a random value. Quiet the warning by initializing to zero. * kern/slab.c (info_size): Initialize to zero.
* kern/slab.c: initialize optimal_embedMarin Ramesa2013-11-191-1/+1
| | | | | | | optimal_embed is initialized to a random value. Quiet the warning by initializing to zero. * kern/slab.c (optimal_embed): Initialize to zero.
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+3
| | | | * kern/xpr.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-1/+1
| | | | * kern/timer.h: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-6/+5
| | | | * kern/timer.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/thread_swap.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-47/+47
| | | | * kern/thread.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-34/+34
| | | | * kern/task.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-14/+14
| | | | * kern/syscall_subr.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/syscall_emulation.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-15/+15
| | | | * kern/strings.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+3
| | | | * kern/startup.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-83/+83
| | | | * kern/sched_prim.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-1/+1
| | | | * kern/sched.h: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-4/+4
| | | | * kern/queue.h: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-12/+12
| | | | * kern/queue.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-17/+17
| | | | * kern/processor.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-5/+5
| | | | * kern/priority.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-18/+18
| | | | * kern/printf.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/pc_sample.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-15/+15
| | | | * kern/machine.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-8/+8
| | | | * kern/mach_factor.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-18/+18
| | | | * kern/mach_clock.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-13/+13
| | | | * kern/lock_mon.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-11/+11
| | | | * kern/lock.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-4/+4
| | | | * kern/ipc_tt.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+3
| | | | * kern/ipc_sched.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-13/+13
| | | | * kern/ipc_mig.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-6/+6
| | | | * kern/host.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-14/+14
| | | | * kern/exception.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-4/+4
| | | | * kern/eventcount.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+2
| | | | * kern/bootstrap.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-9/+9
| | | | * kern/ast.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/act.c: Remove register qualifiers.