source: rtems/c/src/lib/libbsp/unix/posix/include/bsp.h @ d34d8692

4.104.114.95
Last change on this file since d34d8692 was d34d8692, checked in by Joel Sherrill <joel.sherrill@…>, on 12/04/07 at 22:22:26

2007-12-04 Joel Sherrill <joel.sherrill@…>

  • include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all POSIX BSP definitions.
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#ifndef _BSP_H
16#define _BSP_H
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include <bspopts.h>
23
24#include <rtems.h>
25#include <rtems/clockdrv.h>
26#include <rtems/console.h>
27#include <rtems/iosupp.h>
28
29#define RAM_START 0
30#define RAM_END   0x100000
31
32/* miscellaneous stuff assumed to exist */
33
34extern rtems_configuration_table BSP_Configuration;
35
36/*
37 *  Device Driver Table Entries
38 */
39
40/*
41 * NOTE: Use the standard Console driver entry
42 */
43
44/*
45 * NOTE: Use the standard Clock driver entry
46 */
47
48/* functions */
49
50rtems_isr_entry set_vector(rtems_isr_entry, rtems_vector_number, int);
51void bsp_start( void );
52void bsp_cleanup( void );
53
54/* miscellaneous stuff assumed to exist */
55
56extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
57extern int                       rtems_argc;
58extern char                    **rtems_argv;
59
60extern uint32_t                  bsp_isr_level;
61
62extern char *rtems_progname;    /* UNIX executable name */
63
64extern int cpu_number;
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif
Note: See TracBrowser for help on using the repository browser.