linux/arch/xtensa/platforms/iss/io.c
Chris Zankel 367b8112fe xtensa: move headers files to arch/xtensa/include
Move all header files for xtensa to arch/xtensa/include and platform and
variant header files to the appropriate arch/xtensa/platforms/ and
arch/xtensa/variants/ directories.

Moving the files gets also rid of all uses of symlinks in the Makefile.

This has been completed already for the majority of the architectures
and xtensa is one out of six missing.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
2008-11-06 10:25:09 -08:00

32 lines
456 B
C

/* This file isn't really needed right now. */
#if 0
#include <asm/io.h>
#include <platform/platform-iss/simcall.h>
extern int __simc ();
char iss_serial_getc()
{
char c;
__simc( SYS_read, 0, &c, 1 );
return c;
}
void iss_serial_putc( char c )
{
__simc( SYS_write, 1, &c, 1 );
}
void iss_serial_puts( char *s )
{
if( s != 0 && *s != 0 )
__simc( SYS_write, 1, s, strlen(s) );
}
/*#error Need I/O ports to specific hardware!*/
#endif