Changeset e1e4192 in mainline for uspace/app/tester/hw/misc/virtchar1.c
- Timestamp:
- 2012-06-03T20:45:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 90478727
- Parents:
- f7e69f5 (diff), 3123d2a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/hw/misc/virtchar1.c
rf7e69f5 re1e4192 48 48 #include "../../tester.h" 49 49 50 #define DEVICE_PATH_NORMAL "/loc/devices/\\virt\\null\\a" 51 #define BUFFER_SIZE 64 50 #define DEVICE_PATH_NORMAL "/loc/devices/\\virt\\null\\a" 51 52 #define BUFFER_SIZE 64 52 53 53 54 static const char *test_virtchar1_internal(const char *path) … … 65 66 66 67 TPRINTF(" ...file handle %d\n", fd); 67 68 68 69 TPRINTF(" Asking for session...\n"); 69 70 async_sess_t *sess = fd_session(EXCHANGE_SERIALIZE, fd); … … 96 97 97 98 const char *test_virtchar1(void) 98 {; 99 const char *res; 100 101 res = test_virtchar1_internal(DEVICE_PATH_NORMAL); 102 if (res != NULL) { 99 { 100 const char *res = test_virtchar1_internal(DEVICE_PATH_NORMAL); 101 if (res != NULL) 103 102 return res; 104 } 105 103 106 104 return NULL; 107 105 }
Note:
See TracChangeset
for help on using the changeset viewer.