Changeset 2057572 in mainline for uspace/libc/generic/time.c
- Timestamp:
- 2007-03-27T23:40:25Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 399ece9
- Parents:
- 8d37a06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/generic/time.c
r8d37a06 r2057572 73 73 74 74 if (!ktime) { 75 mapping = as_get_mappable_page(PAGE_SIZE, (int) 76 sysinfo_value("clock.fcolor")); 75 mapping = as_get_mappable_page(PAGE_SIZE); 77 76 /* Get the mapping of kernel clock */ 78 res = ipc_call_sync_3(PHONE_NS, IPC_M_AS_AREA_RECV, (sysarg_t)79 mapping, PAGE_SIZE, SERVICE_MEM_REALTIME, NULL, &rights,80 77 res = ipc_call_sync_3(PHONE_NS, IPC_M_AS_AREA_RECV, 78 (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_REALTIME, NULL, 79 &rights, NULL); 81 80 if (res) { 82 81 printf("Failed to initialize timeofday memarea\n");
Note:
See TracChangeset
for help on using the changeset viewer.