added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / arch / xtensa / platforms / iss / io.c
blob571d0b24f8954beedf5ff18dc68765a6e398946f
1 /* This file isn't really needed right now. */
3 #if 0
5 #include <asm/io.h>
6 #include <platform/platform-iss/simcall.h>
8 extern int __simc ();
11 char iss_serial_getc()
13 char c;
14 __simc( SYS_read, 0, &c, 1 );
15 return c;
18 void iss_serial_putc( char c )
20 __simc( SYS_write, 1, &c, 1 );
23 void iss_serial_puts( char *s )
25 if( s != 0 && *s != 0 )
26 __simc( SYS_write, 1, s, strlen(s) );
29 /*#error Need I/O ports to specific hardware!*/
31 #endif