/[hurd]/hurd/pfinet/glue-include/asm/uaccess.h
ViewVC logotype

Diff of /hurd/pfinet/glue-include/asm/uaccess.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by roland, Fri Feb 4 06:32:38 2000 UTC revision 1.2 by roland, Wed May 29 08:34:41 2002 UTC
# Line 23  extern int __verify_write(const void *, Line 23  extern int __verify_write(const void *,
23    
24  #define put_user(x,ptr) (*(ptr) = (x), 0)  #define put_user(x,ptr) (*(ptr) = (x), 0)
25  #define get_user(x,ptr) ((x) = *(ptr), 0)  #define get_user(x,ptr) ((x) = *(ptr), 0)
26    #define __get_user(x,ptr) get_user((x), (ptr))
27    
28    /* This is used to constitute an arbitrarily-sized memory clobber in an asm. */
29    struct __large_struct { unsigned long buf[100]; };
30    #define __m(x) (*(struct __large_struct *)(x))
31    
32    
33  /*  /*
34   * The "xxx_ret" versions return constant specified in third argument, if   * The "xxx_ret" versions return constant specified in third argument, if

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26