Changeset 3f695aad in mainline
- Timestamp:
- 2006-05-31T14:14:32Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc42b28
- Parents:
- 1029d3d3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/time.c
r1029d3d3 r3f695aad 62 62 void *mapping; 63 63 sysarg_t s1, s2; 64 sysarg_t t1;64 sysarg_t rights; 65 65 int res; 66 66 … … 71 71 TMAREA, 72 72 PAGE_SIZE, 73 AS_AREA_READ | AS_AREA_CACHEABLE,74 &t1,&t1,&t1);73 0, 74 NULL,&rights,NULL); 75 75 if (res) { 76 76 printf("Failed to initialize timeofday memarea\n"); 77 _exit(1); 78 } 79 if (rights != (AS_AREA_READ | AS_AREA_CACHEABLE)) { 80 printf("Received bad rights on time area: %X\n", 81 rights); 82 as_area_destroy(TMAREA); 77 83 _exit(1); 78 84 } -
ns/ns.c
r1029d3d3 r3f695aad 82 82 void *ph_addr; 83 83 84 if (IPC_GET_ARG3(*call) != (AS_AREA_READ | AS_AREA_CACHEABLE)) {85 ipc_answer_fast(callid, EPERM, 0, 0);86 return;87 }88 84 if (!addr) { 89 85 ph_addr = (void *)sysinfo_value("clock.faddr"); … … 96 92 AS_AREA_READ | AS_AREA_CACHEABLE); 97 93 } 98 ipc_answer_fast(callid, 0, (ipcarg_t)addr, 0);94 ipc_answer_fast(callid, 0, (ipcarg_t)addr, AS_AREA_READ | AS_AREA_CACHEABLE); 99 95 } 100 96
Note:
See TracChangeset
for help on using the changeset viewer.