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

4.115
Last change on this file since 98239f3 was 98239f3, checked in by Chirayu Desai <cdesai@…>, on Dec 13, 2013 at 4:02:29 PM

arm: realview-pbx-a9: Add doxygen

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup arm_realview-pbx-a9
5 *
6 * @brief Global BSP definitions.
7 */
8
9/*
10 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Dornierstr. 4
14 *  82178 Puchheim
15 *  Germany
16 *  <info@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_ARM_REALVIEW_PBX_A9_BSP_H
24#define LIBBSP_ARM_REALVIEW_PBX_A9_BSP_H
25
26#include <bspopts.h>
27
28#define BSP_FEATURE_IRQ_EXTENSION
29
30#define BSP_HAS_FRAME_BUFFER 1
31
32#ifndef ASM
33
34#include <rtems.h>
35#include <rtems/console.h>
36#include <rtems/clockdrv.h>
37
38#include <bsp/default-initial-extension.h>
39
40#ifdef __cplusplus
41extern "C" {
42#endif /* __cplusplus */
43
44#define BSP_ARM_A9MPCORE_SCU_BASE 0x1f000000
45
46#define BSP_ARM_GIC_CPUIF_BASE 0x1f000100
47
48#define BSP_ARM_A9MPCORE_PT_BASE 0x1f000600
49
50#define BSP_ARM_GIC_DIST_BASE 0x1f001000
51
52typedef enum {
53  BSP_ARM_A9MPCORE_FATAL_CLOCK_IRQ_INSTALL,
54  BSP_ARM_A9MPCORE_FATAL_CLOCK_IRQ_REMOVE,
55  BSP_ARM_PL111_FATAL_REGISTER_DEV,
56  BSP_ARM_PL111_FATAL_SEM_CREATE,
57  BSP_ARM_PL111_FATAL_SEM_RELEASE
58} rvpbxa9_fatal_code;
59
60void rvpbxa9_fatal(rvpbxa9_fatal_code code) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
61
62#ifdef __cplusplus
63}
64#endif /* __cplusplus */
65
66#endif /* ASM */
67
68#endif /* LIBBSP_ARM_REALVIEW_PBX_A9_BSP_H */
69
70/**
71 * @defgroup arm_realview-pbx-a9 Realview PBX-A9
72 *
73 * @ingroup bsp_arm
74 *
75 * @brief Realview PBX-A9 support package
76 *
77 */
Note: See TracBrowser for help on using the repository browser.