source: rtems/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h @ bd39add

4.11
Last change on this file since bd39add was bd39add, checked in by Sebastian Huber <sebastian.huber@…>, on May 31, 2013 at 8:08:43 AM

bsp/qoriq: Add SMP support

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup QorIQ
5 *
6 * @brief BSP API.
7 */
8
9/*
10 * Copyright (c) 2010-2013 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Dornierstr. 4
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 */
22
23#ifndef LIBBSP_POWERPC_QORIQ_BSP_H
24#define LIBBSP_POWERPC_QORIQ_BSP_H
25
26#include <bspopts.h>
27
28#ifndef ASM
29
30#include <rtems.h>
31
32#include <bsp/default-initial-extension.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif /* __cplusplus */
37
38#define BSP_FEATURE_IRQ_EXTENSION
39
40extern unsigned BSP_bus_frequency;
41
42struct rtems_bsdnet_ifconfig;
43
44int BSP_tsec_attach(
45  struct rtems_bsdnet_ifconfig *config,
46  int attaching
47);
48
49int qoriq_if_intercom_attach_detach(
50  struct rtems_bsdnet_ifconfig *config,
51  int attaching
52);
53
54#define RTEMS_BSP_NETWORK_DRIVER_ATTACH BSP_tsec_attach
55#define RTEMS_BSP_NETWORK_DRIVER_ATTACH4 qoriq_if_intercom_attach_detach
56
57#define RTEMS_BSP_NETWORK_DRIVER_NAME "tsec1"
58#define RTEMS_BSP_NETWORK_DRIVER_NAME2 "tsec2"
59#define RTEMS_BSP_NETWORK_DRIVER_NAME3 "tsec3"
60#define RTEMS_BSP_NETWORK_DRIVER_NAME4 "intercom1"
61
62void qoriq_secondary_cpu_initialize(void);
63
64#ifdef __cplusplus
65}
66#endif /* __cplusplus */
67
68#endif /* ASM */
69
70#endif /* LIBBSP_POWERPC_QORIQ_BSP_H */
Note: See TracBrowser for help on using the repository browser.