Changeset 1ffa73b in mainline for uspace/app
- Timestamp:
- 2011-01-10T16:33:08Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b207803
- Parents:
- 863d45e (diff), 6610565b (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. - Location:
- uspace/app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r863d45e r1ffa73b 273 273 mount_tmpfs(); 274 274 275 spawn("/srv/apic"); 276 spawn("/srv/i8259"); 275 277 spawn("/srv/fhc"); 276 278 spawn("/srv/obio"); -
uspace/app/tester/hw/misc/virtchar1.c
r863d45e r1ffa73b 40 40 #include <sys/types.h> 41 41 #include <async.h> 42 #include <device/char .h>42 #include <device/char_dev.h> 43 43 #include <str.h> 44 44 #include <vfs/vfs.h> 45 45 #include <sys/stat.h> 46 46 #include <fcntl.h> 47 #include <device/char.h>48 47 #include "../../tester.h" 49 48 … … 79 78 size_t i; 80 79 char buffer[BUFFER_SIZE]; 81 read_dev(phone, buffer, BUFFER_SIZE);80 char_dev_read(phone, buffer, BUFFER_SIZE); 82 81 TPRINTF(" ...verifying that we read zeroes only...\n"); 83 82 for (i = 0; i < BUFFER_SIZE; i++) { -
uspace/app/tester/hw/serial/serial1.c
r863d45e r1ffa73b 45 45 #include <ipc/devman.h> 46 46 #include <devman.h> 47 #include <device/char .h>47 #include <device/char_dev.h> 48 48 #include <str.h> 49 49 #include <ipc/serial_ctl.h> … … 121 121 size_t total = 0; 122 122 while (total < cnt) { 123 ssize_t read = read_dev(phone, buf, cnt - total);123 ssize_t read = char_dev_read(phone, buf, cnt - total); 124 124 125 125 if (read < 0) { … … 152 152 * direction of data transfer. 153 153 */ 154 ssize_t written = write_dev(phone, buf, read);154 ssize_t written = char_dev_write(phone, buf, read); 155 155 156 156 if (written < 0) { … … 181 181 182 182 size_t eot_size = str_size(EOT); 183 ssize_t written = write_dev(phone, (void *) EOT, eot_size);183 ssize_t written = char_dev_write(phone, (void *) EOT, eot_size); 184 184 185 185 ipc_call_sync_4_0(phone, SERIAL_SET_COM_PROPS, old_baud,
Note:
See TracChangeset
for help on using the changeset viewer.