summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use global implementation of _gss_oid_equal.dfr2008-04-301-9/+1
| | | | MFC after: 2 weeks
* Allow null oids in _gss_oid_equal().dfr2008-04-301-0/+5
| | | | MFC after: 2 weeks
* Eliminate an unused field from the pmap.alc2008-04-301-1/+0
|
* Don't panic even if bus_dmamap_load(9) was failed. Just returnyongari2008-04-301-3/+11
| | | | | | | ENOBUFS so callers can reuse previous mbuf. Submitted by: Oleg (agile.quad AT gmail DOT com) MFC after: 1 week
* mp_machdep.c is only conditional upon smp, not aim. If booke growsmarcel2008-04-301-1/+1
| | | | support for smp, mp_machdep.c needs to be included as well.
* fix buildsam2008-04-301-2/+2
| | | | Submitted by: delphij
* o Add MIPS to the list of architectures with defined TLS_TCB_ALIGNgonzo2008-04-291-2/+2
| | | | | | o Stick with TLS Variant II for MIPS for the moment. Approved by: imp
* Set QUANTUM_2POW_MIN and SIZEOF_PTR_2POW parameters for MIPSgonzo2008-04-291-0/+5
| | | | Approved by: imp
* Document the kproc_kthread_add() calljulian2008-04-293-1/+76
| | | | | and fix a small detail of its implementation. MFC after: 1 week
* Add new directories, scripts and wlanwds. Introduced with vap support.rpaulo2008-04-291-0/+2
|
* Add missing 't'.rpaulo2008-04-291-1/+1
| | | | Approved by: sam
* disable HT capabilities until we sort out firmware issuessam2008-04-291-1/+3
|
* Lock filedesc exclusively when modifying fd_[cr]dir.rdivacky2008-04-291-2/+2
| | | | | | | This is probably harmless but it's better to lock it correctly. Approved by: kib (mentor)
* Intel 4965 wireless driver (derived from openbsd driver of the same name)sam2008-04-2913-0/+9473
|
* Add an option (compiled out by default)julian2008-04-295-0/+168
| | | | | | | | | to profile outoing packets for a number of mbuf chain related parameters e.g. number of mbufs, wasted space. probably will do with further work later. Reviewed by: various
* Fix a comment typo.rwatson2008-04-291-1/+1
| | | | MFC after: 3 days
* Rework how kgdb manages kernel and vmcore files to be a bit more gdb-ishjhb2008-04-2911-184/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that kgdb can be used more like a normal gdb: - Load the kernel via the standard 'exec' target and allow it to be changed via the 'file' command. - Instead of explicitly loading the kernel file as the mail symbol file during startup, just pass it to gdb_main() as the executable file. - Change the kld support (via shared libraries) to cache the address of the linker_files and linker_kernel_file variables in addition to the offsets of various members in 'struct linker_file'. - When a new symbol file is loaded, recompute the addresses and offsets used by the kld support code. - When a new symbol file is loaded, recalculate the ofs_fix variable to account for the different ways a trapframe can be passed to trap frame handlers in i386. This is done by adding a MD kgdb_trgt_new_objfile() hook that is empty on all but i386. - Don't use the directory name of the kernel specified on the command line to find kernel modules in the kld support code. Instead, extract the filename of the current executable via exec_bfd. Now the 'kernel' variable is private to main.c again. - Make the 'add-kld' command explicitly fail if no executable is loaded. - Make the support for vmcores a real core-dump target that opens the kernel and vmcore on open and closes the kvm connection when closed, etc. - The 'core' command can now be used to select a vmcore to use, either a crash dump file or /dev/mem for live debugging. - The 'detach' command can be used to detach from a vmcore w/o attaching to a new one. - kgdb no longer explicitly opens a core dump during startup and no longer has to use an atexit() hook to close the kvm connection on shutdown. - Symbols for kld's are automatically loaded anytime a core is opened. Also, the unread portion of dmesg is dumped just as it was done on kgdb startup previously. - Don't require either a remote target or core dump if a kernel is specified. You can now just run 'kgdb kernel' similar to running gdb on an executable and later connect to a remote target or core dump. - Use a more relaxed way to verify remote targets specified via -r. Instead of explicitly allowing a few non-file target specifications, just assume that if stat() on the arg and on "/dev/" + arg both fail that is some non-file target and pass it to gdb. - Don't use a custom interpreter. The existing kgdb_init() hook and the target_new_objfile() hook give us sufficient hooks during startup to setup kgdb-specific behavior now. - Always add the 'proc', 'tid', and 'add-kld' commands on startup and not just if we have a core dump. Currently the 'proc' and 'tid' commands do not work for remote targets (I will fix at least 'tid' in the next round of changes though). However, the 'add-kld' command works fine for loading symbols for a kernel module on a remote target. - Always setup the 'kld' shared library target operations instead of just if we have a core dump. Although symbols for kernel modules are not automatically loaded when connecting to a remote target, you can do 'info sharedlibrary' after connecting to the remote target and kgdb will find all the modules. You can then use the 'sharedlibrary' command to load symbols from the module files. - Change kthr_init() to free the existing list of kthr objects before generating a new one. This allows it to be invoked multiple times w/o leaking memory. MFC after: 1 week
* More recommendationsimp2008-04-291-1/+3
|
* Add support for the BCM5906[M] adapters. These adapters only supportjhb2008-04-295-61/+351
| | | | | | | | | | | 10/100 operation and place the mailbox registers at a different offset. They also do not have an EEPROM, so the MAC address must be read from NVRAM instead. MFC after: 1 month PR: kern/118975 Submitted by: benjsc, Thomas Nyström thn at saeab dot se Submitted by: sephe (original patch for DragonflyBSD)
* - Add a global variable 'fbsdcoreops_suppress_target' that can be set tojhb2008-04-291-2/+11
| | | | | | | | | | | | | | force the FreeBSD multithreaded core target to not register any target for handling core dumps. This is analogous to the 'coreops_suppress_target' variable that GDB provides for suppressing the default core dump target. KGDB will use this new variable so it can provide its own core dump target that uses libkvm to work with vmcore files. - Adjust the long name and documentation of the FreeBSD multithreaded core dump target so it better matches what GDB's core dump target uses. MFC after: 1 week Reviewed by: davidxu, marcel
* _setjmp.o was missing a dependency on "machine".ru2008-04-291-3/+1
|
* Don't forget to clean the "machine" symlink on amd64, otherwise badru2008-04-291-0/+3
| | | | | | | things may happen. Reported by: phk MFC after: 3 days
* This bloke has his priorities straight:phk2008-04-291-0/+4
| | | | | | | | +"Can you be more stupid than aggravating the judge AND your lawyer? +No? Oh yes you can: You can aggravate the whole kernel community." + -- Alexander Lyamin (about Hans Reisers murder trial) Found at: http://www.news.com/8301-10784_3-9925607-7.html?tag=nefd.top
* Define INLINE_LIMIT and additional CFLAGS for mips.gonzo2008-04-291-0/+9
| | | | Approved by: cognet (mentor)
* Define KINFO_PROC_SIZE for mips.gonzo2008-04-291-0/+3
| | | | Approved by: cognet (mentor)
* Mention -U and -ai arguments to mergemaster in a comment for therwatson2008-04-291-1/+1
| | | | | | | general mergemaster line. MFC after: 3 days Suggested by: Ben Laurie
* Fix some section references.pjd2008-04-293-6/+6
|
* The referenced section name is 'Formats', not 'FORMATS'.pjd2008-04-291-1/+1
|
* Don't depend on the modification time of the "zfs" subdir.ru2008-04-291-2/+1
|
* - Fix makefile so it doesn't break the build in some corner cases. [1]ru2008-04-292-134/+3
| | | | | | - Remove an extra copy of zfs.c. Reported by: yar [1]
* Fix compiling problem.davidxu2008-04-291-1/+1
|
* Use UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE to savedavidxu2008-04-299-19/+20
| | | | time in kernel(avoid VM lookup).
* Introduce command UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATEdavidxu2008-04-292-19/+71
| | | | | to allow userland to specify that an address is not shared by multiple processes.
* Check for integer overflow before calling sbrk(2), since it uses ajasone2008-04-291-0/+7
| | | | signed increment argument, but the size is an unsigned integer.
* mention DX8400/50imp2008-04-291-2/+3
|
* Add Epson DX8400 scanner.imp2008-04-292-0/+2
| | | | | PR: 123148 Submitted by: Bill Squire
* ANSIfy function prototypes. While I am there, constify some parameters anddelphij2008-04-2813-61/+36
| | | | | make use of C99 sparse initialization for static variables, this makes talk(1) to compile cleanly with WARNS=6.
* Check packet directions more properly instead of just checking receivedjkim2008-04-281-5/+5
| | | | | | | | interface is null. PR: kern/123138 Submitted by: Dmitry (hanabana at mail dot ru) MFC after: 1 week
* Use kgdb_parse() instead of libkvm(3) to read the first instruction fromjhb2008-04-281-16/+9
| | | | | | | "calltrap" to see which method is used to pass trap frames. This seg faulted on remote gdb connections (where libkvm isn't used). MFC after: 3 days
* Eliminate pointless casts from kmem_suballoc().alc2008-04-281-2/+2
|
* Correct minor typos in SCTP man pages.rwatson2008-04-282-2/+1
| | | | MFC after: 3 days
* Remove the 'add_kld_command' arg from load_kld(). It is always true sincejhb2008-04-281-12/+5
| | | | | | | the auto-loading of kld's switched to hooking into gdb's shared library support. MFC after: 1 week
* Handle endianness for mipsgonzo2008-04-281-2/+4
| | | | Approved by: cognet (mentor)
* Document 'show mount' command.pjd2008-04-281-1/+7
|
* Sigh, when reapplying the patch to HEAD, I somehow forgot to commit this file.stefanf2008-04-281-6/+3
| | | | Reported by: Jaakko Heinonen
* vm_map_fixed(), unlike vm_map_find(), does not update "addr", so it can bealc2008-04-283-5/+5
| | | | passed by value.
* The first argment of mtdbatu or mtibatu is part of the encoding.marcel2008-04-281-7/+8
| | | | It needs to be constant, so eliminate the loop and "hand-unroll".
* MFp4: SMP supportmarcel2008-04-2716-137/+715
|
* restore the hal's channel list when doing getradiocaps so it's in sync withsam2008-04-271-0/+5
| | | | the 802.11 layer's list
* Eliminate track_modified_needed(), better known as pmap_track_modified()marcel2008-04-271-37/+8
| | | | | | | on other platforms. We no longer need it because we do not create managed mappings within the clean submap. Pointed out by: alc
OpenPOWER on IntegriCloud