Changeset dc5c303 in mainline for uspace/srv/hid/console/console.c
- Timestamp:
- 2023-12-28T13:59:23Z (14 months ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (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. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
r42c2e65 rdc5c303 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * Copyright (c) 2011 Martin Decky 4 4 * All rights reserved. … … 37 37 #include <stdio.h> 38 38 #include <adt/prodcons.h> 39 #include <io/console.h> 39 40 #include <io/input.h> 40 41 #include <ipc/vfs.h> … … 88 89 con_srvs_t srvs; /**< Console service setup */ 89 90 } console_t; 91 92 static loc_srv_t *console_srv; 90 93 91 94 /** Input server proxy */ … … 902 905 /* Register server */ 903 906 async_set_fallback_port_handler(client_connection, NULL); 904 rc = loc_server_register(NAME );907 rc = loc_server_register(NAME, &console_srv); 905 908 if (rc != EOK) { 906 909 printf("%s: Unable to register server (%s)\n", NAME, … … 952 955 snprintf(vc, LOC_NAME_MAXLEN, "%s/vc%zu", NAMESPACE, i); 953 956 954 if (loc_service_register(vc, &consoles[i].dsid) != EOK) { 957 if (loc_service_register(console_srv, vc, 958 &consoles[i].dsid) != EOK) { 955 959 printf("%s: Unable to register device %s\n", NAME, vc); 956 960 return false;
Note:
See TracChangeset
for help on using the changeset viewer.