Home | History | Annotate | Download | only in include
History log of /src/sys/arch/hppa/include/lock.h
RevisionDateAuthorComments
 1.24  13-Feb-2022  riastradh hppa: __cpu_simple_lock membar audit.

ok skrll
 1.23  12-Feb-2022  riastradh __cpu_simple_lock(9): Omit needless barriers in init.

It is, and always has been, the caller's responsibility to ensure the
lock is initialized before it can be used -- otherwise the memory
could hold garbage; it is nonsensical to even attempt locking
operations on it before initialization.

So there's no need to issue explicit barriers here. The barrier
seems to have been introduced in sys/arch/alpha/alpha/lock_machdep.c
rev. 1.1 (since moved to inline asm in alpha/include/lock.h) and then
copied & pasted into several other architectures.
 1.22  29-Nov-2019  riastradh Nix mb_* on hppa.
 1.21  16-Apr-2019  skrll Trailing whitespace
 1.20  17-Sep-2017  christos branches: 1.20.4;
more const.
 1.19  15-Jan-2017  christos undo paren change
 1.18  15-Jan-2017  christos more types for constants
 1.17  14-Jan-2017  christos fix constant types
 1.16  28-Apr-2008  martin branches: 1.16.44; 1.16.64; 1.16.68;
Remove clause 3 and 4 from TNF licenses
 1.15  13-Nov-2007  skrll branches: 1.15.14; 1.15.16; 1.15.18;
Don't use structure copy in __cpu_simple_lock_init. Set the array elements
to __SIMPLELOCK_RAW_UNLOCKED instead.
 1.14  17-Oct-2007  garbled branches: 1.14.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.13  15-Sep-2007  he branches: 1.13.4;
Fix build problem: ensure uintptr_t is declared by including <sys/stdint.h>.
OKed by skrll.
 1.12  10-Sep-2007  skrll Merge nick-csl-alignment.
 1.11  09-Feb-2007  ad branches: 1.11.6; 1.11.14; 1.11.18; 1.11.22; 1.11.24;
Merge newlock2 to head.
 1.10  22-Sep-2006  skrll Create real lock primatives using as little asm as possible.

It's not used anywhere, but it's better committed than on any of my HDs.
 1.9  28-Dec-2005  perry branches: 1.9.20; 1.9.22;
inline -> __inline
 1.8  24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.7  11-Dec-2005  christos merge ktrace-lwp.
 1.6  07-Aug-2004  chs branches: 1.6.12;
stub out the ldcw stuff for now, since gcc -O2 chokes on it.
 1.5  01-Nov-2003  matt Compile at -O2. Fix various GCC3-isms
XXX mem.c still fails to assemble.
 1.4  06-Oct-2003  matt Change headers to comply with the new toolchain changes.
 1.3  20-Sep-2003  matt Use #ifdef _KERNEL_OPT around #include "opt_XXX.h"
 1.2  23-Jun-2003  martin branches: 1.2.2;
Make sure to include opt_foo.h if a defflag option FOO is used.
 1.1  05-Jun-2002  fredette branches: 1.1.2; 1.1.4;
Added files to support generic HP PA-RISC based machines. hp700-specific
files to follow.
 1.1.4.2  14-Jul-2002  gehenna catch up with -current.
 1.1.4.1  05-Jun-2002  gehenna file lock.h was added on branch gehenna-devsw on 2002-07-14 17:47:27 +0000
 1.1.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.1  05-Jun-2002  jdolecek file lock.h was added on branch kqueue on 2002-06-23 17:37:09 +0000
 1.2.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.2.2.2  12-Aug-2004  skrll Sync with HEAD.
 1.2.2.1  03-Aug-2004  skrll Sync with HEAD
 1.6.12.5  15-Nov-2007  yamt sync with head.
 1.6.12.4  27-Oct-2007  yamt sync with head.
 1.6.12.3  26-Feb-2007  yamt sync with head.
 1.6.12.2  30-Dec-2006  yamt sync with head.
 1.6.12.1  21-Jun-2006  yamt sync with head.
 1.9.22.1  22-Oct-2006  yamt sync with head
 1.9.20.2  29-Jan-2007  ad Make hp700 compile.
 1.9.20.1  18-Nov-2006  ad Sync with head.
 1.11.24.2  09-Jan-2008  matt sync with HEAD
 1.11.24.1  06-Nov-2007  matt sync with HEAD
 1.11.22.2  14-Nov-2007  joerg Sync with HEAD.
 1.11.22.1  02-Oct-2007  joerg Sync with HEAD.
 1.11.18.2  23-Aug-2007  skrll Sprinkle volatile.
 1.11.18.1  18-Jul-2007  skrll Initial work on provided correctly aligned __cpu_simple_lock_t for hppa
and first attempt at adapting i386 to the changes.

More to come.
 1.11.14.1  03-Oct-2007  garbled Sync with HEAD
 1.11.6.2  03-Dec-2007  ad Sync with HEAD.
 1.11.6.1  09-Oct-2007  ad Sync with head.
 1.13.4.1  13-Nov-2007  bouyer Sync with HEAD
 1.14.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.15.18.1  16-May-2008  yamt sync with head.
 1.15.16.1  18-May-2008  yamt sync with head.
 1.15.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.16.68.1  20-Mar-2017  pgoyette Sync with HEAD
 1.16.64.1  05-Feb-2017  skrll Sync with HEAD
 1.16.44.1  03-Dec-2017  jdolecek update from HEAD
 1.20.4.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.20.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed