source: rtems/c/src/lib/libbsp/arm/gp32/include/bsp.h @ 34c4852

4.104.114.84.95
Last change on this file since 34c4852 was 34c4852, checked in by Ralf Corsepius <ralf.corsepius@…>, on May 26, 2005 at 5:36:48 AM

2005-05-26 Ralf Corsepius <ralf.corsepius@…>

  • include/bsp.h: New header guard.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*-------------------------------------------------------------------------+
2| bsp.h - ARM BSP
3+--------------------------------------------------------------------------+
4| This include file contains definitions related to the ARM BSP.
5+--------------------------------------------------------------------------+
6|
7| Copyright (c) Canon Research France SA.]
8| Emmanuel Raguet, mailto:raguet@crf.canon.fr
9|
10|  The license and distribution terms for this file may be
11|  found in found in the file LICENSE in this distribution or at
12|  http://www.rtems.com/license/LICENSE.
13|
14|  $Id$
15+--------------------------------------------------------------------------*/
16
17
18#ifndef _BSP_H
19#define _BSP_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include <bspopts.h>
26
27#include <rtems.h>
28#include <rtems/iosupp.h>
29#include <rtems/console.h>
30#include <rtems/clockdrv.h>
31#include <s3c2400.h>
32
33extern rtems_configuration_table BSP_Configuration;
34
35void LCD_BREAK();
36
37/* What is the input clock freq in hertz? */
38#define BSP_OSC_FREQ  12000000    /* 12 MHz oscillator */
39#define M_MDIV 81
40#define M_PDIV 2
41#define M_SDIV 1
42
43/* How many serial ports? */
44#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
45
46/* How big should the interrupt stack be? */
47#define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* _BSP_H */
54/* end of include file */
55
Note: See TracBrowser for help on using the repository browser.