source: rtems/c/src/lib/libbsp/arm/altera-cyclone-v/include/bsp.h @ 77c0135

5
Last change on this file since 77c0135 was 77c0135, checked in by Joel Sherrill <joel@…>, on 03/25/16 at 15:44:23

arm/altera-cyclone-v/include/bsp.h: Do not include <rtems/clockdrv.h>

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 * Copyright (c) 2013-2014 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <info@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef LIBBSP_ARM_ALTERA_CYCLONE_V_BSP_H
16#define LIBBSP_ARM_ALTERA_CYCLONE_V_BSP_H
17
18#include <bspopts.h>
19
20#define BSP_FEATURE_IRQ_EXTENSION
21
22#ifndef ASM
23
24#include <rtems.h>
25#include <rtems/console.h>
26
27#include <bsp/default-initial-extension.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif /* __cplusplus */
32
33#define BSP_ARM_A9MPCORE_SCU_BASE 0xFFFEC000
34
35#define BSP_ARM_GIC_CPUIF_BASE ( BSP_ARM_A9MPCORE_SCU_BASE + 0x00000100 )
36
37#define BSP_ARM_A9MPCORE_GT_BASE ( BSP_ARM_A9MPCORE_SCU_BASE + 0x00000200 )
38
39#define BSP_ARM_GIC_DIST_BASE ( BSP_ARM_A9MPCORE_SCU_BASE + 0x00001000 )
40
41#define BSP_ARM_L2C_310_BASE 0xfffef000
42
43#define BSP_ARM_L2C_310_ID 0x410000c9
44
45/* Forward declaration */
46struct rtems_bsdnet_ifconfig;
47
48/** @brief Network interface attach detach
49 *
50 * Attaches a network interface tp the network stack.
51 * NOTE: Detaching is not supported!
52 */
53int altera_cyclone_v_network_if_attach_detach(
54  struct rtems_bsdnet_ifconfig *config,
55  int                           attaching );
56
57#define RTEMS_BSP_NETWORK_DRIVER_ATTACH altera_cyclone_v_network_if_attach_detach
58#define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
59
60#ifdef __cplusplus
61}
62#endif /* __cplusplus */
63
64#endif /* ASM */
65
66#endif /* LIBBSP_ARM_ALTERA_CYCLONE_V_BSP_H */
Note: See TracBrowser for help on using the repository browser.