1 |
786 |
skrzyp |
#ifndef CYGONCE_PPC_FADS_H
|
2 |
|
|
#define CYGONCE_PPC_FADS_H
|
3 |
|
|
|
4 |
|
|
//=============================================================================
|
5 |
|
|
//####UNSUPPORTEDBEGIN####
|
6 |
|
|
//
|
7 |
|
|
// -------------------------------------------
|
8 |
|
|
// This source file has been contributed to eCos/Red Hat. It may have been
|
9 |
|
|
// changed slightly to provide an interface consistent with those of other
|
10 |
|
|
// files.
|
11 |
|
|
//
|
12 |
|
|
// The functionality and contents of this file is supplied "AS IS"
|
13 |
|
|
// without any form of support and will not necessarily be kept up
|
14 |
|
|
// to date by Red Hat.
|
15 |
|
|
//
|
16 |
|
|
// The style of programming used in this file may not comply with the
|
17 |
|
|
// eCos programming guidelines. Please do not use as a base for other
|
18 |
|
|
// files.
|
19 |
|
|
//
|
20 |
|
|
// All inquiries about this file, or the functionality provided by it,
|
21 |
|
|
// should be directed to the 'ecos-discuss' mailing list (see
|
22 |
|
|
// http://ecos.sourceware.org/ecos/intouch.html for details).
|
23 |
|
|
//
|
24 |
|
|
// Contributed by: Kevin Hester <khester@opticworks.com>
|
25 |
|
|
// Maintained by: <Unmaintained>
|
26 |
|
|
// -------------------------------------------
|
27 |
|
|
//
|
28 |
|
|
//####UNSUPPORTEDEND####
|
29 |
|
|
//=============================================================================
|
30 |
|
|
// ####ECOSGPLCOPYRIGHTBEGIN####
|
31 |
|
|
// -------------------------------------------
|
32 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
33 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
34 |
|
|
//
|
35 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
36 |
|
|
// the terms of the GNU General Public License as published by the Free
|
37 |
|
|
// Software Foundation; either version 2 or (at your option) any later
|
38 |
|
|
// version.
|
39 |
|
|
//
|
40 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT
|
41 |
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
42 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
43 |
|
|
// for more details.
|
44 |
|
|
//
|
45 |
|
|
// You should have received a copy of the GNU General Public License
|
46 |
|
|
// along with eCos; if not, write to the Free Software Foundation, Inc.,
|
47 |
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
48 |
|
|
//
|
49 |
|
|
// As a special exception, if other files instantiate templates or use
|
50 |
|
|
// macros or inline functions from this file, or you compile this file
|
51 |
|
|
// and link it with other works to produce a work based on this file,
|
52 |
|
|
// this file does not by itself cause the resulting work to be covered by
|
53 |
|
|
// the GNU General Public License. However the source code for this file
|
54 |
|
|
// must still be made available in accordance with section (3) of the GNU
|
55 |
|
|
// General Public License v2.
|
56 |
|
|
//
|
57 |
|
|
// This exception does not invalidate any other reasons why a work based
|
58 |
|
|
// on this file might be covered by the GNU General Public License.
|
59 |
|
|
// -------------------------------------------
|
60 |
|
|
// ####ECOSGPLCOPYRIGHTEND####
|
61 |
|
|
//=============================================================================
|
62 |
|
|
|
63 |
|
|
// Board specific structures for the motorola FADS 860 evaluation board
|
64 |
|
|
// kevinh
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
/*-----------------------------------*/
|
69 |
|
|
/* Board Control and Status Register */
|
70 |
|
|
/*-----------------------------------*/
|
71 |
|
|
|
72 |
|
|
typedef struct bcsr
|
73 |
|
|
|
74 |
|
|
{
|
75 |
|
|
UWORD bcsr0;
|
76 |
|
|
UWORD bcsr1;
|
77 |
|
|
UWORD bcsr2;
|
78 |
|
|
UWORD bcsr3;
|
79 |
|
|
|
80 |
|
|
} BCSR;
|
81 |
|
|
|
82 |
|
|
#endif
|