~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to ports/sysdeps/standalone/i386/force_cpu386/brdinit.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 1994, 1997, 2004 Free Software Foundation, Inc.
 
2
   This file is part of the GNU C Library.
 
3
   Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
 
4
     On-Line Applications Research Corporation.
 
5
 
 
6
   The GNU C Library is free software; you can redistribute it and/or
 
7
   modify it under the terms of the GNU Lesser General Public
 
8
   License as published by the Free Software Foundation; either
 
9
   version 2.1 of the License, or (at your option) any later version.
 
10
 
 
11
   The GNU C Library is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
   Lesser General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU Lesser General Public
 
17
   License along with the GNU C Library; if not, write to the Free
 
18
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 
19
   02111-1307 USA.  */
 
20
 
 
21
#include <standalone.h>
 
22
#include "i386.h"
 
23
 
 
24
/*  _Board_Initialize()
 
25
 
 
26
This routine initializes the FORCE CPU386 board.  */
 
27
 
 
28
void _Console_Initialize (void);
 
29
 
 
30
void
 
31
_Board_Initialize ()
 
32
{
 
33
  /*
 
34
   *  FORCE documentation incorrectly states that the bus request
 
35
   *  level is initialized to 3.  It is actually initialized by
 
36
   *  FORCEbug to 0.
 
37
   */
 
38
 
 
39
  outport_byte (0x00, 0x3f);      /* resets VMEbus request level */
 
40
 
 
41
  _Console_Initialize ();
 
42
}