Home | History | Annotate | Download | only in asm
History log of /src/sys/external/bsd/drm2/include/asm/uaccess.h
RevisionDateAuthorComments
 1.11  25-Oct-2022  riastradh linux asm/uaccess.h: strncpy_from_user

(which does not actually have strncpy semantics, naturally, from what
I can gather)
 1.10  19-Dec-2021  riastradh drm: Another pass over i915 and some supporting logic.

This makes a shim around sg_table, which essentially represents two
things:

1. an array of pages (roughly corresponding to bus_dma_segment_t[])
2. an array of DMA addresses stored in a bus_dmamap_t

Both parts are optional; different parts of i915 use sg_tables to
pass around one or both of the two parts. This helps to reduce the
ifdefs by quite a bit, although it's not always clear which part of
an sg_table any particular interface is actually using which is why I
was reluctant to do this before.
 1.9  19-Dec-2021  riastradh Update to new access_ok prototype

also... this function should probably do something


Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>
 1.8  19-Dec-2021  riastradh linux/compiler.h for #define __user


Author: Maya Rashish <maya@NetBSD.org>
 1.7  19-Dec-2021  riastradh Use ufetch(9) instead of removed subyte.


Author: Maya Rashish <maya@NetBSD.org>
 1.6  19-Dec-2021  riastradh Safe unsafe uaccess stubs.
 1.5  19-Dec-2021  riastradh Implement hokey slow clear_user.
 1.4  19-Dec-2021  riastradh Tweak get_user and put_user.

- Add type check to get_user.
- Use temporary for put_user, since argument might not be lvalue.
- Clarify argument names.
 1.3  10-Sep-2017  maya sys/errno.h for EFAULT

ok riastradh
 1.2  18-Mar-2014  riastradh branches: 1.2.4; 1.2.6; 1.2.10;
Merge riastradh-drm2 to HEAD.
 1.1  24-Jul-2013  riastradh branches: 1.1.2;
file uaccess.h was initially added on branch riastradh-drm2.
 1.1.2.5  08-Sep-2013  riastradh Add some copy_to/from_user variants to Linux <asm/uaccess.h>.
 1.1.2.4  24-Jul-2013  riastradh Add hokey (but typeof-free) get_user and put_user to <asm/uaccess.h>.
 1.1.2.3  24-Jul-2013  riastradh Mark NetBSD->Linux errno translations in copy_{to,from}_user.
 1.1.2.2  24-Jul-2013  riastradh Define copy_{to,from}_user in <linux/uaccess.h> & <asm/uaccess.h>.
 1.1.2.1  24-Jul-2013  riastradh Add stubs for Linux header files for drm.
 1.2.10.3  03-Dec-2017  jdolecek update from HEAD
 1.2.10.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1  18-Mar-2014  tls file uaccess.h was added on branch tls-maxphys on 2014-08-20 00:04:21 +0000
 1.2.6.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1  18-Mar-2014  yamt file uaccess.h was added on branch yamt-pagecache on 2014-05-22 11:40:55 +0000
 1.2.4.2  18-May-2014  rmind sync with head
 1.2.4.1  18-Mar-2014  rmind file uaccess.h was added on branch rmind-smpnet on 2014-05-18 17:46:01 +0000

RSS XML Feed