/src/sys/compat/netbsd32/ |
netbsd32_drm.c | 370 drm_buf_desc32_t buf32; local in function:compat_drm_addbufs 374 if ((error = copyin(&buf32, arg, sizeof(buf32))) != 0) 378 buf64.agp_start = (unsigned long)NETBSD32PTR64(buf32.agp_start); 385 NETBSD32PTR32(buf32.agp_start, (void *)buf64.agp_start); 387 return copyout(&buf32, arg, sizeof(buf32));
|
netbsd32_drm.c | 370 drm_buf_desc32_t buf32; local in function:compat_drm_addbufs 374 if ((error = copyin(&buf32, arg, sizeof(buf32))) != 0) 378 buf64.agp_start = (unsigned long)NETBSD32PTR64(buf32.agp_start); 385 NETBSD32PTR32(buf32.agp_start, (void *)buf64.agp_start); 387 return copyout(&buf32, arg, sizeof(buf32));
|