Changeset 09d01f2 in mainline for kernel/generic/src/ipc/irq.c
- Timestamp:
- 2017-12-18T17:40:52Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2024096, 23d45152
- Parents:
- 6a32cc5f
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-18 15:39:01)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-18 17:40:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/irq.c
r6a32cc5f r09d01f2 330 330 * Allocate and populate the IRQ kernel object. 331 331 */ 332 cap_handle_t handle = cap_alloc(TASK); 333 if (handle < 0) 334 return handle; 335 336 int rc = copy_to_uspace(uspace_handle, &handle, sizeof(cap_handle_t)); 332 cap_handle_t handle; 333 int rc = cap_alloc(TASK, &handle); 334 if (rc != EOK) 335 return rc; 336 337 rc = copy_to_uspace(uspace_handle, &handle, sizeof(cap_handle_t)); 337 338 if (rc != EOK) { 338 339 cap_free(TASK, handle);
Note:
See TracChangeset
for help on using the changeset viewer.