Changeset 2c577e0b in mainline for uspace/lib/c/generic/ipc/ns.c
- Timestamp:
- 2011-01-29T11:29:35Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64d2b10
- Parents:
- 9c81703
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ipc/ns.c
r9c81703 r2c577e0b 79 79 } 80 80 81 void *service_realtime_share_in(void) 82 { 83 void *rtime = as_get_mappable_page(PAGE_SIZE); 84 if (rtime == NULL) 85 return NULL; 86 87 int res = async_share_in_start_1_0(PHONE_NS, rtime, PAGE_SIZE, 88 SERVICE_MEM_REALTIME); 89 if (res != EOK) { 90 as_area_destroy((void *) rtime); 91 return NULL; 92 } 93 94 return rtime; 95 } 96 81 97 /** @} 82 98 */
Note:
See TracChangeset
for help on using the changeset viewer.