Changeset 73d8600 in mainline
- Timestamp:
 - 2016-12-27T13:29:31Z (9 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - bfa4ffa
 - Parents:
 - fd384d6
 - Location:
 - uspace
 - Files:
 - 
      
- 3 edited
 
- 
          
  app/init/init.c (modified) (3 diffs)
 - 
          
  srv/hid/input/input.c (modified) (1 diff)
 - 
          
  srv/hid/output/output.c (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/app/init/init.c
rfd384d6 r73d8600 49 49 #include <loc.h> 50 50 #include <str_error.h> 51 #include <config.h> 51 52 #include "init.h" 52 53 … … 306 307 int main(int argc, char *argv[]) 307 308 { 309 int rc; 310 308 311 info_print(); 309 312 … … 356 359 srv_start("/srv/hound"); 357 360 358 int rc = compositor(HID_INPUT, HID_COMPOSITOR_SERVER); 359 if (rc == EOK) { 360 gui_start("/app/barber", HID_COMPOSITOR_SERVER); 361 gui_start("/app/vlaunch", HID_COMPOSITOR_SERVER); 362 gui_start("/app/vterm", HID_COMPOSITOR_SERVER); 361 if (!config_key_exists("console")) { 362 rc = compositor(HID_INPUT, HID_COMPOSITOR_SERVER); 363 if (rc == EOK) { 364 gui_start("/app/barber", HID_COMPOSITOR_SERVER); 365 gui_start("/app/vlaunch", HID_COMPOSITOR_SERVER); 366 gui_start("/app/vterm", HID_COMPOSITOR_SERVER); 367 } 363 368 } 364 369  - 
      
uspace/srv/hid/input/input.c
rfd384d6 r73d8600 827 827 fibril_mutex_lock(&discovery_lock); 828 828 829 rc = dev_check_new_kbdevs(); 830 if (rc != EOK) { 831 fibril_mutex_unlock(&discovery_lock); 832 return rc; 833 } 834 835 rc = dev_check_new_mousedevs(); 836 if (rc != EOK) { 837 fibril_mutex_unlock(&discovery_lock); 838 return rc; 839 } 840 841 rc = dev_check_new_serialdevs(); 842 if (rc != EOK) { 843 fibril_mutex_unlock(&discovery_lock); 844 return rc; 829 if (!serial_console) { 830 rc = dev_check_new_kbdevs(); 831 if (rc != EOK) { 832 fibril_mutex_unlock(&discovery_lock); 833 return rc; 834 } 835 836 rc = dev_check_new_mousedevs(); 837 if (rc != EOK) { 838 fibril_mutex_unlock(&discovery_lock); 839 return rc; 840 } 841 } else { 842 rc = dev_check_new_serialdevs(); 843 if (rc != EOK) { 844 fibril_mutex_unlock(&discovery_lock); 845 return rc; 846 } 845 847 } 846 848  - 
      
uspace/srv/hid/output/output.c
rfd384d6 r73d8600 34 34 #include <task.h> 35 35 #include <ipc/output.h> 36 #include <config.h> 36 37 #include "port/ega.h" 37 38 #include "port/kchar.h" … … 476 477 } 477 478 478 ega_init(); 479 kchar_init(); 480 niagara_init(); 481 ski_init(); 482 chardev_init(); 479 if (!config_key_exists("console")) { 480 ega_init(); 481 kchar_init(); 482 niagara_init(); 483 ski_init(); 484 } else { 485 chardev_init(); 486 } 483 487 484 488 printf("%s: Accepting connections\n", NAME);  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  