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

4.104.114.84.95
Last change on this file since e8c785c6 was e8c785c6, checked in by Jay Monkman <jtm@…>, on Mar 11, 2005 at 7:27:56 AM

2005-03-11 Philippe Simons <loki_666@…>

  • acinclude.m4: Added gp32 BSP.
  • gp32/.cvsignore, gp32/Makefile.am, gp32/README, gp32/bsp_specs, gp32/configure.ac, gp32/console/.cvsignore, gp32/console/conio.c, gp32/console/console.c, gp32/console/defaultfont.c, gp32/include/.cvsignore, gp32/include/bsp.h, gp32/include/conio.h, gp32/include/tm27.h, gp32/start/.cvsignore, gp32/start/start.S, gp32/startup/.cvsignore, gp32/startup/bspstart.c, gp32/startup/exit.c, gp32/startup/linkcmds, gp32/startup/memmap.c: New files.
  • 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.