diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-11 21:04:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-11 21:04:35 +0000 |
commit | cd67dcaf009326c46d67951976f87a6559ed7928 (patch) | |
tree | 96f9988bfe3f4c56ea79b00f2146f8c09c6be5d0 /c/src/lib/libbsp/sh/simsh4/startup/hw_init.c | |
parent | 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-cd67dcaf009326c46d67951976f87a6559ed7928.tar.bz2 |
2001-10-11 Alexandra Kossovsky <sasha@oktet.ru>
* clock/Makefile.am, clock/ckinit.c, clock/.cvsignore, Makefile.am,
README, bsp_specs, console/Makefile.am, console/console.c,
console/.cvsignore, include/Makefile.am, include/bsp.h,
include/coverhd.h, include/syscall.h, include/ramdisk.h,
include/.cvsignore, start/Makefile.am, start/start.S,
start/.cvsignore, startup/Makefile.am, startup/bspstart.c,
startup/hw_init.c, startup/linkcmds, startup/linkcmds-le,
startup/linkcmds-le.coff, startup/.cvsignore, timer/Makefile.am,
timer/timer.c, timer/.cvsignore, wrapup/Makefile.am, wrapup/.cvsignore,
configure.ac, .cvsignore, ChangeLog: New files.
Reviewed and updated to latest automake and autoconf standards
by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Diffstat (limited to 'c/src/lib/libbsp/sh/simsh4/startup/hw_init.c')
-rw-r--r-- | c/src/lib/libbsp/sh/simsh4/startup/hw_init.c | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sh/simsh4/startup/hw_init.c b/c/src/lib/libbsp/sh/simsh4/startup/hw_init.c new file mode 100644 index 0000000000..2d1b747ad9 --- /dev/null +++ b/c/src/lib/libbsp/sh/simsh4/startup/hw_init.c @@ -0,0 +1,57 @@ +/* + * hw_init.c - initialize hardware resources for simulator. + * Currently there are no models of hardware resources which should be + * initialized here; it is just a stub. + * + * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia + * Author: Victor V. Vengerov <vvv@oktet.ru> + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#include <bsp.h> + +#include <stdlib.h> + +#include <rtems/libio.h> +#include <iosupp.h> + +/* exported entries */ +extern void bsp_hw_init (void); +extern void early_hw_init (void); + +/* early_hw_init -- + * Hardware initialization called from 'start.S' on "#ifdef START_HW_INIT" + * + * ARGUMENTS: + * none + * + * RETURNS: + * none + */ +void +early_hw_init (void) +{ +}; + +/* bsp_hw_init -- + * Part of hardware initialization called from bspstart.c + * + * ARGUMENTS: + * none + * + * RETURNS: + * none + */ +void bsp_hw_init (void) +{ +} |