source: rtems/bsps/powerpc/haleakala/include/bsp.h @ c991eeec

5
Last change on this file since c991eeec was c991eeec, checked in by Sebastian Huber <sebastian.huber@…>, on 03/04/19 at 14:32:15

bsps: Adjust bsp.h Doxygen groups

Update #3706.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup RTEMSBSPsPowerPCHaleakala
5 *
6 * @brief Global BSP definitions.
7 */
8
9/*  bsp.h
10 *
11 *  Generic 405EX bsp.h
12 *  derived from virtex/include/bsp.h
13 *  by Michael Hamel ADInstruments Ltd 2008
14 *
15 * derived from helas403/include/bsp.h:
16 *  Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
17 *  Author:  Thomas Doerfler <td@imd.m.isar.de>
18 *              IMD Ingenieurbuero fuer Microcomputertechnik
19 *
20 *  COPYRIGHT (c) 1998 by IMD
21 *
22 *  Changes from IMD are covered by the original distributions terms.
23 *  This file has been derived from the papyrus BSP.
24 *
25 *  Author:  Andrew Bray <andy@i-cubed.co.uk>
26 *
27 *  COPYRIGHT (c) 1995 by i-cubed ltd.
28 *
29 *  To anyone who acknowledges that this file is provided "AS IS"
30 *  without any express or implied warranty:
31 *      permission to use, copy, modify, and distribute this file
32 *      for any purpose is hereby granted without fee, provided that
33 *      the above copyright notice and this notice appears in all
34 *      copies, and that the name of i-cubed limited not be used in
35 *      advertising or publicity pertaining to distribution of the
36 *      software without specific, written prior permission.
37 *      i-cubed limited makes no representations about the suitability
38 *      of this software for any purpose.
39 *
40 *  Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
41 *
42 *  COPYRIGHT (c) 1989-1999.
43 *  On-Line Applications Research Corporation (OAR).
44 *
45 *  The license and distribution terms for this file may be
46 *  found in the file LICENSE in this distribution or at
47 *  http://www.rtems.org/license/LICENSE.
48 *
49 *
50 *
51 */
52
53#ifndef LIBBSP_POWERPC_HALEAKALA_BSP_H
54#define LIBBSP_POWERPC_HALEAKALA_BSP_H
55
56/**
57 * @defgroup RTEMSBSPsPowerPCHaleakala Haleakala
58 *
59 * @ingroup RTEMSBSPsPowerPC
60 *
61 * @brief Haleakala Board Support Package.
62 *
63 * @{
64 */
65
66#include <bspopts.h>
67
68#ifdef ASM
69
70
71  /* Definition of where to store registers in alignment handler */
72  #define ALIGN_REGS 0x0140
73
74#else
75
76  #include <rtems.h>
77  #include <libcpu/io.h>
78  #include <bsp/irq.h>
79  #include <bsp/vectors.h>
80  #include <bsp/default-initial-extension.h>
81
82  #ifdef __cplusplus
83  extern "C" {
84  #endif
85
86  /* Network Defines */
87  #define RTEMS_BSP_NETWORK_DRIVER_NAME     "eth0"
88
89  struct rtems_bsdnet_ifconfig;
90  int rtems_emac_driver_attach(struct rtems_bsdnet_ifconfig* config, int attaching);
91  #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_emac_driver_attach
92
93  #define BSP_UART_IOBASE_COM1  0xEF600200    /* PPC405EX */
94  #define BSP_UART_IOBASE_COM2  0xEF600300
95
96  #define BSP_CONSOLE_PORT    BSP_UART_COM1    /* console */
97
98  #define BSP_UART_BAUD_BASE    (11059200 / 16)    /* Kilauea ext clock, max speed */
99
100  #ifdef __cplusplus
101  }
102  #endif
103#endif /* ASM */
104
105/** @} */
106
107#endif /* BSP_H */
Note: See TracBrowser for help on using the repository browser.