Changeset 9f9b6f0e in mainline
- Timestamp:
- 2017-05-30T18:48:03Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 134e3f1
- Parents:
- c726209
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ddi.c
rc726209 r9f9b6f0e 63 63 /** Map a piece of physical memory to task. 64 64 * 65 * Caller of this function must have the CAP_MEM_MANAGER capability.65 * Caller of this function must have the PERM_MEM_MANAGER permission. 66 66 * 67 67 * @param phys Physical address of the starting frame. … … 74 74 * 75 75 * @return EOK on success. 76 * @return EPERM if the caller lacks the CAP_MEM_MANAGER capability.76 * @return EPERM if the caller lacks the PERM_MEM_MANAGER permission. 77 77 * @return ENOMEM if there was some problem in creating 78 78 * the address space area. … … 87 87 /** Unmap a piece of physical memory to task. 88 88 * 89 * Caller of this function must have the CAP_MEM_MANAGER capability.89 * Caller of this function must have the PERM_MEM_MANAGER permission. 90 90 * 91 91 * @param virt Virtual address from the phys-mapped region. 92 92 * 93 93 * @return EOK on success. 94 * @return EPERM if the caller lacks the CAP_MEM_MANAGER capability.94 * @return EPERM if the caller lacks the PERM_MEM_MANAGER permission. 95 95 * 96 96 */ … … 106 106 * make it safe for DMA transferts. 107 107 * 108 * Caller of this function must have the CAP_MEM_MANAGER capability.108 * Caller of this function must have the PERM_MEM_MANAGER permission. 109 109 * 110 110 * @param virt Virtual address of the memory to be locked. … … 115 115 * 116 116 * @return EOK on success. 117 * @return EPERM if the caller lacks the CAP_MEM_MANAGER capability.117 * @return EPERM if the caller lacks the PERM_MEM_MANAGER permission. 118 118 * @return ENOMEM if there was some problem in creating 119 119 * the address space area. … … 130 130 /** Map a piece of physical memory suitable for DMA transfers. 131 131 * 132 * Caller of this function must have the CAP_MEM_MANAGER capability.132 * Caller of this function must have the PERM_MEM_MANAGER permission. 133 133 * 134 134 * @param size Number of bytes to map. … … 143 143 * 144 144 * @return EOK on success. 145 * @return EPERM if the caller lacks the CAP_MEM_MANAGER capability.145 * @return EPERM if the caller lacks the PERM_MEM_MANAGER permission. 146 146 * @return ENOMEM if there was some problem in creating 147 147 * the address space area. … … 171 171 /** Enable I/O space range to task. 172 172 * 173 * Caller of this function must have the IO_MEM_MANAGER capability.173 * Caller of this function must have the PERM_IO_MANAGER permission. 174 174 * 175 175 * @param id Task ID. … … 178 178 * 179 179 * @return EOK on success 180 * @return EPERM if the caller lacks the CAP_IO_MANAGER capability180 * @return EPERM if the caller lacks the PERM_IO_MANAGER permission 181 181 * @return ENOENT if there is no task with specified ID 182 182 * @return ENOMEM if there was some problem in allocating memory. … … 196 196 /** Disable I/O space range to task. 197 197 * 198 * Caller of this function must have the IO_MEM_MANAGER capability.198 * Caller of this function must have the PERM_IO_MANAGER permission. 199 199 * 200 200 * @param id Task ID. … … 203 203 * 204 204 * @return EOK on success 205 * @return EPERM if the caller lacks the CAP_IO_MANAGER capability205 * @return EPERM if the caller lacks the PERM_IO_MANAGER permission 206 206 * @return ENOENT if there is no task with specified ID 207 207 *
Note:
See TracChangeset
for help on using the changeset viewer.