Changeset a64c64d in mainline for uspace/srv/net/net/start/netstart.c
- Timestamp:
- 2010-03-09T22:24:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 74520daf
- Parents:
- 9f2ea28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/start/netstart.c
r9f2ea28 ra64c64d 76 76 int net_phone; 77 77 78 // print the module label 78 79 printf("Task %d - ", task_get_id()); 79 80 printf("%s\n", NAME); 81 80 82 // run self tests 81 83 ERROR_PROPAGATE(self_test()); 82 // start net service 84 85 // start the networking service 83 86 if(! spawn("/srv/net")){ 84 87 fprintf(stderr, "Could not spawn net\n"); 85 88 return EINVAL; 86 89 } 87 // start net 90 91 // start the networking 88 92 net_phone = connect_to_service(SERVICE_NETWORKING); 89 93 if(ERROR_OCCURRED(ipc_call_sync_0_0(net_phone, NET_NET_STARTUP))){
Note:
See TracChangeset
for help on using the changeset viewer.