RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
powerpc
virtex
include
bsp.h
Go to the documentation of this file.
1
8
9
/* bsp.h
10
*
11
* This include file contains all GEN405 board IO definitions.
12
*
13
* derived from helas403/include/bsp.h:
14
* Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
15
* Author: Thomas Doerfler <td@imd.m.isar.de>
16
* IMD Ingenieurbuero fuer Microcomputertechnik
17
*
18
* Copyright (c) 1998 IMD Ingenieurbuero fuer Microcomputertechnik
19
*
20
* Changes from IMD are covered by the original distributions terms.
21
* This file has been derived from the papyrus BSP.
22
*
23
* Author: Andrew Bray <andy@i-cubed.co.uk>
24
*
25
* COPYRIGHT (c) 1995 by i-cubed ltd.
26
*
27
* To anyone who acknowledges that this file is provided "AS IS"
28
* without any express or implied warranty:
29
* permission to use, copy, modify, and distribute this file
30
* for any purpose is hereby granted without fee, provided that
31
* the above copyright notice and this notice appears in all
32
* copies, and that the name of i-cubed limited not be used in
33
* advertising or publicity pertaining to distribution of the
34
* software without specific, written prior permission.
35
* i-cubed limited makes no representations about the suitability
36
* of this software for any purpose.
37
*
38
* Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
39
*
40
* COPYRIGHT (c) 1989-1999.
41
* On-Line Applications Research Corporation (OAR).
42
*
43
* The license and distribution terms for this file may be
44
* found in the file LICENSE in this distribution or at
45
* http://www.rtems.org/license/LICENSE.
46
*
47
*/
48
49
#ifndef LIBBSP_POWERPC_VIRTEX_BSP_H
50
#define LIBBSP_POWERPC_VIRTEX_BSP_H
51
61
62
#include <bspopts.h>
63
64
#ifdef ASM
65
/* Definition of where to store registers in alignment handler */
66
#define ALIGN_REGS 0x0140
67
68
#else
69
#include <
rtems.h
>
70
#include <bsp/irq.h>
71
#include <
bsp/vectors.h
>
72
#include <
bsp/default-initial-extension.h
>
73
74
#ifdef __cplusplus
75
extern
"C"
{
76
#endif
77
78
#define BSP_FEATURE_IRQ_EXTENSION
79
80
/* Network Defines */
81
#if 1
/* EB/doe changes */
82
#define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
83
#else
84
#include "xiltemac.h"
85
#define RTEMS_BSP_NETWORK_DRIVER_NAME XILTEMAC_DRIVER_PREFIX
86
#endif
87
struct
rtems_bsdnet_ifconfig;
88
extern
int
xilTemac_driver_attach(
struct
rtems_bsdnet_ifconfig*,
int
);
89
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH xilTemac_driver_attach
90
91
#ifdef __cplusplus
92
}
93
#endif
94
95
#endif
/* ASM */
96
98
99
#endif
vectors.h
PowerPC Exceptions API.
default-initial-extension.h
This header file provides the default definition of BSP_INITIAL_EXTENSION.
rtems.h
This header file defines the RTEMS Classic API.
Generated by
1.18.0