Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1596 → Rev 1595

/uspace/trunk/libc/generic/time.c
34,7 → 34,6
#include <unistd.h>
#include <atomic.h>
#include <futex.h>
#include <ipc/services.h>
 
#include <sysinfo.h>
#include <as.h>
68,7 → 67,7
mapping = as_get_mappable_page(PAGE_SIZE);
/* Get the mapping of kernel clock */
res = ipc_call_sync_3(PHONE_NS, IPC_M_AS_AREA_RECV,
mapping, PAGE_SIZE, SERVICE_MEM_REALTIME,
mapping, PAGE_SIZE, 0,
NULL,&rights,NULL);
if (res) {
printf("Failed to initialize timeofday memarea\n");