OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [machine/] [spu/] [putchar.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <stdio.h>
2
 
3
#include "c99ppe.h"
4
 
5
#undef putchar
6
 
7
#ifndef _REENT_ONLY
8
 
9
int
10
putchar (c)
11
     int c;
12
{
13
  CHECK_STD_INIT(_REENT);
14
 
15
  /* c gets overwritten before return */
16
 
17
  return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTCHAR, &c);
18
}
19
 
20
#endif /* ! _REENT_ONLY */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.