Changeset 4a68194 in mainline
- Timestamp:
- 2009-06-04T18:06:29Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- abc4982
- Parents:
- 3bf907a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
r3bf907a r4a68194 712 712 static bool console_init(void) 713 713 { 714 async_serialize_start(); 715 714 716 /* Connect to keyboard driver */ 715 716 717 kbd_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_KEYBOARD, 0, 0); 717 718 if (kbd_phone < 0) { 718 719 printf(NAME ": Failed to connect to keyboard service\n"); 720 async_serialize_end(); 719 721 return false; 720 722 } … … 723 725 if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { 724 726 printf(NAME ": Failed to create callback from keyboard service\n"); 727 async_serialize_end(); 725 728 return false; 726 729 } … … 733 736 if (fb_info.phone < 0) { 734 737 printf(NAME ": Failed to connect to video service\n"); 738 async_serialize_end(); 735 739 return -1; 736 740 } … … 740 744 if (rc < 0) { 741 745 printf(NAME ": Unable to register driver (%d)\n", rc); 746 async_serialize_end(); 742 747 return false; 743 748 } … … 775 780 fb_info.cols, fb_info.rows) == NULL) { 776 781 printf(NAME ": Unable to allocate screen buffer %u\n", i); 782 async_serialize_end(); 777 783 return false; 778 784 } … … 788 794 devmap_hangup_phone(DEVMAP_DRIVER); 789 795 printf(NAME ": Unable to register device %s\n", vc); 796 async_serialize_end(); 790 797 return false; 791 798 } … … 809 816 async_set_interrupt_received(interrupt_received); 810 817 818 async_serialize_end(); 811 819 return true; 812 820 }
Note:
See TracChangeset
for help on using the changeset viewer.