- Timestamp:
- 2010-01-23T20:20:54Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e095644
- Parents:
- 9d3133d (diff), bc310a05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace
- Files:
-
- 4 added
- 4 edited
-
Makefile (modified) (2 diffs)
-
app/init/init.c (modified) (3 diffs)
-
app/taskdump/Makefile (added)
-
app/taskdump/taskdump.c (added)
-
lib/libc/generic/udebug.c (modified) (1 diff)
-
lib/libc/include/udebug.h (modified) (1 diff)
-
srv/taskmon/Makefile (added)
-
srv/taskmon/taskmon.c (added)
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
r9d3133d rfea0ce6 40 40 app/mkfat \ 41 41 app/redir \ 42 app/taskdump \ 42 43 app/tester \ 43 44 app/tetris \ … … 47 48 srv/loader \ 48 49 srv/ns \ 50 srv/taskmon \ 49 51 srv/vfs \ 50 52 srv/bd/ata_bd \ -
uspace/app/init/init.c
r9d3133d rfea0ce6 233 233 } 234 234 235 static void mount_scratch(void) 236 { 237 int rc; 238 239 printf("Trying to mount null/0 on /scratch... "); 240 fflush(stdout); 241 242 rc = mount("tmpfs", "/scratch", "null/0", "", 0); 243 if (rc == EOK) 244 printf("OK\n"); 245 else 246 printf("Failed\n"); 247 } 248 235 249 static void mount_data(void) 236 250 { … … 255 269 return -1; 256 270 } 271 272 /* Make sure tmpfs is running. */ 273 if (str_cmp(STRING(RDFMT), "tmpfs") != 0) { 274 spawn("/srv/tmpfs"); 275 } 257 276 258 277 spawn("/srv/devfs"); 278 spawn("/srv/taskmon"); 259 279 260 280 if (!mount_devfs()) { … … 262 282 return -2; 263 283 } 284 285 mount_scratch(); 264 286 265 287 spawn("/srv/fhc"); -
uspace/lib/libc/generic/udebug.c
r9d3133d rfea0ce6 69 69 } 70 70 71 int udebug_areas_read(int phoneid, void *buffer, size_t n, 72 size_t *copied, size_t *needed) 73 { 74 ipcarg_t a_copied, a_needed; 75 int rc; 76 77 rc = async_req_3_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_AREAS_READ, 78 (sysarg_t)buffer, n, NULL, &a_copied, &a_needed); 79 80 *copied = (size_t)a_copied; 81 *needed = (size_t)a_needed; 82 83 return rc; 84 } 85 86 71 87 int udebug_mem_read(int phoneid, void *buffer, uintptr_t addr, size_t n) 72 88 { -
uspace/lib/libc/include/udebug.h
r9d3133d rfea0ce6 47 47 int udebug_thread_read(int phoneid, void *buffer, size_t n, 48 48 size_t *copied, size_t *needed); 49 int udebug_areas_read(int phoneid, void *buffer, size_t n, 50 size_t *copied, size_t *needed); 49 51 int udebug_mem_read(int phoneid, void *buffer, uintptr_t addr, size_t n); 50 52 int udebug_args_read(int phoneid, thash_t tid, sysarg_t *buffer);
Note:
See TracChangeset
for help on using the changeset viewer.
