94fa91f862
floating point stuff removed]. the new kprintf replaces the 3 different (and buggy) versions of printf that were in the kernel before (kprintf, sprintf, and db_printf), thus reducing duplicated code by 2/3's. this fixes (or adds) several printf formats. examples: %#x - previously only supported by db_printf [not printf/sprintf] %8.8s - printf would print "000chuck" for "chuck" before %5p - printf would print "0x 1" for value 1 before XXX: new kprintf still supports several non-standard '%' formats that are supposed to eventually be removed: %: - passes an additional format string and argument list recursively %b - used to decode error registers %r - int, but print in radix "db_radix" [DDB only] %z - 'signed hex' [DDB only] %n - unsigned int, but print in radix "db_radix" [DDB only] note that DDB's "%n" conflicts with standard "%n" which takes the number of characters written so far and stores it into the integer indicated by the "int *" pointer arg. yuck! while here, add comments for each function explaining what it is supposed to do. |
||
---|---|---|
.. | ||
exec_aout.c | ||
exec_conf.c | ||
exec_ecoff.c | ||
exec_elf32.c | ||
exec_elf64.c | ||
exec_elf_common.c | ||
exec_script.c | ||
exec_subr.c | ||
genassym.awk | ||
genassym.sh | ||
init_main.c | ||
init_sysent.c | ||
kern_acct.c | ||
kern_clock.c | ||
kern_descrip.c | ||
kern_exec.c | ||
kern_exit.c | ||
kern_fork.c | ||
kern_ktrace.c | ||
kern_lkm.c | ||
kern_lock.c | ||
kern_malloc.c | ||
kern_ntptime.c | ||
kern_physio.c | ||
kern_proc.c | ||
kern_prot.c | ||
kern_resource.c | ||
kern_sig.c | ||
kern_subr.c | ||
kern_synch.c | ||
kern_sysctl.c | ||
kern_time.c | ||
kern_xxx.c | ||
kgdb_stub.c | ||
Make.tags.inc | ||
Makefile | ||
makesyscalls.sh | ||
subr_autoconf.c | ||
subr_disk.c | ||
subr_extent.c | ||
subr_log.c | ||
subr_prf.c | ||
subr_prof.c | ||
subr_rmap.c | ||
subr_xxx.c | ||
sys_generic.c | ||
sys_process.c | ||
sys_socket.c | ||
syscalls.c | ||
syscalls.conf | ||
syscalls.master | ||
sysv_ipc.c | ||
sysv_msg.c | ||
sysv_sem.c | ||
sysv_shm.c | ||
tty_conf.c | ||
tty_pty.c | ||
tty_subr.c | ||
tty_tb.c | ||
tty_tty.c | ||
tty.c | ||
uipc_domain.c | ||
uipc_mbuf.c | ||
uipc_proto.c | ||
uipc_socket2.c | ||
uipc_socket.c | ||
uipc_syscalls.c | ||
uipc_usrreq.c | ||
vfs_bio.c | ||
vfs_cache.c | ||
vfs_cluster.c | ||
vfs_conf.c | ||
vfs_init.c | ||
vfs_lockf.c | ||
vfs_lookup.c | ||
vfs_subr.c | ||
vfs_syscalls.c | ||
vfs_vnops.c | ||
vnode_if.c | ||
vnode_if.sh | ||
vnode_if.src |