History log of /src/sys/arch/sparc64/include/lock.h |
Revision | | Date | Author | Comments |
1.9 |
| 20-Jul-2002 |
mrg | branches: 1.9.52; use <sparc/foo.h> where appropriate. now these files become very very difficult to get out of sync. add bootinfo.h and promlib.h (using the same method) so that sparc64 headers can build sparc stand (not yet finished.)
|
1.8 |
| 05-May-2000 |
hannken | branches: 1.8.8; 1.8.12; 1.8.16; 1.8.20; Fix for lint during build of libc.
|
1.7 |
| 02-May-2000 |
thorpej | Let each platform typedef the new __cpu_simple_lock_t, which should be the most efficient type used for the atomic operations in the simplelock structure, and should also be __volatile.
|
1.6 |
| 01-May-2000 |
thorpej | Fix a declaration inside __ldstub().
|
1.5 |
| 29-Apr-2000 |
thorpej | Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files are also required to supply inline functions __cpu_simple_lock(), __cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be supported on that platform (i.e. if MULTIPROCESSOR is defined in the _KERNEL case). Change these functions to take an int * (&alp->lock_data) rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives by including <machine/lock.h>.
|
1.4 |
| 27-Jul-1999 |
thorpej | branches: 1.4.2; Make a slight rearrangement in how <machine/lock.h> is included.
|
1.3 |
| 27-Jul-1999 |
thorpej | Define apporpriate an value for SIMPLELOCK_LOCKED, based on the semantics of ldstub.
|
1.2 |
| 27-Jul-1999 |
thorpej | Prepend `cpu_' to the machine-dependent atomic locking primitivies.
|
1.1 |
| 30-May-1999 |
eeh | branches: 1.1.2; Grab real locks from the sparc port. I suppose we could use casa and casx instead of ldstub, but since we aren't doing n-way locking it makes little difference. N.B. Need to decide what to do with sparc64/sparc64/asm.h which has name conflicts with sparc64/include/asm.h. So far most of sparc64/sparc64/asm.h has been moved to ctlreg.h.
|
1.1.2.2 |
| 02-Aug-1999 |
thorpej | Update from trunk.
|
1.1.2.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.4.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.8.20.1 |
| 31-Aug-2002 |
gehenna | catch up with -current.
|
1.8.16.1 |
| 19-Mar-2002 |
thorpej | Change __cpu_simple_lock_t to a single byte.
|
1.8.12.1 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.8.8.1 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.9.52.2 |
| 06-Feb-2007 |
ad | Test for the presence of 'membar' by checking for __sparc_v9__.
|
1.9.52.1 |
| 29-Dec-2006 |
ad | Checkpoint work in progress.
|