OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [or32/] [impure-init.c] - Blame information for rev 540

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 540 jeremybenn
/* impure-init.c. Initialization of re-entrancy data structure.
2
 
3
   Copyright (C) 2011, Embecosm Limited <info@embecosm.com>
4
 
5
   Contributor Jeremy Bennett <jeremy.bennett@embecosm.com>
6
 
7
   This file is part of Newlib.
8
 
9
   The original work by Jacob Bower is provided as-is without any kind of
10
   warranty. Use it at your own risk!
11
 
12
   All subsequent work is bound by version 3 of the GPL as follows.
13
 
14
   This program is free software; you can redistribute it and/or modify it
15
   under the terms of the GNU General Public License as published by the Free
16
   Software Foundation; either version 3 of the License, or (at your option)
17
   any later version.
18
 
19
   This program is distributed in the hope that it will be useful, but WITHOUT
20
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
22
   more details.
23
 
24
   You should have received a copy of the GNU General Public License along
25
   with this program.  If not, see <http:#www.gnu.org/licenses/>.             */
26
/* -------------------------------------------------------------------------- */
27
/* This program is commented throughout in a fashion suitable for processing
28
   with Doxygen.                                                              */
29
/* -------------------------------------------------------------------------- */
30
 
31
 
32
#include <reent.h>
33
 
34
/* Link in the external impure_data structure */
35
extern struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr;
36
 
37
void
38
__impure_init ()
39
{
40
  _REENT_INIT_PTR (_impure_ptr);
41
 
42
}       /* __impure_init () */

powered by: WebSVN 2.1.0

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