Age | Commit message (Collapse) | Author |
|
File kern/refcount.h includes itself. Remove this include.
* kern/refcount.h: Don't include kern/refcount.h.
|
|
File kern/rbtree.h includes itself. Remove this include.
* kern/rbtree.h: Don't include kern/rbtree.h.
|
|
This is priority.c. Not clock_prim.c.
* kern/priority.c: Update comment.
|
|
* kern/pc_sample.c (pc_sampling_enabled, pc_sampling_lock): Remove unused variables.
|
|
* kern/lock_mon.c (scurval, ssum, sli): Remove variables.
(scurval, ssum, sli): Remove dead assignments.
|
|
Variable curr_ipl is in other files declared as spl_t.
* kern/lock_mon.c (curr_ipl): Use spl_t instead of an int.
|
|
* kern/act.h (act_create_kernel): Remove prototype without definition.
|
|
|
|
This is ipc/port.h. Not ipc/ipc_port.h.
* ipc/port.h: Update comment.
|
|
* ipc/mach_port.c (mach_port_deallocate_debug): Use boolean instead of an int.
|
|
* ipc/ipc_init.c (ipc_kernel_map_size): Qualify constant with const.
|
|
* i386/intel/pmap.c (end): Remove unused variable.
|
|
* i386/intel/pmap.c (pmap_debug): Use boolean instead of an int.
|
|
* i386/i386at/rtc.c (tz): Remove unused variable.
* xen/time.c (tz): Remove unused variable.
|
|
* i386/i386at/rtc.c (first_rtcopen_ever): Use boolean instead of an int.
|
|
* i386/i386at/kd.c (kd_bellstate): Use boolean instead of an unsigned int.
|
|
* 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.
|