Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: about copy_to_user

$
0
0

copy_to_user does not have any defined access type; like memcpy, it can use whatever transfers it likes.

If your hardware supports only 16-bit accesses, then you must copy the data to your own buffer in 'real' memory with explicit 16-bit accesses, and call copy_to_user on that.


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>