Age | Commit message (Collapse) | Author |
|
Found using the Clang Static Analyzer.
* kern/elf-load.c (exec_load): Properly propagate errors.
|
|
Initialize addr to zero offset to quiet warnings about uninitialized
deallocation.
* device/chario.c (addr): Initialize to zero.
|
|
* device/subrs.c: Remove register qualifiers.
|
|
* device/net_io.c: Remove register qualifiers.
|
|
* device/if_ether.h (ETHERMTU, ETHERMIN): Remove unused definitions.
|
|
* device/blkio.c: Remove register qualifiers.
|
|
* xen/time.c (hyp_get_stime): Split `delta` into `delta_high` and
`delta_low`, as it may overflow 4 second timing nowadays.
|
|
|
|
* vm/vm_map.h (KENTRY_DATA_SIZE): Set to 256 pages.
|
|
* Makefrag.am (libkernel_a_SOURCES): Add ddb/db_write_cmd.h,
ipc/ipc_print.h, vm/vm_print.h
* linux/Makefrag.am (EXTRA_DIST): Add linux/src/drivers/scsi/FlashPoint.c,
linux/src/drivers/scsi/eata_pio_proc.c, linux/src/drivers/scsi/scsiiom.c.
|
|
|
|
* version.m4 (AC_PACKAGE_VERSION): Set to 1.4.
* NEWS: Finalize changes for 1.4.
* README: Update.
|
|
|
|
* gitlog-to-changelog: New file; import from gnulib's
9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog.
* Makefile.am (gen-ChangeLog): New target.
(dist-hook): Depend on it.
|
|
* Makefile.am (dist-hook): Rename to...
(dist-rm-CVS): ... this new target.
(dist-hook): Depend on it.
|
|
Follow-up to commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17.
|
|
* README: Fix typo.
|
|
texinfo does not support @heading/@center in the middle of an enumerate.
* doc/gpl.texi: Move "NO WARRANTY" to item heading.
|
|
* README: Network drivers are actually enabled by default.
|
|
* README: Update default drivers notice. Mention cross-compilation flags
for 64bit systems.
|
|
The referenced Invariant sections does not exist, and the front and back
covers do not hold much information.
|
|
* device/dk_label.c: Remove file.
|
|
* device/ds_routines.c [CONFIG_PCMCIA, CONFIG_INET, LINUX_DEV, MACH_HYP]: Add comments after endifs.
|
|
* device/ds_routines.c [lint]: Remove ifdefs and associated code.
|
|
* device/ds_routines.c: Remove register qualifiers.
|
|
* device/dev_pager.c [lint]: Remove ifdefs and associated code.
|
|
|
|
* device/dev_pager.c: Remove register qualifiers.
|
|
* device/dev_name.c: Change in coding style.
|
|
Variable 'found' already receives values TRUE and FALSE, so why not make
it a boolean.
* device/dev_name.c: Use boolean_t instead of an int.
|
|
The first one is a message that name lookup has been called, which
I think is safe to remove, or maybe add #if DEBUG. Second one is a
alternate calculation that I doubt it will ever be used, so I think
it's safe to remove it.
* device/dev_name.c: Remove preprocessor comments.
|
|
* device/dev_name.c: Change in coding style.
|
|
* device/dev_name: Changes in coding style.
|
|
* device/dev_name.c: Remove register qualifiers.
|
|
NDEVICES is never used. Judging by the position and the comments
it was once used in initialization, but it's not anymore. I think
it's safe to remove it.
* device/dev_lookup.c (NDEVICES): Remove definition.
|
|
* device/dev_lookup.c: Remove register qualifiers.
|
|
* device/cirbuf.c: Remove register qualifiers.
|
|
A variable that keeps track if the console init has been called. It should
never receive values other than 0 and 1, so constrain it's possible range of
values to a boolean.
* device/cons.c (cn_inited): Use boolean_t instead of an int.
|
|
A variable that keeps track of the console buffer usage should never receive
values other than 0 and 1, so constrain it's value range to boolean. Plus, it's
more readable this way.
* device/cons.c (consbufused): Use boolean_t instead of an int.
|
|
CONSMAJOR is never used. I'm guessing that in the past it was
a part of some problematic code. I don't see a reason to keep
it's definition.
* device/cons.h (CONSMAJOR): Remove definition.
|
|
* device/chario.c: Remove register qualifiers.
|
|
* device/chario.c (tty_inq_size, tty_outq_size): Qualify constants as const.
|
|
* device/chario.c (tty_flush): Remove forward declaration (prototype is in tty.h).
|
|
* device/tty.h [luna88k]: Remove ifdef and include for nonexistent header files.
* kern/debug.c: Remove check for luna88k.
|
|
* i386/i386/fpu.c (init_fpu): Drop FXSR initialization message
|
|
* kern/lock.h (db_show_all_slocks): Add prototype.
|
|
* ipc/ipc_print.h: New file.
[MACH_KDB] Include <mach/mach_types.h>.
[MACH_KDB] Include <mach/message.h>.
[MACH_KDB] Include <ipc/ipc_types.h>.
(ipc_port_print): Add prototype.
(ipc_pset_print): Likewise.
(ipc_kmsg_print): Likewise.
(ipc_msg_print): Likewise.
* ipc/ipc_port.h (ipc_port_print): Remove prototype.
* ipc/ipc_port.c [MACH_KDB]: Include <ipc/ipc_print.h>.
* ipc/ipc_pset.h (ipc_pset_print): Remove prototype.
* ipc/ipc_pset.c [MACH_KDB]: Include <ipc/ipc_print.h>.
* ipc/ipc_kmsg.c [MACH_KDB]: Include <ipc/ipc_print.h>.
|
|
* vm/vm_print.h: New file.
Include <vm/vm_map.h>.
Include <machine/db_machdep.h>.
(vm_map_print): Add prototype.
(vm_map_copy_print): Likewise.
(vm_object_print): Likewise.
(vm_page_print): Likewise.
Include <vm/vm_object.h>.
Include <vm/vm_page.h>
* vm/vm_map.h (vm_map_print): Remove prototype.
* vm/vm_map.c [MACH_KDB]: Include <vm/vm_print.h>.
* vm/vm_object.h (vm_object_print): Remove prototype.
* vm/vm_object.c [MACH_KDB]: Include <vm/vm_print.h>.
* vm/vm_resident.c [MACH_KDB]: Include <vm/vm_print.h>.
|
|
* ddb/db_command.c (_longjmp): Remove prototype.
(vm_map_print): Likewise.
(vm_object_print): Likewise.
(vm_page_print): Likewise.
(vm_map_copy_print): Likewise.
(ipc_port_print): Likewise.
(ipc_pset_print): Likewise.
(db_show_all_slocks): Likewise.
(ipc_kmsg_print): Likewise.
(ipc_msg_print): Likewise.
Include <vm/vm_print.h>.
Include <ipc/ipc_print.h>.
Include <kern/lock.h>.
* i386/i386/setjmp.h [__GNUC__] (_longjmp): Add prototype.
|
|
* ddb/db_trap.c: Include <machine/setjmp.h>.
* i386/i386/setjmp.h (_setjmp): Add prototype.
|