summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Part 2 of the commit if new bluetooth code.julian2003-05-1037-394/+2194
| | | | | Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
* Part one of undating the bluetooth code to the newest versionjulian2003-05-1078-2197/+8732
| | | | | Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
* Put back the error checking in wtfs() that was lost when newfs wasiedowse2003-05-101-1/+2
| | | | | | | | | | | | | | changed to use libufs in revision 1.71. Without this, any write failures in newfs were silently ignored. Note that this will display a meaningless errno string in the case of a short write as opposed to a write error, since bwrite()'s return value does not allow the caller to determine if errno is valid. Reported by: Lukas Ertl <l.ertl@univie.ac.at> Reviewed by: jmallett Approved by: re (bmah)
* Make m_freem() just use m_free() instead of duplicating the code. Thebmilekic2003-05-101-32/+2
| | | | | | | | | | | | | | reason for the duplication was that m_freem() was meant to eventually be optimized to hold the lock of the cache being freed to as long as possible across frees but the difficulty of implementing said optimization right now is too high, given that in some cases (see MAC and non-cluster external buffers), we need to call into other subsytems, something not permissible when the cache lock is held. This change minimizes code duplication while keeping at least the atomic mbuf+cluster free optimization. Suggested by: luigi
* No vga(4) on pc98.bmah2003-05-102-2/+2
| | | | | Submitted by: nyan Approved by: re (implicitly)
* Add a couble new Intel PCI id'ssos2003-05-102-0/+4
| | | | Approved by: re@
* Remove special hacks for FSF cross tools now that it builds natively.peter2003-05-101-13/+0
|
* Provide a fake varargs implementation for lint's benefit. This waypeter2003-05-102-0/+17
| | | | | | it can see the intent of the va_* macros, even though it cannot work. Approved by: re (blanket amd64/*)
* Remove _ARCH_INDIRECT ifdefs. They existed for lib/msun/* on i386, whichpeter2003-05-101-63/+0
| | | | | | | | could use different versions of the math code depending on whether there was real floating point hardware or math emulation. Since the fpu is part of the core specification on amd64, there is no need for this here. Approved by: re (blanket amd64/*)
* bcopyb() isn't used on amd64 kernel (it only exists for i386/pcvt)peter2003-05-101-1/+0
| | | | Approved by: re (blanket amd64/*)
* Finish translating i386/support.s into amd64 asm - replace bcopy etc withpeter2003-05-102-63/+140
| | | | asm versions. This yields about a 5% kernel compile time speedup.
* Update ldexp.c for amd64.peter2003-05-102-7/+1
|
* Flesh out information on pointing devices and add some manpagebmah2003-05-092-12/+54
| | | | | | | cross-references for keyboards. Add a mention of VGA video cards, and pointers to XFree86 where appropriate. PR: 43410
* When a GEOM (/dev-)device is closed and we find that I/O requests arephk2003-05-091-3/+15
| | | | | | | | | | | | still outstanding, give them a chance to complete. If after 10 seconds we still find outstanding I/O requests, complete the close with a console warning that the system is likely to panic later on. This is a workaround for umount -f not quite doing the right thing. Approved by: re/scottl
* Turn off ppp (ICE) and pppd (cc objects to a varargs decl) on amd64.peter2003-05-091-2/+5
|
* Before reading an ascii label, initialize with defaults so thatphk2003-05-091-0/+1
| | | | | | getasciipartspec() has a sectorisize in case it needs one. Approved by: re/jhb
* Remove Giant from kern_sigsuspend() and osigsuspend() as these should nowjhb2003-05-091-10/+2
| | | | | | be MP safe. Approved by: re (scottl)
* Sigh, this shows just how much one can be conditioned my the environment:phk2003-05-091-9/+7
| | | | | | | | Just because we for the last ten years have fought for every byte in the boot code on i386, doesn't mean that other architectures could not actually have space to spare there. Remore debugging message.
* Include the MXCSR initial values, based on the AMD docs. This filepeter2003-05-092-0/+4
| | | | | | should really be renamed to fpu.h and npx.c to fpu.c since its part of the core architecture on amd64 systems, not an isa 'numeric processor extension'.
* Turn syscons on now that it works, so that anybody trying to run thispeter2003-05-091-6/+6
| | | | | can see something. Probing for keyboard still works for auto serial console mode.
* Trivial addition of __amd64__ to the ifdefs for platforms that usepeter2003-05-091-9/+9
| | | | | | i386-style vga console support. Approved by: re
* The disc1 package set has overfilled the disc. Axe linux-netscape-navigator-4.8scottl2003-05-091-1/+0
| | | | | to free up space. linux-netscape-communicator-4.8 remains and is a superset of the former for those who are stuck are the 1990's =-)
* Document the last field of the procfs 'status' node, which eitherhmp2003-05-091-0/+4
| | | | | | | | | displays the 'hostname' of the jail, or a hyphen '-' to indicate that the process is not jailed. PR: docs/37470 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com> Approved and Reviewed by: des (mentor), re (bmah)
* Add missing MLINK for arc4rand(9). It is documented inhmp2003-05-091-0/+1
| | | | | | | | random(9) and referenced by gbde(4). PR: docs/51254 Submitted by: Simon L. Nielsen <simon@nitro.dk> Approved and Reviewed by: des (mentor), re (bmah)
* To reserve space for 65536 bits, allocaterobert2003-05-091-1/+1
| | | | | | | | | | 65536 / (sizeof(int) * CHAR_BITS) `int's instead of 65536 / (sizeof(int) * CHAR_BITS) bytes to avoid a possible segmentation fault if ports above 16383 are specified via the -p option on a platform with 4 byte wide ints. Approved by: re (bmah) Reported by: Marco Wertejuk <wertejuk@mwcis.com>
* Comment out the entire nomatch entry. The partially commented outimp2003-05-091-3/+3
| | | | | | entry causes problems :-( This effectively backs out the commit the re@ allowed me to commit.
* Redefine M_FREELIST to be 0x8000; 0x4000 conflicted with two othersilby2003-05-091-1/+1
| | | | | | | | | | uses of m_flags in the kernel. (A future commit will move all private m_flags users here so they're obvious without a great deal of searching.) This should fix the mbuf double-free panics those using ppp or ipfw reset rules have been seeing since the double-free detection code went in.
* Give the kmem object's mutex a unique name, instead of "vm object",alc2003-05-091-1/+6
| | | | | | to avoid false reports of lock-order reversal with a system map mutex. Approved by: re (jhb)
* Whitespace cleanup of previous commit. Translators can ignore this.bmah2003-05-082-12/+14
| | | | Approved by: re (implicitly)
* New release notes: New newsyslog(8) features.bmah2003-05-082-4/+72
| | | | | Submitted by: gad Approved by: re (implicitly)
* Try to reflect the current state of disklabel (removed) and thebmah2003-05-082-20/+24
| | | | recently-activated bsdlabel(8).
* Rename MAC_MAX_POLICIES to MAC_MAX_SLOTS, since the variables andrwatson2003-05-0810-74/+74
| | | | | | | | | | | | constants in question refer to the number of label slots, not the maximum number of policies that may be loaded. This should reduce confusion regarding an element in the MAC sysctl MIB, as well as make it more clear what the affect of changing the compile-time constants is. Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Note that -n and \c are implementation-defined as per TC1 to POSIX 2001.schweikh2003-05-081-2/+11
| | | | | Approved by: re@ (bmah) MFC after: 3 days
* Describe the pattern filenames must be in before they are added to the hintstrhodes2003-05-081-0/+3
| | | | | | | file. PR: 46271 Approved by: re (blanket)
* Acquire Giant at the start of the raid rebuild kthreads.jhb2003-05-081-0/+1
| | | | | | Reported by: Masachika ISHIZUKA <ishizuka@ish.org> Reviewed by: sos Approved by: re (bmah)
* I goofed in rev 1.59 (a.out support axing) and missed getting FUNCTION_PROFILERobrien2003-05-081-1/+1
| | | | | | | | fully clean. This resulted in inserted garbage into the produced assembly code when the gcc -pg and -fPIC options are used together. PR: i386/50598 Submitted by: Don Lewis <truckman@freebsd.org>
* Add a comment describing why it's important for the values in thisdas2003-05-086-0/+42
| | | | | | file to be correct, and how to generate them automatically. Caused much pain and suffering for: peter
* Oops. Turn T_PAGEFLT back into an interrupt gate. It is *critical*peter2003-05-082-2/+10
| | | | | | | | | | that interrupts be disabled and remain disabled until %cr2 is read. Otherwise we can preempt and another process can fault, and by the time we read %cr2, we see a different processes fault address. This Greatly Confuses vm_fault() (to say the least). The i386 port has got this marked as a bug workaround for a Cyrix CPU, which is what lead me astray. Its actually necessary for preemption, regardless of whether Cyrix cpus had a bug or not.
* SIG_SETMASK is 3, not 1. Sigh.peter2003-05-081-1/+1
|
* Set the binutils arch for as/nm correctly on the amd64 platform.peter2003-05-081-1/+6
| | | | | | | As far as binutils is concerned, the amd64 platform is still called "x86-64"/"x86_64". Setting things from ${MACHINE_ARCH} breaks that. Approved by: re (scottl)
* Exclude rtld-elf for amd64. More porting is still needed.peter2003-05-081-1/+4
| | | | Approved by: re (scottl)
* Exclude sys/boot for amd64. There are still toolchain issues to dealpeter2003-05-081-1/+4
| | | | | | with. In theory, gcc -m32 should work, but for now, do not tempt fate. Approved by: re (scottl)
* Add amd64 settings.peter2003-05-081-0/+3
| | | | Approved by: re (scottl)
* Exclude gprof and truss for amd64 too.peter2003-05-081-1/+1
| | | | Approved by: re (scottl)
* Fix an embarresing transcription error from i386 to amd64. Put the argumentspeter2003-05-082-13/+12
| | | | | to sigprocmask(2) int the correct order. *blush*. For sigsetjmp(), match up the pushq/popq in the non-savemask case.
* release.9 has become the biggest festering pile of spaghetti s(*^% code.obrien2003-05-081-1/+118
| | | | | | Duplicate the target for Alpha so I can start hacking and slashing bits out. Approved by: re(blanket to make Alpha build)
* Tidy up modf.S and make it actually work. It wasn't extractingpeter2003-05-081-16/+13
| | | | | the value out of ST(0) before copying it to %xmm0. Also remove bogus stack frame and work in the red zone.
* Rethink the way we count module references. Simply followingkan2003-05-081-18/+30
| | | | | | | | | DT_NEEDED links is not flexible enough for cases where dynamically loaded modules form a dependency cycle. This should fix an infinite recursion problem encountered by Yahoo. Approved by: re (jhb)
* ioctl VINUM_READCONFIG: Don't lock configuration here. vinum_scandiskgrog2003-05-081-5/+1
| | | | | | | needs to do it anyway to handle the startup case. This is part of a fix for the recently reported hangs. Approved by: re (scottl)
* vinum_read: Don't lock configuration from userland. If vinum(8)grog2003-05-081-7/+1
| | | | | | | | crashes, the config remains locked and causes all subsequent start or read attempts to fail. This is part of a fix for the recently reported hangs. Approved by: re (scottl)
OpenPOWER on IntegriCloud