summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add APM compatibility feature to ACPI.iwasaki2001-10-2610-11/+776
| | | | | | | | | | | | | | | | | This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys
* Remove the internal implementation details of wrapping syscalls,ru2001-10-2619-505/+0
| | | | | | which do not match the reality anyway. Approved by: deischen, bde
* This commit was generated by cvs2svn to compensate for changes in r85552,ru2001-10-261-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * From ChangeLog:ru2001-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | : 2001-10-19 Ruslan Ermilov <ru@FreeBSD.org> : : * tmac/doc.tmac (doc-flag-recursion): Protect arguments against : being handled as end-of-sentence characters, This fixes ".Fl \&?". Previously, it produced an additional whitespace. There were no precedents in FreeBSD manpages. That's why it was Noticed by: Thomas Klausner <wiz@netbsd.org>
* | mdoc(7) police:ru2001-10-261-9/+11
| | | | | | | | | | - Minor markup nits. - Arrange for appearance in 4.5.
* | There are users of FreeBSD 4.5 already.ru2001-10-261-0/+1
| |
* | Document HPT372 support.asmodai2001-10-261-0/+2
| |
* | Fix title to conform to FreeBSD/port naming convention.bmah2001-10-261-1/+1
| |
* | We support the Intel ICH3 [ATA-100] chipset as well.asmodai2001-10-261-0/+2
| |
* | New release notes: isic(4) support for Compaq Microcom 610 ISDN, fbtab(5)bmah2001-10-264-4/+30
| | | | | | | | | | | | | | | | globbing, rcmd(3) uses ${RSH}. MFCs noted: sysinstall(8) can load KLDs at install-time. Fix typo for isdnphone(8).
* | Move recently added procedure which was incorrectly placed within andillon2001-10-261-17/+16
| | | | | | | | #ifdef DDB block.
* | Detach the prom console when platform.cons_init is called. This seemsmjacob2001-10-263-2/+15
| | | | | | | | | | | | | | | | | | to avoid most of the double character kernel goop we've been having by having both a prom console && a normal console. Was not able to test with graphics head. Hope this doesn't break anything. Reviewed by: silence on alpha
* | Make cdevsw[] static.phk2001-10-261-1/+1
| |
* | Reporting device drivers by traversing cdevsw[] is at best a hackphk2001-10-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | which may or may not return something which is partially right. Disable the "devices" file until we find out what this is needed for, and what exactly those apps need. This will allow cdevsw to become static again. Approved by: DES
* | mdoc(7) police:ru2001-10-261-38/+49
| | | | | | | | | | | | - Bump document date. - Remove hard sentence breaks. - Fix markup.
* | Finish the asbestos suited move of $mach/conf/*.$mach to conf/*.$mach.ru2001-10-266-6/+8
| | | | | | | | Fix some more typos.
* | Remove /var/spool/uucp subtree, not needed for 'cu'ache2001-10-261-14/+0
| |
* | Compensate for the way that _setjmp aligns the start of jmp_buf.dfr2001-10-262-5/+23
| |
* | Close buffer overflow noted in security advisory DSA-085.jkh2001-10-261-1/+1
| | | | | | | | | | Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org> Obtained from: Debian
* | Add a per-thread ucred reference for syscalls and synchronous traps fromjhb2001-10-2610-61/+164
| | | | | | | | | | | | | | | | | | userland. The per thread ucred reference is immutable and thus needs no locks to be read. However, until all the proc locking associated with writes to p_ucred are completed, it is still not safe to use the per-thread reference. Tested on: x86 (SMP), alpha, sparc64
* | Fix nit in copyright.obrien2001-10-261-2/+2
| |
* | Use the new machine-independent versions of crtbegin and crtendobrien2001-10-262-108/+0
| | | | | | | | from the "common" directory.
* | Add locking to taskqueues. There is one mutex per task, one mutex perjhb2001-10-266-44/+110
| | | | | | | | | | | | | | | | queue, and a mutex to protect the global list of taskqueues. The only visible change is that a TASK_DESTROY() macro has been added to mirror the TASK_INIT() macro to destroy a task before it is free'd. Submitted by: Andrew Reiter <awr@watson.org>
* | Use msleep() to avoid lost wakeup's instead of doing an ineffectivejhb2001-10-261-15/+5
| | | | | | | | | | | | | | | | splhigh() before the mtx_unlock and tsleep(). The splhigh() was probably correct in the original code using simplelocks but is not correct in 5.0-current. Noticed by: Andrew Reiter <awr@FreeBSD.org>
* | Minimal libc for sparc64.jake2001-10-2619-0/+874
| | | | | | | | Reviewed by: obrien
* | Implement kern.maxvnodes. adjusting kern.maxvnodes now actually has adillon2001-10-267-57/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | real effect. Optimize vfs_msync(). Avoid having to continually drop and re-obtain mutexes when scanning the vnode list. Improves looping case by 500%. Optimize ffs_sync(). Avoid having to continually drop and re-obtain mutexes when scanning the vnode list. This makes a couple of assumptions, which I believe are ok, in regards to vnode stability when the mount list mutex is held. Improves looping case by 500%. (more optimization work is needed on top of these fixes) MFC after: 1 week
* | The same unbreakage (0755 -> 0775) for /var/games and subdirsache2001-10-251-3/+3
| |
* | Add missing TAILQ_INSERT_TAIL's which somehow didn't get comitted withdillon2001-10-251-0/+2
| | | | | | | | the recent vnode cleanup.
* | Fix /var/mail, /var/rwho and /var/spool/lock back to 0775ache2001-10-251-3/+3
| | | | | | | | Not sure about other dirs with the same damage (0755) by recent commit.
* | In > LONG_MAX test use sseek return value and not _offset which can be notache2001-10-251-3/+4
| | | | | | | | active.
* | Default to not performing ufs_dirhash's extensive directory-blockiedowse2001-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | sanity check after every directory modification. This check can be re-enabled at any time by setting the sysctl "vfs.ufs.dirhash_docheck" to 1. This group of sanity tests was there to ensure that any UFS_DIRHASH bugs could be caught by a panic before a potentially corrupted directory block would be written to disk. It has served its main purpose now, so disable it in the interest of performance. MFC after: 1 week
* | In cluster_rbuild(), 'size' had better match buf->b_bcount and buf->b_bufsizedillon2001-10-251-2/+14
| | | | | | | | | | | | | | or the cluster will not be properly merged. Dup the code from cluster_wbuild() and add some printf()s to see if bad cases are present. MFC after: 2 weeks
* | Move abstract inside articleinfo and re-indent, no content changes.bmah2001-10-252-16/+16
| |
* | New release notes: Multiple low-level consoles, fxp(4) bundling.bmah2001-10-252-0/+20
| |
* | o Modify format of /etc/fbtab to accept glob matching patterns forrwatson2001-10-252-39/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | target devices, not just individual devices and directories. This permits activities such as: ttyv0 0600 /dev/dsp* Whereas previously that was not supported. This change is backwards-compatible, except where device names included globbing characters, which is not the case for any devices listed in MAKEDEV. Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 3 weeks
* | Use TASK_INIT to initialize taskqueue task instead of violating thejhb2001-10-251-6/+6
| | | | | | | | | | | | abstraction. Submitted by: Andrew Reiter <arr@watson.org>
* | Remove wx driver, which got recently removed.asmodai2001-10-251-1/+0
| | | | | | | | Submitted by: revamped kernincludes.sh
* | Unbreak NEWCARD by removing options NFS and replacing it with theasmodai2001-10-251-1/+2
| | | | | | | | | | | | new NFSCLIENT and NFSSERVER options. Submitted by: revamped kernincludes.sh
* | Aargh. I really shouldn't do late night commits. Remove a floating pointjlemon2001-10-251-1/+1
| | | | | | | | multiply, and replace it with a close equivalent. 1.488 =~ 1.5
* | Now that nfsm_reply() does not usually set 'error' to 0, we neediedowse2001-10-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | to do it explicitly in nfsrv_noop so that the reply gets sent back to the client. This fixes the generation of a selection of RPC error replies (RPC_PROGMISMATCH, RPC_PROGUNAVAIL, RPC_PROCUNAVAIL etc.) that are used by some clients to detect support for optional protocols and features. Reviewed by: peter Reported by: Thomas Quinot <quinot@inf.enst.fr> PR: kern/31479
* | Defs for three (unused so far) bits in PCI command/status registerluigi2001-10-252-6/+6
| | | | | | | | were off by one bit.
* | Better code to scan the ethertable.luigi2001-10-251-2/+2
| |
* | Fix an inverted test csae. Success of getenv() is determined by a returnjhb2001-10-251-1/+1
| | | | | | | | | | | | | | value of !NUL rather than NUL. Submitted by: luigi Pointy hat to: jhb
* | Put WARNS into the right place.ru2001-10-251-1/+1
| |
* | Currently no code does a CROSSJUMP() to sw1a, so we don't need ajhb2001-10-253-6/+0
| | | | | | | | | | | | CROSSJUMPTARGET() for it. Submitted by: bde
* | Use %ecx instead of %ebx for the scratch register while updating %dr7 sincejhb2001-10-253-15/+9
| | | | | | | | | | | | | | %ecx isn't a call safe register and thus we don't have to save and restore it. Submitted by: bde
* | - Fix typo in comment from previous revision.jhb2001-10-253-9/+12
| | | | | | | | | | | | | | | | - Fix a bug in the LDT changes where the wrong argument was passed to set_user_ldt() from cpu_switch(). The bug was passing a pointer to the ldt, but set_user_ldt() takes a pointer to the process' mdproc structure. Submitted by: bde
* | Whitespace, comment, and string fixes.jhb2001-10-253-129/+117
| | | | | | | | Submitted by: bde (mostly)
* | Style and WARNS cleanups.jlemon2001-10-253-65/+65
| | | | | | | | Submitted by: ru
* | Don't put an extra space after password prompts, because it violates POLA,sobomax2001-10-252-7/+7
| | | | | | | | | | | | makes FreeBSD inconsistent with previous releases and "other unices" as well as with some internal password-asking services (e.g. ftp) within the same release.
OpenPOWER on IntegriCloud