4.104.115
Last change
on this file since 628d804 was
628d804,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/15/08 at 19:18:36
|
2008-09-15 Joel Sherrill <joel.sherrill@…>
- Makefile.am, configure.ac, include/bsp.h, startup/hw_init.c,
startup/linkcmds, startup/linkcmds-le, startup/linkcmds-le.coff: Use
shared bsp_get_work_area() in its own file and rely on BSP Framework
to perform more initialization. After factoring this out, it turned
out that all SuperH BSPs has the same bsp_start() implementation so
this was made shared.
- startup/bspstart.c: Removed.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * hw_init.c - initialize hardware resources for simulator. |
---|
3 | * Currently there are no models of hardware resources which should be |
---|
4 | * initialized here; it is just a stub. |
---|
5 | * |
---|
6 | * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia |
---|
7 | * Author: Victor V. Vengerov <vvv@oktet.ru> |
---|
8 | * |
---|
9 | * This program is distributed in the hope that it will be useful, |
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
12 | * |
---|
13 | * |
---|
14 | * The license and distribution terms for this file may be |
---|
15 | * found in the file LICENSE in this distribution or at |
---|
16 | * http://www.rtems.com/license/LICENSE. |
---|
17 | * |
---|
18 | * $Id$ |
---|
19 | */ |
---|
20 | |
---|
21 | #include <bsp.h> |
---|
22 | |
---|
23 | #include <stdlib.h> |
---|
24 | |
---|
25 | #include <rtems/libio.h> |
---|
26 | #include <rtems/iosupp.h> |
---|
27 | |
---|
28 | /* exported entries */ |
---|
29 | extern void bsp_hw_init (void); |
---|
30 | extern void early_hw_init (void); |
---|
31 | |
---|
32 | /* early_hw_init -- |
---|
33 | * Hardware initialization called from 'start.S' on "#ifdef START_HW_INIT" |
---|
34 | * |
---|
35 | * ARGUMENTS: |
---|
36 | * none |
---|
37 | * |
---|
38 | * RETURNS: |
---|
39 | * none |
---|
40 | */ |
---|
41 | void |
---|
42 | early_hw_init (void) |
---|
43 | { |
---|
44 | } |
---|
45 | |
---|
46 | /* bsp_hw_init -- |
---|
47 | * Part of hardware initialization called from bspstart.c |
---|
48 | * |
---|
49 | * ARGUMENTS: |
---|
50 | * none |
---|
51 | * |
---|
52 | * RETURNS: |
---|
53 | * none |
---|
54 | */ |
---|
55 | void bsp_hw_init (void) |
---|
56 | { |
---|
57 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.