diff options
author | Steinar H. Gunderson <sesse@google.com> | 2016-02-20 12:26:12 +0100 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2016-05-29 18:51:04 -0700 |
commit | a283c3b5a3dce8f6f33331b9aa1d95d41c8f241c (patch) | |
tree | 8251d7c0936e41ef31dfbd1b92ea66b12beb93cb /libusb/version_nano.h | |
parent | 0b947e5f9b2dfffa4def7007f4fb5b23fe2eb05f (diff) | |
download | libusb-a283c3b5a3dce8f6f33331b9aa1d95d41c8f241c.tar.gz |
Add support for persistent device memory.
Add a function to allocate memory belonging to a specific device,
so that the operating system can DMA straight into it for zerocopy,
and also avoid some clearing. Also, this allows up-front memory
allocation in the kernel at program startup; memory allocation is
otherwise done per-transfer, which can fail in a system where memory has become
fragmented over time).
This mirrors new functionality going into Linux' USB stack (recently
reviewed and acked upstream); only Linux is supported as a backend
currently.
[Chris Dickens] Modified to fix doxygen documentation, correct parameter
naming, reposition function declarations, and address a missing request
during the patch review process.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r-- | libusb/version_nano.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h index b92475f..5921d74 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11109 +#define LIBUSB_NANO 11110 |