Changeset 27d293a in mainline for uspace/lib/libc/generic/time.c
- Timestamp:
- 2007-12-31T16:46:43Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 215e375
- Parents:
- 3115355
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/time.c
r3115355 r27d293a 136 136 void *mapping; 137 137 sysarg_t s1, s2; 138 sysarg_t rights;138 int rights; 139 139 int res; 140 140 … … 142 142 mapping = as_get_mappable_page(PAGE_SIZE); 143 143 /* Get the mapping of kernel clock */ 144 res = ipc_call_sync_3_2(PHONE_NS, IPC_M_AS_AREA_RECV, 145 (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_REALTIME, NULL, 146 &rights); 144 res = ipc_share_in_send_1_1(PHONE_NS, mapping, PAGE_SIZE, 145 SERVICE_MEM_REALTIME, &rights); 147 146 if (res) { 148 147 printf("Failed to initialize timeofday memarea\n");
Note:
See TracChangeset
for help on using the changeset viewer.