Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pgoyette-compat] src/sys



Module Name:    src
Committed By:   pgoyette
Date:           Sat Sep 22 10:33:51 UTC 2018

Modified Files:
        src/sys/opencrypto [pgoyette-compat]: cryptodev.c ocryptodev.c
            ocryptodev.h
        src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
When the compat code needs to callback to the original code, we cannot
call directly via the routines' global symbols, since the original code
might not be built-in.  So, the original code that calls compat code
needs to pass in the addresses of the callbacks.  This allows for the
compat code to be built whether or not the original (calling) code is
included.

XXX Done for cryptodev, will need to do the same thing for ccd(4) and
XXX vnd(4)


To generate a diff of this commit:
cvs rdiff -u -r1.98.2.4 -r1.98.2.5 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.11.2.3 -r1.11.2.4 src/sys/opencrypto/ocryptodev.c
cvs rdiff -u -r1.3.16.1 -r1.3.16.2 src/sys/opencrypto/ocryptodev.h
cvs rdiff -u -r1.1.2.33 -r1.1.2.34 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index