OpenGrok
Cross Reference: rndpseudo_50.c
xref
: /
src
/
sys
/
compat
/
common
/
rndpseudo_50.c
Home
|
History
|
Annotate
|
Download
|
only in
common
History log of
/src/sys/compat/common/rndpseudo_50.c
Revision
Date
Author
Comments
1.7
30-Apr-2020
riastradh
Omit needless #include <sys/rnd.h>.
1.6
12-Dec-2019
pgoyette
Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.
Note that we still have a per-hook localcount, since we need to count
individual references.
As discussed with riastradh@
Welcome to 9.99.22 !
1.5
26-Sep-2019
christos
fix sign-compare issues.
1.4
01-Mar-2019
pgoyette
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.
Ride the earlier kernel bump - it;s getting crowded.
1.3
27-Jan-2019
pgoyette
Merge the [pgoyette-compat] branch
1.2
03-Aug-2012
matt
branches: 1.2.38; 1.2.40;
Only do COMPAT_NETBSD32 stuff if _LP64
1.1
19-Dec-2011
apb
branches: 1.1.4; 1.1.6;
Add COMPAT_50 and COMPAT_NETBSD32 compatibility code for rnd(4)
ioctl commands.
Tested with "rndctl -ls" using an old 32-bit version of rndctl(8)
(built for NetBSD-5.99.56/i386) and a new 64-bit kernel
(NetBSD-5.99.59/amd64).
1.1.6.3
30-Oct-2012
yamt
sync with head
1.1.6.2
17-Apr-2012
yamt
sync with head
1.1.6.1
19-Dec-2011
yamt
file rndpseudo_50.c was added on branch yamt-pagecache on 2012-04-17 00:07:14 +0000
1.1.4.2
18-Feb-2012
mrg
merge to -current.
1.1.4.1
19-Dec-2011
mrg
file rndpseudo_50.c was added on branch jmcneill-usbmp on 2012-02-18 07:33:54 +0000
1.2.40.3
13-Apr-2020
martin
Mostly merge changes from HEAD upto 20200411
1.2.40.2
08-Apr-2020
martin
Merge changes from current as of 20200406
1.2.40.1
10-Jun-2019
christos
Sync with HEAD
1.2.38.3
23-Jan-2019
pgoyette
Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit. IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).
NFC intended, will verify with a bulk build and an atf test run.
1.2.38.2
12-Oct-2018
pgoyette
Use a MP-safe hook for the rnd_ioctl compat_50 calls.
1.2.38.1
21-Mar-2018
pgoyette
Split compat/rndpseudo_50.c into two pieces, one for native compat and
a second piece for compat32. Update both modules accordingly.
Indexes created Sun Oct 19 02:09:48 GMT 2025