summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Update for the KDB framework:marcel2004-07-101-6/+5
| | | | | | | | | | o Make debugging code conditional upon KDB instead of DDB. o Call kdb_alt_break() insteadof db_alt_break().
* | Update for the KDB framework:marcel2004-07-101-8/+6
| | | | | | | | | | | | 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.
* | Update for the KDB framework:marcel2004-07-101-3/+2
| | | | | | | | o Make debugging code conditional upon KDB instead of DDB.
* | Remove DDB. The one user of this macro has been changed to use BVDDB.marcel2004-07-101-1/+0
| | | | | | | | | | Yes, DDB is unrelated to the debugger with the same acronym. Hence, the change.
* | s/DDB/BVDDB/gmarcel2004-07-101-1/+1
| | | | | | | | Note that DDB is unrelated to the debugger with the same acronym.
* | Update for the KDB framework:marcel2004-07-101-6/+5
| | | | | | | | | | o Make debugging code conditional upon KDB instead of DDB. o Call kdb_alt_break() instead of db_alt_break().
* | Update for the KDB framework:marcel2004-07-101-8/+8
| | | | | | | | | | | | 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().
* | Update for the KDB framework:marcel2004-07-101-3/+2
| | | | | | | | o Make debugging code conditional upon KDB instead of DDB.
* | Update for the KDB framework:marcel2004-07-101-3/+2
| | | | | | | | o Make debugging code dependent upon KDB instead of DDB.
* | Update for the KDB framework:marcel2004-07-101-3/+2
| | | | | | | | | | | | 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.
* | Update for the KDB framework:marcel2004-07-101-49/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Update for the KDB framework:marcel2004-07-101-4/+2
| | | | | | | | | | o Remove inclusion of opt_ddb.h o Make debugging code conditional upon KDB.
* | Update for the KDB framework:marcel2004-07-102-3/+5
| | | | | | | | o Call kdb_enter() instead of Debugger().
* | Update for the KDB framework:marcel2004-07-101-2/+3
| | | | | | | | | | | | o Call kdb_enter() instead of Debugger(). While here, remove a redundant return.
* | Update for the KDB framework:marcel2004-07-101-6/+5
| | | | | | | | | | | | o Remove inclusion of opt_ddb.h. o Call kdb_enter() instead of Debugger(). o Make debugging code conditional upon KDB.
* | Update for the KDB debugger framework:marcel2004-07-102-6/+5
| | | | | | | | | | | | o Make debugging code conditional upon KDB. o Use kdb_backtrace() instead of backtrace(). o Remove inclusion of opt_ddb.h.
* | Hook the KDB frontend into the build.marcel2004-07-101-0/+1
| |
* | Implement makectx(). The makectx() function is used by KDB to createmarcel2004-07-1010-1/+108
| | | | | | | | | | | | | | | | | | 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.
* | Add new options for the KDB framework. This commit merely adds them andmarcel2004-07-101-0/+9
| | | | | | | | | | | | | | | | 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...
* | Introduce the KDB debugger frontend. The frontend provides a frameworkmarcel2004-07-107-0/+723
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Correct a brain-o in extract_dir: mkdirpath() and mkdir(2) arekientzle2004-07-101-2/+4
| | | | | | | | not interchangable.
* | Add support for uart(4) being a debug port for the GDB backend.marcel2004-07-101-0/+101
| |
* | o Document net.inet.sack.enable sysctl. net.inet.sack.sackhole_limitmaxim2004-07-101-1/+6
| | | | | | | | | | | | | | | | 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
* | Introduce the GDB debugger backend for the new KDB framework. Themarcel2004-07-1014-0/+1515
| | | | | | | | | | | | | | | | | | backend improves over the old GDB support in the following ways: o Unified implementation with minimal MD code. o A simple interface for devices to register themselves as debug ports, ala consoles. o Compression by using run-length encoding. o Implements GDB threading support.
* | Unbreak alpha: On alpha a long double is the same as a double andmarcel2004-07-101-0/+4
| | | | | | | | | | | | consequently the exponent is only 11 bits. Testing whether the exponent equals 32767 in that case only effects to compiler warnings and thus build breakage.
* | Clean up and wash struct iovec and struct uio handling.phk2004-07-109-407/+204
| | | | | | | | | | | | | | | | | | | | | | | | Add copyiniov() which copies a struct iovec array in from userland into a malloc'ed struct iovec. Caller frees. Change uiofromiov() to malloc the uio (caller frees) and name it copyinuio() which is more appropriate. Add cloneuio() which returns a malloc'ed copy. Caller frees. Use them throughout.
* | Remove a pointless check.phk2004-07-101-2/+0
| |
* | Add a reference to od(1).tjr2004-07-101-2/+3
| |
* | Decode the "wence" arg to lseek and linux_lseek.alfred2004-07-102-2/+16
| |
* | Initialize cs_invert to "false" in new csets.tjr2004-07-101-0/+1
| |
* | Now socket buffer locks are being asserted at higher code blocks inrwatson2004-07-101-4/+1
| | | | | | | | soreceive(), remove some leaf assertions that are redundant.
* | Assert socket buffer lock at strategic points between sections of coderwatson2004-07-101-0/+5
| | | | | | | | | | in soreceive() to confirm we've moved from block to block properly maintaining locking invariants.
* | Modernize description of physio. Make explicit that this creates aimp2004-07-101-5/+19
| | | | | | | | request that's passed to the driver's strategy.
* | - Add missing <sys/module.h>. [1]marius2004-07-092-7/+5
| | | | | | | | | | | | | | - Remove unused includes. - Sort includes. Reported by: Pyun YongHyeon <yongari@kt-is.co.kr> [1]
* | document vfs_suser.alfred2004-07-092-0/+72
| |
* | Force commit.emax2004-07-090-0/+0
| | | | | | | | | | | | | | | | Bluetooth code was maked as non-i386 specific. Bump __FreeBSD_version to mark this change. Reviewed by: kris, ru Requested by: obrien
* | Check the lock lists to see if they are empty directly rather thanjhb2004-07-091-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | assigning a pointer to the list and then dereferencing the pointer as a second step. When the first spin lock is acquired, curthread is not in a critical section so it may be preempted and would end up using another CPUs lock list instead of its own. When this code was in witness_lock() this sequence was safe as curthread was in a critical section already since witness_lock() is called after the lock is acquired. Tested by: Daniel Lang dl at leo.org
* | Bump __FreeBSD_versionemax2004-07-092-1/+5
| | | | | | | | Reviewed by: kris, ru
* | Do not bzero() the softc, as newbus does it for us.cognet2004-07-095-5/+0
| |
* | Add fast paths for conversion of plain ASCII characters.tjr2004-07-091-0/+13
| |
* | Slightly reorganize and simplify.tjr2004-07-091-24/+11
| |
* | Decrease default stripe size to 4k, as we have "FAST" mode turned on bypjd2004-07-092-2/+2
| | | | | | | | default.
* | Implement "FAST" mode for GEOM_STRIPE class and turn it on by default.pjd2004-07-091-80/+345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this mode you can setup even very small stripe size and you can be sure that only one I/O request will be send to every disks in stripe. It consumes some more memory, but if allocation fails, it will fall back to "ECONOMIC" mode. It is about 10 times faster for small stripe size than "ECONOMIC" mode and other RAID0 implementations. It is even recommended to use this mode and small stripe size, so our requests are always splitted. One can still use "ECONOMIC" mode by setting kern.geom.stripe.fast to 0. It is also possible to setup maximum memory which "FAST" mode can consume, by setting kern.geom.stripe.maxmem from /boot/loader.conf.
* | Only detach consumers which are attached when we wither stuff away.phk2004-07-091-1/+2
| | | | | | | | Pointed out by: pjd
* | Add a JFLAG which can be used to speed up universe:phk2004-07-091-3/+3
| | | | | | | | make universe JFLAG=-j12
* | Reduce namespace pollution.des2004-07-091-0/+2
| |
* | Newbus returns a zeroed softc, so there's no need to call bzero() here.cognet2004-07-091-2/+0
| |
* | When cleaning house, don't try to remove what isn't there.des2004-07-091-7/+13
| |
* | Bump document date.des2004-07-091-1/+1
| | | | | | | | Reminded by: ru
* | Accumulate directory entries in a fixed-length sbuf, and uiomove them indes2004-07-091-8/+10
| | | | | | | | | | | | | | | | | | | | | | one go before returning. This avoids calling uiomove() while holding allproc_lock. Don't adjust uio->uio_offset manually, uiomove() does that for us. Don't drop allproc_lock before calling panic(). Suggested by: alfred
OpenPOWER on IntegriCloud