[XTENSA] Add .literal sections for various init sectiont to linker script
[safe/jmp/linux-2.6] / arch / xtensa / platforms / iss / io.c
1 /* This file isn't really needed right now. */
2
3 #if 0
4
5 #include <asm/io.h>
6 #include <xtensa/simcall.h>
7
8 extern int __simc ();
9
10
11 char iss_serial_getc()
12 {
13   char c;
14   __simc( SYS_read, 0, &c, 1 );
15   return c;
16 }
17
18 void iss_serial_putc( char c )
19 {
20   __simc( SYS_write, 1, &c, 1 );
21 }
22
23 void iss_serial_puts( char *s )
24 {
25   if( s != 0 && *s != 0 )
26     __simc( SYS_write, 1, s, strlen(s) );
27 }
28
29 /*#error Need I/O ports to specific hardware!*/
30
31 #endif
32