This website requires JavaScript.
Explore
Help
Sign In
Aren
/
NetBSD
Watch
1
Star
0
Fork
0
You've already forked NetBSD
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
979ce3fa95
NetBSD
/
sys
/
arch
/
arm32
/
include
/
lock.h
4 lines
83 B
C
Raw
Normal View
History
Unescape
Escape
Switch over to using the generic arm header files for everything that arm26 and arm32 agree on.
2001-01-12 01:07:53 +03:00
/* $NetBSD: lock.h,v 1.3 2001/01/11 22:07:59 bjh21 Exp $ */
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>.
2000-04-29 07:31:45 +04:00
Switch over to using the generic arm header files for everything that arm26 and arm32 agree on.
2001-01-12 01:07:53 +03:00
#
include
<arm/lock.h>
Reference in New Issue
Copy Permalink