Cleanup of the memcpy(), memmove(), memcmp() and memset() calls

Addresses were cast to (void *). Pointers uncasted.

* device/ds_routines.c (ds_read_done) (memset) (start_sent): Cast to (void *) instead to (char *). Argument is an address.
(ds_read_done) (memset) (end_data): Likewise.
* i386/i386/pcb.c (thread_getstatus) (memcpy) (pm): Don't cast. Argument is a pointer.
(thread_getstatus) (memcpy) (iopb): Likewise.
* i386/i386at/immc.c (immc_cnputc) (memmove): Cast first argument to (void *). Argument is an address.
(immc_cnputc) (memmove): Cast second argument to (void *). Argument is an address.
(immc_cnputc) (memset): Cast first argument to (void *). Argument is an address.
* i386/i386at/model_dep.c (i386at_init) (memcpy) (phystokv): Cast to (void *) instead to (char *). Argument is an address.
* i386/intel/pmap.c (pmap_init) (memset) (addr): Likewise.
* ipc/mach_debug.c (mach_port_space_info) (memset) (table_addr + size_used): Likewise.
(mach_port_space_info) (memset) (tree_addr + size_used): Likewise.
* kern/host.c (host_processor_sets) (memcpy) (newaddr): Likewise.
(host_processor_sets) (memcpy) (addr): Likewise.
* kern/xpr.c (xprbootstrap) (memset) (addr): Likewise.
* vm/vm_debug.c (mach_vm_object_pages) (memset) (addr + size_used): Likewise.
ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast

Return value from ip_kotype is an unsigned int.

* ipc/mach_debug.c (mach_port_kernel_object) (ip_kotype): Remove unnecessary cast.
ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast

Member ip_kobject is of type vm_offset_t.

* ipc/mach_debug.c (mach_port_kernel_object) (ip_kobject): Remove unnecessary cast.
i386/i386/db_trace.c: remove forward declaration

* i386/Makefrag.am: List i386/i386/db_trace.h.
* i386/i386/db_trace.c: Include machine/db_trace.h.
(db_i386_stack_trace): Remove forward declaration.
* i386/i386/db_trace.h: New file.
Add copyright.
[_I386_DB_TRACE_H_]: Add ifndef.
(i386_frame): Declare forward.
(db_i386_stack_trace): Add prototype.
i386/i386/db_trace.c (db_i386_stack_trace): remove unnecessary cast

Argument to INKERNEL() is already cast to vm_offset_t in the macro itself.

* i386/i386/db_trace.c (db_i386_stack_trace) (INKERNEL) (callpc): Don't cast to unsigned long.
(db_i386_stack_trace) (INKERNEL) (frame): Likewise.
i386/i386at/kd.c: remove forward declarations

* i386/i386at/kd.c (kd_getdata, state2leds, kdstart, kdstop): Remove forward declarations.
* i386/i386at/kd.h (kd_getdata, state2leds, kdstart, kdstop): Add prototypes.
Include device/tty.h.
i386/i386at/kd.c (kdmmap): remove unnecessary cast

Variable off is already an unsigned int.

* i386/i386at/kd.c (kdmmap) (off): Remove unnecessary cast.
i386/i386at/kd.c (kdinit): remove forward declaration

* i386/i386at/kd.c (kdinit) (kd_xga_init): Remove forward declaration.
* i386/i386at/kd.h (kd_xga_init): Add prototype.
i386/i386at/kd_mouse.c (kd_mouse_open): remove forward declaration

* i386/i386at/kd_mouse.c (kd_mouse_open) (kdintr): Remove forward declaration.