URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 207 |
Rev 345 |
#include <stdio.h>
|
#include <stdio.h>
|
|
|
#include "c99ppe.h"
|
#include "c99ppe.h"
|
|
|
#undef putchar
|
#undef putchar
|
|
|
#ifndef _REENT_ONLY
|
#ifndef _REENT_ONLY
|
|
|
int
|
int
|
putchar (c)
|
putchar (c)
|
int c;
|
int c;
|
{
|
{
|
CHECK_STD_INIT(_REENT);
|
CHECK_STD_INIT(_REENT);
|
|
|
/* c gets overwritten before return */
|
/* c gets overwritten before return */
|
|
|
return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTCHAR, &c);
|
return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTCHAR, &c);
|
}
|
}
|
|
|
#endif /* ! _REENT_ONLY */
|
#endif /* ! _REENT_ONLY */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.