Changeset 286 for trunk/softs/tsar_boot/boot_tty.c
- Timestamp:
- Jan 14, 2013, 4:39:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/boot_tty.c
r280 r286 7 7 in_reset int boot_getc(int *c) 8 8 { 9 10 if (ioread32( tty_address[TTY_STATUS]) == 0)9 unsigned int* tty_address = (unsigned int*) TTY_BASE; 10 if (ioread32(&tty_address[TTY_STATUS]) == 0) 11 11 return 0; 12 *c = ioread32(&tty_address[TTY_READ]); 12 13 *c = ioread32(&tty_address[TTY_READ]); 13 14 return 1; 14 15 }
Note: See TracChangeset
for help on using the changeset viewer.