Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1702 | Rev 1708 | ||
|---|---|---|---|
| Line 92... | Line 92... | ||
| 92 | * Provisions are made to return value even after page fault. |
92 | * Provisions are made to return value even after page fault. |
| 93 | * |
93 | * |
| 94 | * This function can be called only from syscall. |
94 | * This function can be called only from syscall. |
| 95 | * |
95 | * |
| 96 | * @param uspace_dst Destination userspace address. |
96 | * @param uspace_dst Destination userspace address. |
| 97 | * @param uspace_src Source kernel address. |
97 | * @param src Source kernel address. |
| 98 | * @param size Size of the data to be copied. |
98 | * @param size Size of the data to be copied. |
| 99 | * |
99 | * |
| 100 | * @return 0 on success or error code from @ref errno.h. |
100 | * @return 0 on success or error code from @ref errno.h. |
| 101 | */ |
101 | */ |
| 102 | int copy_to_uspace(void *uspace_dst, const void *src, size_t size) |
102 | int copy_to_uspace(void *uspace_dst, const void *src, size_t size) |