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
cd75387049
NetBSD
/
sys
/
arch
/
pmax
/
include
/
lock.h
4 lines
85 B
C
Raw
Normal View
History
Unescape
Escape
Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>" files.
2001-08-31 07:53:22 +04:00
/* $NetBSD: lock.h,v 1.2 2001/08/31 03:53:23 simonb 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
#
include
<mips/lock.h>
Reference in New Issue
Copy Permalink