source: rtems/c/src/lib/libbsp/arm/realview-pbx-a9/include/bsp.h @ f619250

4.115
Last change on this file since f619250 was c8312b3, checked in by Sebastian Huber <sebastian.huber@…>, on 06/23/13 at 12:39:47

bsps/arm: Add PL111 support

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 * Copyright (c) 2013 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.com/license/LICENSE.
13 */
14
15#ifndef LIBBSP_ARM_REALVIEW_PBX_A9_BSP_H
16#define LIBBSP_ARM_REALVIEW_PBX_A9_BSP_H
17
18#include <bspopts.h>
19
20#define BSP_FEATURE_IRQ_EXTENSION
21
22#define BSP_HAS_FRAME_BUFFER 1
23
24#ifndef ASM
25
26#include <rtems.h>
27#include <rtems/console.h>
28#include <rtems/clockdrv.h>
29
30#include <bsp/default-initial-extension.h>
31
32#ifdef __cplusplus
33extern "C" {
34#endif /* __cplusplus */
35
36#define BSP_ARM_A9MPCORE_SCU_BASE 0x1f000000
37
38#define BSP_ARM_GIC_CPUIF_BASE 0x1f000100
39
40#define BSP_ARM_A9MPCORE_PT_BASE 0x1f000600
41
42#define BSP_ARM_GIC_DIST_BASE 0x1f001000
43
44typedef enum {
45  BSP_ARM_A9MPCORE_FATAL_CLOCK_IRQ_INSTALL,
46  BSP_ARM_A9MPCORE_FATAL_CLOCK_IRQ_REMOVE,
47  BSP_ARM_PL111_FATAL_REGISTER_DEV,
48  BSP_ARM_PL111_FATAL_SEM_CREATE,
49  BSP_ARM_PL111_FATAL_SEM_RELEASE
50} rvpbxa9_fatal_code;
51
52void rvpbxa9_fatal(rvpbxa9_fatal_code code) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
53
54#ifdef __cplusplus
55}
56#endif /* __cplusplus */
57
58#endif /* ASM */
59
60#endif /* LIBBSP_ARM_REALVIEW_PBX_A9_BSP_H */
Note: See TracBrowser for help on using the repository browser.