Q131900 100 299 159 181 904 468 523 133 261 248 209 168 204 534 284 183 185 282 237 176 246 185 282 236 229 168 185 300 810 182 173 440 193 417 201 168 197 470 220 329 836 422 400 136 274 393 827 136 241 136 168 364 132 745 1087 337 157 223 182 738 231 171 331 114 236 174 217 168 227 309 227 164 484 406 206 314 185 116 117 138 150 130 206 330 189 272 282 165 141 196 146 173 726 310 597 200 121 148 567 126 1090 K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-07-10T17:55:13.000000Z K 7 svn:log V 204 o Document net.inet.sack.enable sysctl. net.inet.sack.sackhole_limit is not documented yet, it is not used at the moment and is the subject of the future work. Improved by: ru Not objected: ps, jayanth END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T18:08:38.000000Z K 7 svn:log V 64 Add support for uart(4) being a debug port for the GDB backend. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-10T18:10:20.000000Z K 7 svn:log V 84 Correct a brain-o in extract_dir: mkdirpath() and mkdir(2) are not interchangable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T18:40:12.000000Z K 7 svn:log V 808 Introduce the KDB debugger frontend. The frontend provides a framework in which multiple (presumably different) debugger backends can be configured and which provides basic services to those backends. Besides providing services to backends, it also serves as the single point of contact for any and all code that wants to make use of the debugger functions, such as entering the debugger or handling of the alternate break sequence. For this purpose, the frontend has been made non-optional. All debugger requests are forwarded or handed over to the current backend, if applicable. Selection of the current backend is done by the debug.kdb.current sysctl. A list of configured backends can be obtained with the debug.kdb.available sysctl. One can enter the debugger by writing to the debug.kdb.enter sysctl. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T19:34:06.000000Z K 7 svn:log V 372 Add new options for the KDB framework. This commit merely adds them and in particular not without removing the options they replace or in the proper location in this file. The purpose of this commit is to make it possible to commit changes in parts without causing massive build breakages. At least, that's the intend. I have no idea if it actually works out as I hope... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T19:56:00.000000Z K 7 svn:log V 427 Implement makectx(). The makectx() function is used by KDB to create a PCB from a trapframe for purposes of unwinding the stack. The PCB is used as the thread context and all but the thread that entered the debugger has a valid PCB. This function can also be used to create a context for the threads running on the CPUs that have been stopped when the debugger got entered. This however is not done at the time of this commit. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T20:35:00.000000Z K 7 svn:log V 38 Hook the KDB frontend into the build. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T20:45:47.000000Z K 7 svn:log V 165 Update for the KDB debugger framework: o Make debugging code conditional upon KDB. o Use kdb_backtrace() instead of backtrace(). o Remove inclusion of opt_ddb.h. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T20:50:19.000000Z K 7 svn:log V 152 Update for the KDB framework: o Remove inclusion of opt_ddb.h. o Call kdb_enter() instead of Debugger(). o Make debugging code conditional upon KDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T20:55:15.000000Z K 7 svn:log V 113 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). While here, remove a redundant return. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T20:56:43.000000Z K 7 svn:log V 73 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T20:57:43.000000Z K 7 svn:log V 108 Update for the KDB framework: o Remove inclusion of opt_ddb.h o Make debugging code conditional upon KDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:02:17.000000Z K 7 svn:log V 438 Update for the KDB framework: o Use kdb_alt_break() to handle the alternate break sequence instead of handcoding it here. o Remove GDB kluges to make this driver work with the pre-KDB remote GDB code. o Call kdb_enter() instead of Debugger(). Note that with this commit the dcons(4) driver cannot be used for remote debugging anymore. This driver has to use the new GDB debug port interface instead. Such has not been done yet. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:03:52.000000Z K 7 svn:log V 188 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). o Don't make such calls conditional upon KDB instead of DDB because they're already conditional upon EN_DEBUG. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:05:14.000000Z K 7 svn:log V 88 Update for the KDB framework: o Make debugging code dependent upon KDB instead of DDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:06:08.000000Z K 7 svn:log V 90 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:07:44.000000Z K 7 svn:log V 186 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o Call kdb_alt_break() instead of db_alt_break(). o Call kdb_enter() instead of breakpoint(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:09:47.000000Z K 7 svn:log V 141 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o Call kdb_alt_break() instead of db_alt_break(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:12:27.000000Z K 7 svn:log V 81 s/DDB/BVDDB/g Note that DDB is unrelated to the debugger with the same acronym. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:13:28.000000Z K 7 svn:log V 150 Remove DDB. The one user of this macro has been changed to use BVDDB. Yes, DDB is unrelated to the debugger with the same acronym. Hence, the change. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:14:20.000000Z K 7 svn:log V 90 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:16:01.000000Z K 7 svn:log V 186 Update for the KDB framework: o Call kdb_enter() instead of breakpoint(). o Call kdb_alt_break() instead of db_alt_break(). o Make debugging code conditional upon KDB instead of DDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:18:33.000000Z K 7 svn:log V 140 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o Call kdb_alt_break() insteadof db_alt_break(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:20:11.000000Z K 7 svn:log V 133 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). o Make debugging code conditional upon KDB instead of DDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:21:13.000000Z K 7 svn:log V 73 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:21:55.000000Z K 7 svn:log V 90 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:24:36.000000Z K 7 svn:log V 204 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o Call kdb_enter() instead of Debugger(). o Remove local (static) variable in_debugger. Use kdb_active instead. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:36:01.000000Z K 7 svn:log V 714 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o Call kdb_enter() instead of Debugger(). o Call kdb_backtrace() instead of db_print_backtrace() or backtrace(). kern_mutex.c: o Replace checks for db_active with checks for kdb_active and make them unconditional. kern_shutdown.c: o s/DDB_UNATTENDED/KDB_UNATTENDED/g o s/DDB_TRACE/KDB_TRACE/g o Save the TID of the thread doing the kernel dump so the debugger knows which thread to select as the current when debugging the kernel core file. o Clear kdb_active instead of db_active and do so unconditionally. o Remove backtrace() implementation. kern_synch.c: o Call kdb_reenter() instead of db_error(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:37:30.000000Z K 7 svn:log V 87 Make the GDB dynamic linker hooks (r_debug_state) conditional upon GDB instead of DDB. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:38:22.000000Z K 7 svn:log V 78 Update for the KDB framework: o Call kdb_backtrace() instead of backtrace(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:42:16.000000Z K 7 svn:log V 344 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o s/WITNESS_DDB/WITNESS_KDB/g o s/witness_ddb/witness_kdb/g o Rename the debug.witness_ddb sysctl to debug.witness_kdb. o Call kdb_backtrace() instead of backtrace(). o Call kdb_enter() instead Debugger(). o Assert kdb_active instead of db_active. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:43:23.000000Z K 7 svn:log V 98 Update for the KDB framework: o Check kdb_active instead of db_active and do so unconditionally. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-10T21:43:35.000000Z K 7 svn:log V 320 When the MT_SONAME mbuf is popped off of a receive socket buffer associated with a PR_ADDR protocol, make sure to update the m_nextpkt pointer of the new head mbuf on the chain to point to the next record. Otherwise, when we release the socket buffer mutex, the socket buffer mbuf chain may be in an inconsistent state. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:45:58.000000Z K 7 svn:log V 105 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). o Change comments accordingly. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:47:53.000000Z K 7 svn:log V 73 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T21:49:15.000000Z K 7 svn:log V 101 Update for the KDB framework: o Remove prototype of Debugger(). o Remove prototype of backtrace(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:11:14.000000Z K 7 svn:log V 374 Update for the KDB framework: o s/ddb_on_nmi/kdb_on_nmi/g o Rename sysctl machdep.ddb_on_nmi to machdep.kdb_on_nmi o Make debugging support conditional upon KDB instead of DDB. o Call kdb_reenter() when kdb_active is non-zero. o Call kdb_trap() to enter the debugger when not already active. o Update comments accordingly. o Remove misplaced prototype of kdb_trap(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-10T22:12:49.000000Z K 7 svn:log V 127 Increase the scope of the page queues lock in vm_page_alloc() to cover a diagnostic check that accesses the cache queue count. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:16:18.000000Z K 7 svn:log V 233 Call getit() unconditionally and only grab clock_lock when the debugger is not active. The fixes breakages of DELAY() when running in the debugger, because not calling getit() when the debugger is active yields a DELAY that doesn't. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:29:41.000000Z K 7 svn:log V 740 Update for the KDB framework. Sanitize the alpha console code now that it's in the way even more. Basicly: remove all alpha specific console support from gfb(4), sio(4) and syscons(4). Rewrite the alpha console initialization to be identical to all other platforms. In a nutshell: call cninit(). The platform specific code now only sets or clears RB_SERIAL and thus automaticly causes the right console to be selected. sio.c: o Replace the remote GDB hacks and use the GDB debug port interface instead. o Make debugging code conditional upon KDB instead of DDB. o Call kdb_alt_break() instead of db_alt_break(). o Call kdb_enter() instead of breakpoint(). o Remove the ugly compatibility of using the console as the debug port. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:35:05.000000Z K 7 svn:log V 326 Update fr the KDB framework: o Make debugging support conditional upon KDB instead of DDB. o Call kdb_trap() according to the new world order. o Kill the NO_SIO option completely. o Respect the boot_gdb environment variable. o Don't make debug specific kernel options conditional. o Remove implementation of Debugger(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:39:17.000000Z K 7 svn:log V 304 Update for the KDB framework: o Make debugging support conditional upon KDB instead of DDB. o Remove implementation of Debugger(). o Don't make setjump() and longjump() conditional upon DDB. o s/ddb_on_nmi/kdb_on_nmi/g o Call kdb_reenter() when kdb_active is non-zero. Call kdb_trap() otherwise. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:39:56.000000Z K 7 svn:log V 41 Remove obsolete prototype of kdb_trap(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:42:22.000000Z K 7 svn:log V 178 MFi386: don't fake the time counter when the debugger is active. This breaks the fundamental property of DELAY(). Instead, avoid grabbing clock_lock when kdb_active is non-zero. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:47:06.000000Z K 7 svn:log V 297 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o Declare ksym_start and ksym_end as extern and initialize them. This was previously and bogusly handled by DDB itself. o Call kdb_enter() instead of Debugger(). o Remove implementation of Debugger(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T22:59:30.000000Z K 7 svn:log V 731 Update for the KDB framework: o ksym_start and ksym_end changed type to vm_offset_t. o Make debugging support conditional upon KDB instead of DDB. o Call kdb_enter() instead of breakpoint(). o Remove implementation of Debugger(). o Call kdb_trap() according to the new world order. unwinder: o s/db_active/kdb_active/g o Various s/ddb/kdb/g o Add support for unwinding from the PCB as well as the trapframe. Abuse a spare field in the special register set to flag whether the PCB was actually constructed from a trapframe so that we can make the necessary adjustments. md_var.h: o Add RSE convenience macros. o Add ia64_bsp_adjust() to add or subtract from BSP while taking NaT collections into account. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T23:01:35.000000Z K 7 svn:log V 41 Build uart_dbg.c for remote GDB support. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T23:04:42.000000Z K 7 svn:log V 145 MFi386: Update for the KDB framework: o Implement makectx(). o Call kdb_enter() instead of Debugger(). o Remove implementation of Debugger(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T23:05:38.000000Z K 7 svn:log V 41 Remove obsolete prototype of kdb_trap(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T23:06:41.000000Z K 7 svn:log V 73 Update for the KDB framework: o Call kdb_enter() instead of Debugger(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T23:10:07.000000Z K 7 svn:log V 268 Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. o Call kdb_enter() instead of Debugger(). o Remove implementation of Debugger(). o Check kdb_active instead of db_active. o Call kdb_trap() according to the new world order. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T23:31:17.000000Z K 7 svn:log V 37 Hook the GDB backend into the build. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-10T23:47:20.000000Z K 7 svn:log V 649 Mega update for the KDB framework: turn DDB into a KDB backend. Most of the changes are a direct result of adding thread awareness. Typically, DDB_REGS is gone. All registers are taken from the trapframe and backtraces use the PCB based contexts. DDB_REGS was defined to be a trapframe on all platforms anyway. Thread awareness introduces the following new commands: thread X switch to thread X (where X is the TID), show threads list all threads. The backtrace code has been made more flexible so that one can create backtraces for any thread by giving the thread ID as an argument to trace. With this change, ia64 has support for breakpoints. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-07-11T00:19:30.000000Z K 7 svn:log V 992 Make NdisReadPcmciaAttributeMemory() and NdisWritePcmciaAttributeMemory() actually work. Make the PCI and PCCARD attachments provide a bus_get_resource_list() method so that resource listing for PCCARD works. PCCARD does not have a bus_get_resource_list() method (yet), so I faked up the resource list management in if_ndis_pccard.c, and added bus_get_resource_list() methods to both if_ndis_pccard.c and if_ndis_pci.c. The one in the PCI attechment just hands off to the PCI bus code. The difference is transparent to the NDIS resource handler code. Fixed ndis_open_file() so that opening files which live on NFS filesystems work: pass an actual ucred structure to VOP_GETATTR() (NFS explodes if the ucred structure is NOCRED). Make NdisMMapIoSpace() handle mapping of PCMCIA attribute memory resources correctly. Turn subr_ndis.c:my_strcasecmp() into ndis_strcasecmp() and export it so that if_ndis_pccard.c can use it, and junk the other copy of my_strcasecmp() from if_ndis_pccard.c. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-11T01:11:12.000000Z K 7 svn:log V 244 Add POSIX-style support for multibyte characters to od(1): the 'c' conversion interprets input bytes as multibyte sequences and displays printable characters in the area corresponding to their first byte. The remaining bytes are shown as "**". END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-11T01:22:40.000000Z K 7 svn:log V 61 Assign pointers values of NULL rather than 0 in soreceive(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-11T01:34:34.000000Z K 7 svn:log V 126 Break out non-inline out-of-band data receive code from soreceive() and put it in its own helper function soreceive_rcvoob(). END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-11T01:38:25.000000Z K 7 svn:log V 87 Fix build for non-WITNESS case spotted by: Suleiman Souhlal END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T01:44:07.000000Z K 7 svn:log V 642 Update for the KDB framework: o Rename WITNESS_DDB to WITNESS_KDB. In the new world order KDB is the acronym to use for debugging related code. The DDB option is used to enable the DDB debugger backend only. o Likewise, rename DDB_TRACE to KDB_TRACE, rename DDB_UNATTENDED to KDB_UNATTENDED and rename SC_HISTORY_DDBKEY to SC_HISTORY_KDBKEY. o Remove DDB_NOKLDSYM. The new DDB backend supports pre-linker symbol lookups as well as KLD symbol lookups at the same time. o Remove GDB_REMOTE_CHAT. The GDB protocol hacks to allow this are FreeBSD specific. At the same time, the GDB protocol has packets for console output. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-11T01:44:12.000000Z K 7 svn:log V 134 In the 'dontblock' section of soreceive(), assert that the mbuf on hand ('m') is in fact the first mbuf in the receive socket buffer. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T01:47:26.000000Z K 7 svn:log V 76 Remove the now unused GDB stubs. See src/sys/gdb/* for the new KDB backend. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T01:50:09.000000Z K 7 svn:log V 235 Remove now unused files: db_elf.c, db_kld.c: The new KDB backend supports both at the same time. db_sysctl.c: The functionality has been moved to sys/kern/subr_kdb.c. db_trap.c: The DDB entry point has been moved to sys/ddb/db_main.c. END K 10 svn:author V 2 mp K 8 svn:date V 27 2004-07-11T02:17:56.000000Z K 7 svn:log V 23 Import of tcsh-6.13.00 END K 10 svn:author V 2 mp K 8 svn:date V 27 2004-07-11T02:17:56.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r131962, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-11T02:17:57.000000Z K 7 svn:log V 78 This commit was manufactured by cvs2svn to create tag 'tcsh-vendor-tcsh_6_13'. END K 10 svn:author V 2 mp K 8 svn:date V 27 2004-07-11T02:20:52.000000Z K 7 svn:log V 125 Add the nls/*/charset files to the exclude list. These files are not needed and only provide comments in the text NLS files. END K 10 svn:author V 2 mp K 8 svn:date V 27 2004-07-11T02:23:38.000000Z K 7 svn:log V 77 KANJI and DSPMBYTE are now "on" by default in the tcsh 6.13.00 distribution. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T03:03:48.000000Z K 7 svn:log V 131 Add options KDB and GDB. KDB takes on the function of what DDB used to be. Both DDB and GDB specify which KDB backends to include. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T03:07:28.000000Z K 7 svn:log V 213 Now that the console setup is identical to that on other platforms, we also need to have the right sio(4) flags: sio0: flags=0x10 so that it will be console. sio1: flags=0x80 so that it can be used as debug port. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T03:20:09.000000Z K 7 svn:log V 131 Add options KDB and GDB. KDB takes on the function of what DDB used to be. Both DDB and GDB specify which KDB backends to include. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T03:21:24.000000Z K 7 svn:log V 69 The SC_DISABLE_DDBKEY options has been renamed to SC_DISABLE_KDBKEY. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T04:05:44.000000Z K 7 svn:log V 388 Bump __FreeBSD_version for the following (weak) reasons: o Sources that are shared between kernel and userland and that may contain references to DDB or any of its functions may need to know this. o Userland tools may include from now on. Think kernel debugger... o The kernel core file now contains the TID of the kernel thread that made the dump. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T04:38:39.000000Z K 7 svn:log V 310 Add 3 new entries: o __FreeBSD_version bumped to 502122 o Alpha console initialization requires the same sio(4) hints as on other platforms. Options NO_SIO and DEV_SC removed. o KDB framework: Added KDB and GDB; Renamed WITNESS_DDB, DDB_TRACE DDB_UNATTENDED. Removed GDB_REMOTE_CHAT and DDB_NOKLDSYM. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-11T05:58:31.000000Z K 7 svn:log V 113 Remove incomplete support for multi-character collating elements. Remove unused character category calculations. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-11T10:13:05.000000Z K 7 svn:log V 217 Clean up a bunch of white-space difference with IPFilter source as well as remove some superfluous assignments for .d_version/.d_flags in a cdevsw structure initialisation that never sees the light of day in FreeBSD. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-07-11T13:26:44.000000Z K 7 svn:log V 91 Fix typo in 20040702 entry. Noticed by: Andre Guibert de Bruet END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-11T13:45:39.000000Z K 7 svn:log V 23 MFi386: revision 1.406 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-11T13:46:10.000000Z K 7 svn:log V 24 MFi386: revision 1.212. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-11T14:44:23.000000Z K 7 svn:log V 46 Respect locale settings from the environment. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-11T14:47:32.000000Z K 7 svn:log V 58 Add fairly standard ENVIRONMENT and DIAGNOSTICS sections. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-11T15:04:16.000000Z K 7 svn:log V 38 Fix document year. Noticed by: simon END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-11T15:18:39.000000Z K 7 svn:log V 113 Introduce ttygone() which indicates that the hardware is detached. Move dtrwait logic to the generic TTY level. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T15:22:43.000000Z K 7 svn:log V 234 Fix braino: Make sure there is a current backend before we return its name in the debug.kdb.current sysctl. All other dereferences are properly guarded, but this one was overlooked. Reported by: Morten Rodal (morten at rodal dot no) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-11T16:01:25.000000Z K 7 svn:log V 97 Until I'm ready to commit the better pccard probe/attach routines, effectively comment them out. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-11T16:07:07.000000Z K 7 svn:log V 175 Add sx_unlock() macro as a frontend to both sx_sunlock() and sx_xunlock(), using sx_cnt to determine what state the lock is in and call the respective function appropriately. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-11T16:08:25.000000Z K 7 svn:log V 185 Document that sx_unlock() exists as a macro. Remove redundant include file, , and clean up the function list at the top with the addition of a "Sx utility macro" section. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-11T16:13:57.000000Z K 7 svn:log V 73 Experimental support for using doxygen to generate kernel documentation. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-11T16:14:24.000000Z K 7 svn:log V 49 Pass doxygen doc comments through to the output. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-11T16:17:42.000000Z K 7 svn:log V 103 Expand and rewrite documentation using doxygen markup so that we can generate funky web pages from it. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-11T17:26:18.000000Z K 7 svn:log V 50 Resolve a couple of warnings and bump WARNS to 6. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-11T17:37:33.000000Z K 7 svn:log V 77 Fix a few cases that relied on 'implicit int' (constraint violation in C99). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T17:50:59.000000Z K 7 svn:log V 630 Partially revert previous commit. Calling getit() unconditionally fixed a problem that could also be fixed differently without reverting previous attempts to fix DELAY while the debugger is active (rev 1.204). The bug was that the i8254 implements a countdown timer, while for (k)db_active a countup timer was implemented. This resulted in premature termination and consequently the breakage of DELAY. The fix (relative to rev 1.211) is to implement a countdown timer for the kdb_active case. As such the ability to step clock initialization is preserved and DELAY does what is expected of it. Blushed: bde :-) Submitted by: bde END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-11T18:07:55.000000Z K 7 svn:log V 214 MFi386: rev 1.213 -- fix DELAY while the debugger is active. This also fixes the (runtime) breakage introduced in the previous commit that was the result of a botched merge. This hasn't even been compile-tested... END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-11T18:29:47.000000Z K 7 svn:log V 500 Add additional annotations to soreceive(), documenting the effects of locking on 'nextrecord' and concerns regarding potentially inconsistent or stale use of socket buffer or stack fields if they aren't carefully synchronized whenever the socket buffer mutex is released. Document that the high-level sblock() prevents races against other readers on the socket. Also document the 'type' logic as to how soreceive() guarantees that it will only return one of normal data or inline out-of-band data. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-11T19:20:47.000000Z K 7 svn:log V 102 Whitespace cleanup. This will simplify a future merge from IANA's official list of port assignments. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-07-11T19:24:14.000000Z K 7 svn:log V 24 Catch up with -current. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-11T19:26:43.000000Z K 7 svn:log V 56 Better descriptions of the cdev malloc class and mutex. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-11T22:59:32.000000Z K 7 svn:log V 470 Add sockbuf_pushsync(), an inline function that, following a change to the head of the mbuf chains in a socket buffer, re-synchronizes the cache pointers used to optimize socket buffer appends. This will be used by soreceive() before dropping socket buffer mutexes to make sure a consistent version of the socket buffer is visible to other threads. While here, update copyright to account for substantial rewrite of much socket code required for fine-grained locking. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-11T23:03:37.000000Z K 7 svn:log V 34 Remove the last bits of SPECHASH. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-11T23:13:14.000000Z K 7 svn:log V 993 Use sockbuf_pushsync() to synchronize stack and socket buffer state in soreceive() after removing an MT_SONAME mbuf from the head of the socket buffer. When processing MT_CONTROL mbufs in soreceive(), first remove all of the MT_CONTROL mbufs from the head of the socket buffer to a local mbuf chain, then feed them into dom_externalize() as a set, which both avoids thrashing the socket buffer lock when handling multiple control mbufs, and also avoids races with other threads acting on the socket buffer when the socket buffer mutex is released to enter the externalize code. Existing races that might occur if the protocol externalize method blocked during processing have also been closed. Now that we synchronize socket buffer and stack state following modifications to the socket buffer, turn the manual synchronization that previously followed control mbuf processing with a set of assertions. This can eventually be removed. The soreceive() code is now substantially more MPSAFE. END