Age | Commit message (Collapse) | Author |
|
* i386/i386at/kd.c (mouse_in_use): Use boolean instead of an int.
Remove duplicate declaration.
|
|
* i386/i386at/kd.c (rebootflag): Use boolean instead of an int.
Remove duplicate variable declaration.
* i386/i386at/model_dep.c (rebootflag): Use boolean instead of an int.
|
|
* i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int.
* i386/i386at/kd.c (immediate_console_enable): Likewise.
|
|
* i386/i386/user_ldt.c (acc_type): Remove unused variable.
|
|
* i386/i386/trap.c (v86_assist_on, v86_unsafe_ok, v86_do_sti_cli, v86_do_sti_immediate, cli_count, sti_count): Remove unused variables.
|
|
* i386/i386/trap.c (brb): Remove unused variable.
|
|
* i386/i386/pit.c (pitctr1_port, pitctr2_port): Remove unused variables.
|
|
* i386/i386/pic.c (nintr, npics): Remove unused variables.
|
|
* i386/i386/mp_desc.c (avail_start): Remove unused variable.
|
|
This code is used even if KERNEL is not defined. Remove the ifdef.
* i386/i386/ipl.h [_I386_IPL_H_]: Add ifndef.
|
|
* i386/i386/db_interface.c (kernel_dr): Use boolean instead of an int.
|
|
Now that we have device/chario.h move the chario_init() prototype
from device/tty.h to device/chario.h.
* device/chario.h (chario_init): Add prototype.
* device/device_init.c: Include device/chario.h.
* device/tty.h (chario_init): Remove prototype.
|
|
* device/kmsg.c (kmsg_init_done): Use boolean instead of an int.
|
|
* device/kmsg.c (kmsg_in_use): Use boolean instead of an int.
|
|
* device/if_ether.h (etherbroadcastaddr): Remove unused variable.
* device/subrs.c (etherbroadcastaddr): Remove initialization.
|
|
* device/dev_lookup.c (dev_port_lock): Remove unused lock.
|
|
* device/cirbuf.c (cb_check_enable): Use boolean instead of an int.
|
|
* device/chario.c (pdma_default): Use boolean instead of an int.
|
|
Function kdbprintf() and db_printf() are the same function. Remove
kdbprintf() and define kdbprintf to db_printf.
* ddb/db_output.c (kdbprintf): Remove function.
* ddb/db_output.h: Define kdbprintf to db_printf.
(kdbprintf): Remove prototype.
|
|
* ddb/db_output.c [db_printf_enter] (db_printf_enter): Remove call to nonexistent function.
|
|
* ddb/db_command.h (db_recover): Remove duplicate variable declaration.
|
|
* ddb/db_command.c (db_skip_to_eol): Remove forward declaration.
|
|
Function _longjmp() is used even if __GNUC__ is not defined. Avoid
implicit declaration in that case by removing the ifdef.
* i386/i386/setjmp.h [__GNUC__] (_longjmp): Remove ifdef.
|
|
Shutdown can be optimised. Remove __volatile__.
* kern/machine.c [__GNUC__] (processor_doshutdown): Remove volatile function qualifier.
|
|
* ipc/ipc_port.c (indent): Trivial stylistic fix for consistency.
|
|
Thanks Marin Ramesa for the report.
* i386/i386at/kd.h (K_DONE, NC, K_SCAN): Make constants unsigned.
|
|
* kern/debug.c (Assert): Always call Debugger, even if db_breakpoints_insert
is not set.
|
|
Thanks Marin Ramesa for the report.
* device/ds_routines.h (device_deallocate): Move declaration to...
* include/device/device_types.h (device_deallocate): ... here.
|
|
* device/device_types_kernel.h (dev_port_lookup): Remove prototype.
|
|
* i386/i386at/cram.h [_CRAM_H_]: Add ifndef.
* i386/i386at/disk.h [_DISK_H_]: Likewise.
* i386/i386at/i8250.h [_I8250_H_]: Likewise.
* i386/include/mach/i386/asm.h [_MACH_I386_ASM_H_]: Likewise.
* i386/include/mach/i386/disk.h [_MACH_I386_DISK_H_]: Likewise.
|
|
* device/cons.c [MACH_KMSG]: Likewise.
[CONSBUFSIZE > 0]: Likewise.
* i386/i386/trap.c [MACH_KDB]: Likewise.
[MACH_PV_PAGETABLES]: Likewise.
* i386/i386at/kd.c [ENABLE_IMMEDIATE_CONSOLE]: Likewise.
* ipc/ipc_kmsg_queue.h [_IPC_KMSG_QUEUE_H_]: Likewise.
* kern/act.c [ACTWATCH]: Likewise.
* kern/refcount.h [MACHINE_REFCOUNT]: Likewise.
* kern/task.c [FAST_TAS]: Likewise.
|
|
* ddb/db_variables.h: Include <machine/db_machdep.h>.
|
|
* i386/i386at/com.h: Include chips/busses.h.
|
|
* ddb/db_task_thread.c (db_set_default_thread): New parameter.
* ddb/db_task_thread.h (db_set_default_thread): Likewise.
|
|
* Makefrag.am: Include kern/priority.h.
* kern/mach_clock.c (thread_quantum_update): Remove forward declaration.
Include kern/priority.h.
* kern/priority.h: New file.
Add copyright.
[_KERN_PRIORITY_H_]: Add ifndef.
(thread_quantum_update): Add prototype.
|
|
* ipc/mach_port.c (mach_port_get_receive_status): Remove forward declaration.
* ipc/mach_port.h (mach_port_get_receive_status): Add prototype.
|
|
* ipc/ipc_entry.c (db_ipc_object_by_name): Remove forward declaration.
* ipc/ipc_entry.h (db_ipc_object_by_name): Add prototype.
|
|
* i386/i386at/model_dep.c (init_alloc_aligned): Remove forward declaration.
* i386/i386at/model_dep.h (init_alloc_aligned): Add prototype.
|
|
* kern/time_stamp.c [multimax]: Remove code.
|
|
* i386/Makefrag.am: Don't include i386/include/mach/i386/rpc.h.
* i386/include/mach/i386/rpc.h: Remove file.
|
|
* vm/vm_user.c (vm_map_machine_attribute): Remove forward declaration.
|
|
This is vm_resident.c, not vm_page.c.
* vm/vm_resident.c: Correct comment.
|
|
* vm/vm_map.c (_vm_map_clip_start, _vm_map_copy_clip_start, _vm_map_clip_end, _vm_map_copy_clip_end): Remove forward declarations.
* vm/vm_map.h (_vm_map_clip_end): Correct prototype.
|
|
* vm/vm_kern.c (kmem_alloc_pages, kmem_remap_pages): Remove forward declarations.
* vm/vm_kern.h (kmem_alloc_pages, kmem_remap_pages): Add prototypes.
|
|
* vm/vm_fault.c (vm_fault_wire_fast): Remove forward declaration.
* vm/vm_fault.h (vm_fault_wire_fast): Add prototype.
|
|
Struct ipc_kmsg_queue is not defined in kern/thread.h.
* ipc/ipc_kmsg.h: Update comment.
|
|
* kern/xpr.c (db_printf): Remove forward declaration.
[MACH_KDB] Include ddb/db_output.h.
|
|
* i386/i386/pcb.h (pcb_module_init): Add prototype.
* kern/thread.c (pcb_module_init): Remove forward declaration.
|
|
* ipc/ipc_mqueue.h: Include ipc/ipc_kmsg_queue.h.
* kern/ipc_kobject.h: Move includes into ifndef.
* kern/syscall_emulation.h: Include kern/task.h.
(eml_init, eml_task_reference, eml_task_deallocate): Add prototypes.
* kern/task.c: Include kern/syscall_emulation.h.
(eml_init, eml_task_reference, eml_task_deallocate): Remove forward declarations
|
|
* kern/eventcount.h (evc_wait_clear): Add prototype.
* kern/ipc_mig.h: Include device/device_types.h.
(syscall_vm_map, syscall_vm_allocate, syscall_vm_deallocate, syscall_task_create, syscall_task_terminate, syscall_task_suspend, syscall_task_set_special_port, syscall_mach_port_allocate, syscall_mach_port_deallocate, syscall_mach_port_insert_right, syscall_mach_port_allocate_name, syscall_thread_depress_abort, syscall_device_write_request, syscall_device_writev_request): Add prototypes.
* kern/syscall_sw.c (syscall_vm_map, syscall_vm_allocate, syscall_vm_deallocate, syscall_task_create, syscall_task_terminate, syscall_task_suspend, syscall_task_set_special_port, syscall_mach_port_allocate, syscall_mach_port_deallocate, syscall_mach_port_insert_right, syscall_mach_port_allocate_name, syscall_thread_depress_abort, evc_wait, evc_wait_clear, syscall_device_write_request, syscall_device_writev_request): Remove forward declarations.
Include kern/ipc_mig.h.
Include kern/eventcount.h.
|