Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
* kern/processor.h (processor_doshutdown): Drop spurious volatile qualifier.
|
|
* kern/machine.c (processor_doaction, processor_doshutdown): Remove forward declarations.
* kern/processor.h (processor_doaction, processor_doshutdown): Add prototypes.
|
|
* kern/eventcount.c [NCPUS] (simpler_thread_setrun): Remove forward declaration.
* kern/eventcount.h [NCPUS] (simpler_thread_setrun): Add prototype.
|
|
* kern/timer.c (timer_init): Remove forward declaration.
* kern/timer.h (timer_init): Add prototype.
|
|
* kern/mach_clock.c (softclock): Remove forward declaration.
* kern/timer.h (softclock): Add prototype.
|
|
* kern/thread.c [MACH_DEBUG] (stack_init, stack_finalize): Remove forward declarations.
* kern/thread.h [MACH_DEBUG] (stack_init, stack_finalize): Add prototypes.
|
|
|
|
* 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.
|
|
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.
|
|
* kern/xpr.c (s): Initialize.
|
|
* kern/startup.c [MACH_KDB]: Include device/cons.h.
|
|
info_size is initialized to a random value. Quiet the warning by
initializing to zero.
* kern/slab.c (info_size): Initialize to zero.
|
|
optimal_embed is initialized to a random value. Quiet the warning by
initializing to zero.
* kern/slab.c (optimal_embed): Initialize to zero.
|
|
* kern/xpr.c: Remove register qualifiers.
|
|
* kern/timer.h: Remove register qualifiers.
|
|
* kern/timer.c: Remove register qualifiers.
|
|
* kern/thread_swap.c: Remove register qualifiers.
|
|
* kern/thread.c: Remove register qualifiers.
|
|
* kern/task.c: Remove register qualifiers.
|
|
* kern/syscall_subr.c: Remove register qualifiers.
|
|
* kern/syscall_emulation.c: Remove register qualifiers.
|
|
* kern/strings.c: Remove register qualifiers.
|
|
* kern/startup.c: Remove register qualifiers.
|
|
* kern/sched_prim.c: Remove register qualifiers.
|
|
* kern/sched.h: Remove register qualifiers.
|
|
* kern/queue.h: Remove register qualifiers.
|
|
* kern/queue.c: Remove register qualifiers.
|
|
* kern/processor.c: Remove register qualifiers.
|
|
* kern/priority.c: Remove register qualifiers.
|
|
* kern/printf.c: Remove register qualifiers.
|
|
* kern/pc_sample.c: Remove register qualifiers.
|
|
* kern/machine.c: Remove register qualifiers.
|
|
* kern/mach_factor.c: Remove register qualifiers.
|
|
* kern/mach_clock.c: Remove register qualifiers.
|
|
* kern/lock_mon.c: Remove register qualifiers.
|
|
* kern/lock.c: Remove register qualifiers.
|
|
* kern/ipc_tt.c: Remove register qualifiers.
|
|
* kern/ipc_sched.c: Remove register qualifiers.
|
|
* kern/ipc_mig.c: Remove register qualifiers.
|
|
* kern/host.c: Remove register qualifiers.
|
|
* kern/exception.c: Remove register qualifiers.
|
|
* kern/eventcount.c: Remove register qualifiers.
|
|
* kern/bootstrap.c: Remove register qualifiers.
|
|
* kern/ast.c: Remove register qualifiers.
|
|
* kern/act.c: Remove register qualifiers.
|
|
|
|
Found using the Clang Static Analyzer.
* kern/elf-load.c (exec_load): Properly propagate errors.
|
|
Variable reply_port is never used. There is indication in the comments
that it might be used in future function call, so comment it.
* kern/ipc_mig.c (syscall_device_writev_request): Comment variable.
|