summaryrefslogtreecommitdiffstats
path: root/sys/posix4
Commit message (Collapse)AuthorAgeFilesLines
* Add $FreeBSD$peter2000-05-011-0/+1
|
* Remove unneeded #include <sys/kernel.h>phk2000-04-291-1/+0
|
* Add $FreeBSD$.wollman2000-04-221-0/+17
| | | | | Initialize the POSIX.1b sysconf information appropriately for non-optional kernel functions.
* Commit major SMP cleanups and move the BGL (big giant lock) in thedillon2000-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | syscall path inward. A system call may select whether it needs the MP lock or not (the default being that it does need it). A great deal of conditional SMP code for various deadended experiments has been removed. 'cil' and 'cml' have been removed entirely, and the locking around the cpl has been removed. The conditional separately-locked fast-interrupt code has been removed, meaning that interrupts must hold the CPL now (but they pretty much had to anyway). Another reason for doing this is that the original separate-lock for interrupts just doesn't apply to the interrupt thread mechanism being contemplated. Modifications to the cpl may now ONLY occur while holding the MP lock. For example, if an otherwise MP safe syscall needs to mess with the cpl, it must hold the MP lock for the duration and must (as usual) save/restore the cpl in a nested fashion. This is precursor work for the real meat coming later: avoiding having to hold the MP lock for common syscalls and I/O's and interrupt threads. It is expected that the spl mechanisms and new interrupt threading mechanisms will be able to run in tandem, allowing a slow piecemeal transition to occur. This patch should result in a moderate performance improvement due to the considerable amount of code that has been removed from the critical path, especially the simplification of the spl*() calls. The real performance gains will come later. Approved by: jkh Reviewed by: current, bde (exception.s) Some work taken from: luoqi's patch
* Track libc_r addition of semaphores implementation.jasone2000-01-201-10/+16
| | | | Approved by: jkh
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-294-10/+13
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Fixed some type mismatches. p_retval[0] in struct proc has typebde1999-12-272-18/+22
| | | | | | register_t, so pointers to it must be passed around as `register_t *', not as `int *'. The type mismatches were non-benign on alphas, but the broken code is normally only configured by LINT.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Well folks, this is it - The second stage of the removal for build supportpeter1999-04-172-2/+2
| | | | for LKM's..
* * Change sysctl from using linker_set to construct its tree using SLISTs.dfr1999-02-161-1/+5
| | | | | | | | | | This makes it possible to change the sysctl tree at runtime. * Change KLD to find and register any sysctl nodes contained in the loaded file and to unregister them when the file is unloaded. Reviewed by: Archie Cobbs <archie@whistle.com>, Peter Wemm <peter@netplex.com.au> (well they looked at it anyway)
* Set PAGE_SIZE for _SC_PAGESIZE sysconf().dufault1998-06-011-0/+1
|
* 1. Add new defs for mins and maxs for the POSIX flavor priorities. Theydufault1998-05-192-9/+26
| | | | | | | | | | | | | end up being the same, but it doesn't look like you're comparing apples and oranges. 2. Use need_resched instead of reset_priority. This isn't right either, since for example you'll round-robin against equal priority FIFO processes when lowering the priority of another process, but this works better and a real fix needs to be in kern_synch and not out here. 3. This is not a device driver: copyin/copyout the structure.
* 1. Don't use "nosys" and generate coredumps for unconfigureddufault1998-05-182-3/+11
| | | | | | system calls - return ENOSYS per the spec. 2. Fix interface stub to set priority properly.
* Add C++ support.jb1998-05-121-0/+2
| | | | | Submitted by: Russell L. Carter <rcarter@pinyon.org> fixes omniORB25 built with g++-2.8.1 on -current
* Support compiling with `gcc -ansi'.bde1998-04-151-1/+1
|
* The system call stubs for the sched_* system calls can't bedufault1998-03-281-4/+0
| | | | | | | optional. The kernel will now link but the new system calls can't be LKM'd in without the P1003_1B option - I will remove this option later.
* Include sys/resource.h to get PRIO_MAX.dufault1998-03-281-0/+1
|
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-288-288/+380
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* Fixed syntax errors.bde1998-03-231-5/+5
|
* Don't depend on namespace pollution to help misdeclare pointers as arrays.bde1998-03-231-5/+3
|
* Reviewed by: bdedufault1998-03-084-19/+18
| | | | | | | | | | | | | | | | | | | | | | | Changes to support building with _POSIX_SOURCE set to 199309L: 1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files; 2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE 3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when: _POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L and vanish when: _POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L. 4. Explain these in man 9 posix4; 5. Include _posix.h and conditionalize on new feature test.
* Reviewed by: msmith, bde long agodufault1998-03-047-0/+942
POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
OpenPOWER on IntegriCloud