Compare commits

..

1 Commits
4.7.2 ... 4.7.0

Author SHA1 Message Date
cvs2git
5728225e77 This commit was manufactured by cvs2svn to create tag 'rtems-4-7-0'.
Sprout from rtems-4-7-branch 2007-03-05 20:53:27 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2007-03-05	Joel Sherrill <joel@OARcorp.com>'
Delete:
    Makefile.maint
    contrib/apt-conf/.cvsignore
    contrib/apt-conf/COPYING
    contrib/apt-conf/ChangeLog
    contrib/apt-conf/INSTALL
    contrib/apt-conf/Makefile.am
    contrib/apt-conf/README
    contrib/apt-conf/configure.ac
    contrib/apt-conf/gpg/gpg-pubkey-eac29b6f-3fe1f458
    contrib/apt-conf/rtems-apt-conf.spec.in
    contrib/apt-conf/sources.list.d/rtems-4.6.list
    contrib/apt-conf/sources.list.d/rtems-4.7.list
    contrib/apt-conf/vendors.list.d/rtems.list
    contrib/crossrpms/.cvsignore
    contrib/crossrpms/AUTHORS
    contrib/crossrpms/COPYING
    contrib/crossrpms/ChangeLog
    contrib/crossrpms/Makefile.am
    contrib/crossrpms/NEWS
    contrib/crossrpms/README
    contrib/crossrpms/TODO
    contrib/crossrpms/acinclude.m4
    contrib/crossrpms/autotools/.cvsignore
    contrib/crossrpms/autotools/Makefile.am
    contrib/crossrpms/autotools/autoconf.add
    contrib/crossrpms/autotools/autoconf.am
    contrib/crossrpms/autotools/automake.add
    contrib/crossrpms/autotools/automake.am
    contrib/crossrpms/autotools/target-autoconf.add
    contrib/crossrpms/autotools/target-automake.add
    contrib/crossrpms/binutils/.cvsignore
    contrib/crossrpms/binutils/base-binutils.add
    contrib/crossrpms/binutils/binutils.add
    contrib/crossrpms/binutils/build.add
    contrib/crossrpms/binutils/install.add
    contrib/crossrpms/binutils/prep.add
    contrib/crossrpms/binutils/rpm-install.add
    contrib/crossrpms/binutils/target-binutils.add
    contrib/crossrpms/bootstrap
    contrib/crossrpms/common/clean.add
    contrib/crossrpms/common/common.add
    contrib/crossrpms/configure.ac
    contrib/crossrpms/gcc/base-g77.add
    contrib/crossrpms/gcc/base-gcc.add
    contrib/crossrpms/gcc/base-gcj.add
    contrib/crossrpms/gcc/base-gfortran.add
    contrib/crossrpms/gcc/base-gnat.add
    contrib/crossrpms/gcc/base-newlib.add
    contrib/crossrpms/gcc/build.add
    contrib/crossrpms/gcc/gccnewlib.add
    contrib/crossrpms/gcc/install.add
    contrib/crossrpms/gcc/prep.add
    contrib/crossrpms/gcc/rpm-install.add
    contrib/crossrpms/gcc/target-c++.add
    contrib/crossrpms/gcc/target-g77.add
    contrib/crossrpms/gcc/target-gcc.add
    contrib/crossrpms/gcc/target-gcj.add
    contrib/crossrpms/gcc/target-gfortran.add
    contrib/crossrpms/gcc/target-gnat.add
    contrib/crossrpms/gcc/target-newlib.add
    contrib/crossrpms/gcc/target-objc.add
    contrib/crossrpms/gdb/base-gdb.add
    contrib/crossrpms/gdb/build.add
    contrib/crossrpms/gdb/gdb.add
    contrib/crossrpms/gdb/install.add
    contrib/crossrpms/gdb/prep.add
    contrib/crossrpms/gdb/rpm-install.add
    contrib/crossrpms/gdb/target-gdb.add
    contrib/crossrpms/mkspec.am
    contrib/crossrpms/patches/binutils-2.16.1-rtems-20050708.diff
    contrib/crossrpms/patches/binutils-2.17-rtems4.7-20061021.diff
    contrib/crossrpms/patches/gcc-core-4.0.3-rtems-20060822.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060720.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060908.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060909.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems4.7-20070102.diff
    contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.7-20070216.diff
    contrib/crossrpms/patches/gdb-6.4-rtems-20060311.diff
    contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff
    contrib/crossrpms/patches/gdb-6.5-rtems-20060713.diff
    contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070218.diff
    contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070222.diff
    contrib/crossrpms/patches/newlib-1.14.0-rtems4.7-20061019.diff
    contrib/crossrpms/patches/newlib-1.15.0-rtems4.7-20070208.diff
    contrib/crossrpms/rtems4.7/.cvsignore
    contrib/crossrpms/rtems4.7/Makefile.am
    contrib/crossrpms/rtems4.7/arm/.cvsignore
    contrib/crossrpms/rtems4.7/arm/Makefile.am
    contrib/crossrpms/rtems4.7/arm/binutils-sources.add
    contrib/crossrpms/rtems4.7/arm/gcc-sources.add
    contrib/crossrpms/rtems4.7/arm/gdb-sources.add
    contrib/crossrpms/rtems4.7/avr/.cvsignore
    contrib/crossrpms/rtems4.7/avr/Makefile.am
    contrib/crossrpms/rtems4.7/avr/binutils-sources.add
    contrib/crossrpms/rtems4.7/avr/gcc-sources.add
    contrib/crossrpms/rtems4.7/avr/gdb-sources.add
    contrib/crossrpms/rtems4.7/binutils.am
    contrib/crossrpms/rtems4.7/gcc-prep.add
    contrib/crossrpms/rtems4.7/gcc.am
    contrib/crossrpms/rtems4.7/gdb.am
    contrib/crossrpms/rtems4.7/h8300/.cvsignore
    contrib/crossrpms/rtems4.7/h8300/Makefile.am
    contrib/crossrpms/rtems4.7/h8300/binutils-sources.add
    contrib/crossrpms/rtems4.7/h8300/gcc-sources.add
    contrib/crossrpms/rtems4.7/h8300/gdb-sources.add
    contrib/crossrpms/rtems4.7/i386/.cvsignore
    contrib/crossrpms/rtems4.7/i386/Makefile.am
    contrib/crossrpms/rtems4.7/i386/binutils-sources.add
    contrib/crossrpms/rtems4.7/i386/gcc-sources.add
    contrib/crossrpms/rtems4.7/i386/gdb-sources.add
    contrib/crossrpms/rtems4.7/m68k/.cvsignore
    contrib/crossrpms/rtems4.7/m68k/Makefile.am
    contrib/crossrpms/rtems4.7/m68k/binutils-sources.add
    contrib/crossrpms/rtems4.7/m68k/gcc-sources.add
    contrib/crossrpms/rtems4.7/m68k/gdb-sources.add
    contrib/crossrpms/rtems4.7/mips/.cvsignore
    contrib/crossrpms/rtems4.7/mips/Makefile.am
    contrib/crossrpms/rtems4.7/mips/binutils-sources.add
    contrib/crossrpms/rtems4.7/mips/gcc-sources.add
    contrib/crossrpms/rtems4.7/mips/gdb-sources.add
    contrib/crossrpms/rtems4.7/mipstx39/.cvsignore
    contrib/crossrpms/rtems4.7/mipstx39/Makefile.am
    contrib/crossrpms/rtems4.7/mipstx39/gdb-sources.add
    contrib/crossrpms/rtems4.7/powerpc/.cvsignore
    contrib/crossrpms/rtems4.7/powerpc/Makefile.am
    contrib/crossrpms/rtems4.7/powerpc/binutils-sources.add
    contrib/crossrpms/rtems4.7/powerpc/gcc-sources.add
    contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add
    contrib/crossrpms/rtems4.7/sh/.cvsignore
    contrib/crossrpms/rtems4.7/sh/Makefile.am
    contrib/crossrpms/rtems4.7/sh/binutils-sources.add
    contrib/crossrpms/rtems4.7/sh/gcc-sources.add
    contrib/crossrpms/rtems4.7/sh/gdb-sources.add
    contrib/crossrpms/rtems4.7/sparc/.cvsignore
    contrib/crossrpms/rtems4.7/sparc/Makefile.am
    contrib/crossrpms/rtems4.7/sparc/binutils-sources.add
    contrib/crossrpms/rtems4.7/sparc/gcc-sources.add
    contrib/crossrpms/rtems4.7/sparc/gdb-sources.add
    contrib/crossrpms/specstrip
    contrib/mingw/.cvsignore
    contrib/mingw/AUTHORS
    contrib/mingw/COPYING
    contrib/mingw/ChangeLog
    contrib/mingw/README
    contrib/mingw/build-exes.sh
    contrib/mingw/build-rpms.sh
    contrib/mingw/build.sh
    contrib/mingw/rtems-license.rtf
    contrib/mingw/rtems-tools.nsi
    contrib/mingw/rtems.ini
    contrib/mingw/rtems_logo.bmp
    contrib/mingw/targets
    contrib/repo-conf/.cvsignore
    contrib/repo-conf/AUTHORS
    contrib/repo-conf/COPYING
    contrib/repo-conf/ChangeLog
    contrib/repo-conf/INSTALL
    contrib/repo-conf/Makefile.am
    contrib/repo-conf/NEWS
    contrib/repo-conf/README
    contrib/repo-conf/aclocal/version.m4
    contrib/repo-conf/apt/sources.list.d/.cvsignore
    contrib/repo-conf/apt/sources.list.d/rtems.list.in
    contrib/repo-conf/apt/vendors.list.d/rtems.list
    contrib/repo-conf/configure.ac
    contrib/repo-conf/gpg/gpg-pubkey-69ce4a83-44cc2b30
    contrib/repo-conf/gpg/gpg-pubkey-eac29b6f-3fe1f458
    contrib/repo-conf/rtems-repo-conf.spec.in
    contrib/repo-conf/yum.repos.d/.cvsignore
    contrib/repo-conf/yum.repos.d/rtems.repo.in
    contrib/rtemsrpms/.cvsignore
    contrib/rtemsrpms/AUTHORS
    contrib/rtemsrpms/COPYING
    contrib/rtemsrpms/ChangeLog
    contrib/rtemsrpms/INSTALL
    contrib/rtemsrpms/Makefile.am
    contrib/rtemsrpms/NEWS
    contrib/rtemsrpms/README
    contrib/rtemsrpms/bootstrap
    contrib/rtemsrpms/configure.ac
    contrib/rtemsrpms/rtems.spec.in
    testsuites/samples/base_sp/.cvsignore
2007-03-05 20:53:28 +00:00
551 changed files with 2919 additions and 20876 deletions

View File

@@ -1,8 +1,3 @@
2007-09-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint: touch all documentation master files so the date on
the manual reflects the release date of the software.
2007-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Use MKDIR_P instead of mkdir_p.

View File

@@ -1,144 +0,0 @@
#
# Maintainer Makefile
#
# WARNING:
# THIS IS EXPERIMENTAL - DO NOT USE (YET) !
# * This Makefile is only useful to RTEMS maintainers
# * You must have write access to RTEMS CVS
# * Running this Makefile modifies RTEMS CVS
# * Watch out for warning and error messages - Do NOT IGNORE them!
# MAINTAINER notes:
# Cutting a new release:
# 1. Perform a non-anonymous cvs checkout of the BRANCH
# you want to cut a release tarball from
# 2. Run "make -f Makefile.maint new-revision"
# (rsp. "make -f Makefile.maint new-minor").
# 3. Run "make -f Makefile.maint commit"
# 4. Run "make -f Makefile.maint tag"
# 5. Run "make -f Makefile.maint tarball"
# -----------------
# SECURITY: Append a string to tag to avoid accidentially screwing up cvs-tags
# For "hot runs" you will want to use "make -f Makefile.maint TAG_SUFFIX= <command>"
TAG_SUFFIX = -test1
rtems_version := $(shell cat VERSION | sed -n '/.* Version /{s/^.*Version[ ]*\([0-9\.]\+\)/\1/p};')
rtems_tag := $(shell echo "rtems-$(rtems_version)" | tr . -)
rtems_api := 4.7
PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
# -----------------
# Cleanup check out and cvs-tag the files inside
tag:
cvs -z9 up -dP >/dev/null
./bootstrap -p >/dev/null
cvs tag -c $(rtems_tag)$(TAG_SUFFIX) >/dev/null
# -----------------
# Different stages of cvs-exporting
rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX):
rm -rf rtems-$(rtems_version)
@cvs -z9 export -d rtems-$(rtems_version) -r $(rtems_tag)$(TAG_SUFFIX) rtems >/dev/null
@if ! test -f rtems-$(rtems_version)/VERSION; then \
echo "ERROR export failed"; \
echo " Did you run 'make -f Makefile.maint tag' ?"; exit1; fi
echo "$(rtems_tag)$(TAG_SUFFIX)" > rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2: rtems-$(rtems_version)/stamp.autofiles \
rtems-$(rtems_version)/excludes \
rtems-$(rtems_version)/TOOL_VERSIONS
cd rtems-$(rtems_version) ; \
touch doc/ada_user/ada_user.texi doc/bsp_howto/bsp_howto.texi \
doc/cpu_supplement/cpu_supplement.texi \
doc/develenv/develenv.texi doc/filesystem/filesystem.texi \
doc/itron3.0/itron.texi doc/networking/networking.texi \
doc/new_chapters/new_chapters.texi doc/porting/porting.texi \
doc/posix1003.1/posix1003_1.texi doc/posix_users/posix_users.texi \
doc/relnotes/relnotes.texi doc/started_ada/started_ada.texi \
doc/started/started.texi doc/user/c_user.texi
tar -cj -X rtems-$(rtems_version)/excludes \
-f rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2 rtems-$(rtems_version)
rtems-$(rtems_version)/stamp.cleanup: rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
find rtems-$(rtems_version) -name .cvsignore -exec rm -f {} \;
find rtems-$(rtems_version) -name preinstall.am -exec touch {} \;
touch rtems-$(rtems_version)/c/src/librdbg/src/*/*/remdeb*.[hc]
rm -rf rtems-$(rtems_version)/contrib
touch rtems-$(rtems_version)/stamp.cleanup
rtems-$(rtems_version)/stamp.autofiles: rtems-$(rtems_version)/stamp.cleanup
cd rtems-$(rtems_version) && ./bootstrap -r
touch rtems-$(rtems_version)/stamp.autofiles
rtems-$(rtems_version)/excludes: Makefile.maint
@echo "Generating $@"
@echo "excludes" > $@
@echo "stamp.*" >> $@
@echo "autom4te.cache" >> $@
@echo "Makefile.maint" >> $@
tarball: rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2
rtems-$(rtems_version)/TOOL_VERSIONS: Makefile.maint
( \
date ; \
echo ; \
echo "This file contains configuration information on the " ; \
echo "primary computer used to test and make the $(rtems_version)" ; \
echo "version of RTEMS" ; \
echo ; \
echo "OS Version: " `head -1 /etc/issue` ; \
echo ; \
echo "The following RTEMS RPMs were installed on the machine" ; \
echo "where this release was made:" ; \
echo ; \
rpm -qa 'rtems-$(rtems_api)-*' | sort | sed -e 's/^/ /' ; \
echo \
) > $@
# -----------------
# Create a new minor release
# increments the 2nd digit of the version number
# set the 3rd digit of the version number to 0
# Example: 4.6.99.4 -> 4.7.0
new-minor:
@v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \
r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
r=$$(($$r + 1)); version="$$v.$$r.0"; \
echo "New minor release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
# Create a new revision release
# increments the last digit of the version number
# Examples: 4.6.99.4 -> 4.6.99.5
# 4.7.0 -> 4.7.1
new-revision:
@m=$$(echo $(rtems_version) | sed 's,^\(.*\)\.[0-9]\+,\1,'); \
n=$$(echo $(rtems_version) | sed 's,^.*\.\([0-9]\+\),\1,'); \
n=$$(($$n + 1)); version="$$m.$$n";\
echo "New revision release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
VERSION_FILES += aclocal/version.m4
VERSION_FILES += cpukit/aclocal/version.m4
VERSION_FILES += c/src/aclocal/version.m4
VERSION_FILES += testsuites/aclocal/version.m4
CVS_RUN := $(shell if [ -n "$(TAG_SUFFIX)" ]; then echo "cvs -n"; else echo "cvs"; fi)
commit:
$(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
$(VERSION_FILES) VERSION
.PHONY: commit new-minor new-revision tag tarball

View File

@@ -4,4 +4,4 @@
# $Id$
#
RTEMS Version 4.7.2
RTEMS Version 4.7.0

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.7.2]))
m4_define([_RTEMS_VERSION],[4.7.0]))
m4_define([RTEMS_API],[4.7])

View File

@@ -1,15 +1,3 @@
2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Strip CFLAGS (Hack to prevent bsp-cflags from
being used to compile "tools").
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* libchip/network/cs8900.c, libchip/network/cs8900.h,
libchip/network/greth.c, libchip/network/greth.h: Correct license URL
and/or fix mistake in copyright notice. Both of these mistakes appear
to be from code submitted after these changes were made previously.
2007-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.

View File

@@ -28,7 +28,6 @@ if test "$no_recursion" != yes; then
-target ) ac_prev=target_alias ;;
-build* | --build* ) ;;
-build ) ac_prev_build_alias ;;
CFLAGS=* );; # HACK: Strip CFLAGS
*_alias=* ) ;; # HACK: Workaround to autoconf passing *_alias
],
[rtems_configure_args])

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.7.2]))
m4_define([_RTEMS_VERSION],[4.7.0]))
m4_define([RTEMS_API],[4.7])

View File

@@ -1,7 +1,3 @@
2007-04-02 Jennifer Averett <jennifer.averrett@oarcorp.com>
* rtems.adb, rtems.ads: Update.
2005-05-23 Joel Sherrill <joel@OARcorp.com>
* rtems.adb: Fix variable name.

View File

@@ -10,14 +10,14 @@
--
--
--
-- COPYRIGHT (c) 1997-2007.
-- COPYRIGHT (c) 1997-2003.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- rtems.adb,v 1.13.2.2 2003/09/04 18:46:47 joel Exp
-- $Id$
--
with Ada;
@@ -215,6 +215,25 @@ package body RTEMS is
-- RTEMS API
--
--
-- Initialization Manager
--
-- RTEMS Initialization not supported from Ada. Please write BSPs in C.
procedure Shutdown_Executive (
Result : in RTEMS.Unsigned32
) is
procedure Shutdown_Executive_Base(
Result : in RTEMS.Unsigned32
);
pragma Import (C,Shutdown_Executive_Base,"rtems_shutdown_executive");
begin
Shutdown_Executive_Base( Result );
end Shutdown_Executive;
--
-- Task Manager
--
@@ -237,7 +256,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Task_Create_Base, "rtems_task_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Task_Create_Base (
Name,
@@ -263,7 +282,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Task_Ident_Base, "rtems_task_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
@@ -360,7 +379,7 @@ package body RTEMS is
Old_Priority : access RTEMS.Task_Priority
) return RTEMS.Status_Codes;
pragma Import (C, Task_Set_Priority_Base, "rtems_task_set_priority");
Old_Priority_Base : aliased RTEMS.Task_Priority := Old_Priority;
Old_Priority_Base : aliased RTEMS.Task_Priority;
begin
Result := Task_Set_Priority_Base (
@@ -384,7 +403,7 @@ package body RTEMS is
Previous_Mode_Set : access RTEMS.Mode
) return RTEMS.Status_Codes;
pragma Import (C, Task_Mode_Base, "rtems_task_mode");
Previous_Mode_Set_Base : aliased RTEMS.Mode := Previous_Mode_Set;
Previous_Mode_Set_Base : aliased RTEMS.Mode;
begin
Result := Task_Mode_Base (
@@ -408,11 +427,11 @@ package body RTEMS is
Note : access RTEMS.Unsigned32
) return RTEMS.Status_Codes;
pragma Import (C, Task_Get_Note_Base, "rtems_task_get_note");
Note_Base : aliased RTEMS.Unsigned32 := Note;
Note_Base : aliased RTEMS.Unsigned32;
begin
Result := Task_Get_Note_Base ( ID, Notepad, Note_Base'Unchecked_Access );
Note := NOTE_Base;
Note := Note_Base;
end Task_Get_Note;
@@ -434,6 +453,41 @@ package body RTEMS is
end Task_Set_Note;
procedure Task_Variable_Add (
ID : in RTEMS.ID;
Task_Variable : in RTEMS.Address;
Dtor : in RTEMS.Task_Variable_Dtor;
Result : out RTEMS.Status_Codes
) is
begin
-- FIXME
Result := Internal_Error;
end Task_Variable_Add;
procedure Task_Variable_Get (
ID : in RTEMS.ID;
Task_Variable : out RTEMS.Address;
Task_Variable_Value : out RTEMS.Address;
Result : out RTEMS.Status_Codes
) is
begin
-- FIXME
Task_Variable := RTEMS.Null_Address;
Task_Variable_Value := RTEMS.Null_Address;
Result := Internal_Error;
end Task_Variable_Get;
procedure Task_Variable_Delete (
ID : in RTEMS.ID;
Task_Variable : out RTEMS.Address;
Result : out RTEMS.Status_Codes
) is
begin
-- FIXME
Task_Variable := RTEMS.Null_Address;
Result := Internal_Error;
end Task_Variable_Delete;
procedure Task_Wake_When (
Time_Buffer : in RTEMS.Time_Of_Day;
Result : out RTEMS.Status_Codes
@@ -478,13 +532,13 @@ package body RTEMS is
Old_ISR_Handler : access RTEMS.Address
) return RTEMS.Status_Codes;
pragma Import (C, Interrupt_Catch_Base, "rtems_interrupt_catch");
Old_ISR_Handler_Base : aliased RTEMS.Address := Old_ISR_Handler;
Old_ISR_Handler_Base : aliased RTEMS.Address;
begin
Result := Interrupt_Catch_Base (
New_ISR_Handler,
Vector,
OLD_ISR_HANDLER_Base'Unchecked_Access
Old_ISR_Handler_Base'Unchecked_Access
);
Old_ISR_Handler := OLD_ISR_HANDLER_Base;
@@ -556,7 +610,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Extension_Create_Base, "rtems_extension_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Extension_Create_Base ( Name, Table, ID_Base'Unchecked_Access );
@@ -574,7 +628,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Extension_Ident_Base, "rtems_extension_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Extension_Ident_Base ( Name, ID_Base'Unchecked_Access );
@@ -610,7 +664,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Timer_Create_Base, "rtems_timer_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Timer_Create_Base ( Name, ID_Base'Unchecked_Access );
@@ -628,7 +682,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Timer_Ident_Base, "rtems_timer_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Timer_Ident_Base ( Name, ID_Base'Unchecked_Access );
@@ -810,7 +864,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Semaphore_Create_Base, "rtems_semaphore_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Semaphore_Create_Base (
@@ -850,7 +904,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Semaphore_Ident_Base, "rtems_semaphore_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Semaphore_Ident_Base ( Name, Node, ID_Base'Unchecked_Access );
@@ -912,7 +966,7 @@ package body RTEMS is
) return RTEMS.Status_Codes;
pragma Import (C,
Message_Queue_Create_Base, "rtems_message_queue_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Message_Queue_Create_Base (
@@ -938,7 +992,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Message_Queue_Ident_Base, "rtems_message_queue_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result :=
@@ -1014,7 +1068,7 @@ package body RTEMS is
) return RTEMS.Status_Codes;
pragma Import (C, Message_Queue_Broadcast_Base,
"rtems_message_queue_broadcast");
Count_Base : aliased RTEMS.Unsigned32 := Count;
Count_Base : aliased RTEMS.Unsigned32;
begin
Result := Message_Queue_Broadcast_Base (
@@ -1068,7 +1122,7 @@ package body RTEMS is
Count : access RTEMS.Unsigned32
) return RTEMS.Status_Codes;
pragma Import (C, Message_Queue_Flush_Base, "rtems_message_queue_flush");
COUNT_Base : aliased RTEMS.Unsigned32 := Count;
COUNT_Base : aliased RTEMS.Unsigned32;
begin
Result := Message_Queue_Flush_Base ( ID, COUNT_Base'Unchecked_Access );
@@ -1110,7 +1164,7 @@ package body RTEMS is
Event_Out : access RTEMS.Event_Set
) return RTEMS.Status_Codes;
pragma Import (C, Event_Receive_Base, "rtems_event_receive");
Event_Out_Base : aliased RTEMS.Event_Set; -- := Event_Out;
Event_Out_Base : aliased RTEMS.Event_Set;
begin
Result := Event_Receive_Base (
@@ -1182,7 +1236,7 @@ package body RTEMS is
ID : access RTEMS.Event_Set
) return RTEMS.Status_Codes;
pragma Import (C, Partition_Create_Base, "rtems_partition_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Partition_Create_Base (
@@ -1209,7 +1263,7 @@ package body RTEMS is
ID : access RTEMS.Event_Set
) return RTEMS.Status_Codes;
pragma Import (C, Partition_Ident_Base, "rtems_partition_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Partition_Ident_Base ( Name, Node, ID_Base'Unchecked_Access );
@@ -1242,7 +1296,7 @@ package body RTEMS is
) return RTEMS.Status_Codes;
pragma Import (C, Partition_Get_Buffer_Base,
"rtems_partition_get_buffer");
Buffer_Base : aliased RTEMS.Address := Buffer;
Buffer_Base : aliased RTEMS.Address;
begin
Result := Partition_Get_Buffer_Base ( ID, Buffer_Base'Unchecked_Access );
@@ -1289,7 +1343,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Region_Create_Base, "rtems_region_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Region_Create_Base (
@@ -1314,7 +1368,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Region_Ident_Base, "rtems_region_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Region_Ident_Base ( Name, ID_Base'Unchecked_Access );
@@ -1370,7 +1424,7 @@ package body RTEMS is
Segment : access RTEMS.Address
) return RTEMS.Status_Codes;
pragma Import (C, Region_Get_Segment_Base, "rtems_region_get_segment");
Segment_Base : aliased RTEMS.Address := Segment;
Segment_Base : aliased RTEMS.Address;
begin
Result := Region_Get_Segment_Base (
@@ -1397,7 +1451,7 @@ package body RTEMS is
) return RTEMS.Status_Codes;
pragma Import (C, Region_Get_Segment_Size_Base,
"rtems_region_get_segment_size");
Size_Base : aliased RTEMS.Unsigned32 := Size;
Size_Base : aliased RTEMS.Unsigned32;
begin
Result := Region_Get_Segment_Size_Base (
@@ -1405,10 +1459,38 @@ package body RTEMS is
Segment,
Size_Base'Unchecked_Access
);
Size := SIZE_Base;
Size := Size_Base;
end Region_Get_Segment_Size;
procedure Region_Resize_Segment (
ID : in RTEMS.ID;
Segment : in RTEMS.Address;
Size : in RTEMS.Unsigned32;
Old_Size : out RTEMS.Unsigned32;
Result : out RTEMS.Status_Codes
) is
function Region_Resize_Segment_Base (
ID : RTEMS.ID;
Segment : RTEMS.Address;
Size : RTEMS.Unsigned32;
Old_Size : access RTEMS.Unsigned32
) return RTEMS.Status_Codes;
pragma Import (C, Region_Resize_Segment_Base,
"rtems_region_get_segment_size");
Old_Size_Base : aliased RTEMS.Unsigned32;
begin
Result := Region_Resize_Segment_Base (
ID,
Segment,
Size,
Old_Size_Base'Unchecked_Access
);
Old_Size := Old_Size_Base;
end Region_Resize_Segment;
procedure Region_Return_Segment (
ID : in RTEMS.ID;
Segment : in RTEMS.Address;
@@ -1446,7 +1528,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Port_Create_Base, "rtems_port_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Port_Create_Base (
@@ -1470,7 +1552,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Port_Ident_Base, "rtems_port_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Port_Ident_Base ( Name, ID_Base'Unchecked_Access );
@@ -1505,7 +1587,7 @@ package body RTEMS is
) return RTEMS.Status_Codes;
pragma Import (C, Port_External_To_Internal_Base,
"rtems_port_external_to_internal");
Internal_Base : aliased RTEMS.Address := Internal;
Internal_Base : aliased RTEMS.Address;
begin
Result := Port_External_To_Internal_Base (
@@ -1530,7 +1612,7 @@ package body RTEMS is
) return RTEMS.Status_Codes;
pragma Import (C, Port_Internal_To_External_Base,
"rtems_port_internal_to_external");
External_Base : aliased RTEMS.Address := External;
External_Base : aliased RTEMS.Address;
begin
Result := Port_Internal_To_External_Base (
@@ -1546,6 +1628,24 @@ package body RTEMS is
-- Input/Output Manager
--
procedure IO_Initialize (
Major : in RTEMS.Device_Major_Number;
Minor : in RTEMS.Device_Minor_Number;
Argument : in RTEMS.Address;
Result : out RTEMS.Status_Codes
) is
function IO_Initialize_Base (
Major : RTEMS.Device_Major_Number;
Minor : RTEMS.Device_Minor_Number;
Argument : RTEMS.Address
) return RTEMS.Status_Codes;
pragma Import (C, IO_Initialize_Base, "rtems_io_initialize");
begin
Result := IO_Initialize_Base ( Major, Minor, Argument );
end IO_Initialize;
procedure IO_Register_Name (
Name : in String;
Major : in RTEMS.Device_Major_Number;
@@ -1708,7 +1808,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Rate_Monotonic_Create_base, "rtems_rate_monotonic_create");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Rate_Monotonic_Create_base ( Name, ID_Base'Unchecked_Access );
@@ -1726,7 +1826,7 @@ package body RTEMS is
ID : access RTEMS.ID
) return RTEMS.Status_Codes;
pragma Import (C, Rate_Monotonic_Ident_Base, "rtems_rate_monotonic_ident");
ID_Base : aliased RTEMS.ID := ID;
ID_Base : aliased RTEMS.ID;
begin
Result := Rate_Monotonic_Ident_Base ( Name, ID_Base'Unchecked_Access );
@@ -1852,4 +1952,13 @@ package body RTEMS is
end Debug_Is_Enabled;
-- HACK
-- function Configuration
-- return RTEMS.Configuration_Table_Pointer is
-- Configuration_base : RTEMS.Configuration_Table_Pointer;
-- pragma Import (C, Configuration_base, "_Configuration_Table");
-- begin
-- return Configuration_Base;
-- end Configuration;
end RTEMS;

View File

@@ -7,18 +7,16 @@
--
-- DEPENDENCIES:
--
-- NOTES:
-- RTEMS initialization and configuration are called from
-- the BSP side, therefore should never be called from ADA.
--
-- COPYRIGHT (c) 1997-2007.
--
-- COPYRIGHT (c) 1997.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- rtems.ads,v 1.19.2.2 2003/11/25 14:07:32 joel Exp
-- $Id$
--
with System;
@@ -184,10 +182,7 @@ pragma Elaborate_Body (RTEMS);
-- Ident Options
--
Search_All_Nodes : constant RTEMS.Node := 0;
Search_Other_Nodes : constant RTEMS.Node := 16#7FFFFFFE#;
Search_Local_Node : constant RTEMS.Node := 16#7FFFFFFF#;
Who_Am_I : constant RTEMS.Node := 0;
Search_All_Nodes : constant RTEMS.Node := 0;
--
-- Options
@@ -226,20 +221,19 @@ pragma Elaborate_Body (RTEMS);
-- Attribute constants
--
Default_Attributes : constant RTEMS.Attribute := 16#00000000#;
No_Floating_Point : constant RTEMS.Attribute := 16#00000000#;
Floating_Point : constant RTEMS.Attribute := 16#00000001#;
Local : constant RTEMS.Attribute := 16#00000000#;
Global : constant RTEMS.Attribute := 16#00000002#;
FIFO : constant RTEMS.Attribute := 16#00000000#;
Priority : constant RTEMS.Attribute := 16#00000004#;
Counting_Semaphore : constant RTEMS.Attribute := 16#00000000#;
Binary_Semaphore : constant RTEMS.Attribute := 16#00000010#;
Simple_Binary_Semaphore : constant RTEMS.Attribute := 16#00000020#;
No_Inherit_Priority : constant RTEMS.Attribute := 16#00000000#;
Inherit_Priority : constant RTEMS.Attribute := 16#00000040#;
No_Priority_Ceiling : constant RTEMS.Attribute := 16#00000000#;
Priority_Ceiling : constant RTEMS.Attribute := 16#00000080#;
Default_Attributes : constant RTEMS.Attribute := 16#00000000#;
No_Floating_Point : constant RTEMS.Attribute := 16#00000000#;
Floating_Point : constant RTEMS.Attribute := 16#00000001#;
Local : constant RTEMS.Attribute := 16#00000000#;
Global : constant RTEMS.Attribute := 16#00000002#;
FIFO : constant RTEMS.Attribute := 16#00000000#;
Priority : constant RTEMS.Attribute := 16#00000004#;
Counting_Semaphore : constant RTEMS.Attribute := 16#00000000#;
Binary_Semaphore : constant RTEMS.Attribute := 16#00000010#;
No_Inherit_Priority : constant RTEMS.Attribute := 16#00000000#;
Inherit_Priority : constant RTEMS.Attribute := 16#00000020#;
No_Priority_Ceiling : constant RTEMS.Attribute := 16#00000000#;
Priority_Ceiling : constant RTEMS.Attribute := 16#00000040#;
function Interrupt_Level (
Level : in RTEMS.Unsigned32
@@ -538,6 +532,194 @@ pragma Elaborate_Body (RTEMS);
Signal_30 : constant RTEMS.Signal_Set := 16#40000000#;
Signal_31 : constant RTEMS.Signal_Set := 16#80000000#;
--
-- RTEMS API Configuration Information
--
type Initialization_Tasks_Table_Entry is
record
Name : RTEMS.Name; -- task name
Stack_Size : RTEMS.Unsigned32; -- task stack size
Initial_Priority : RTEMS.Task_priority; -- task priority
Attribute_Set : RTEMS.Attribute; -- task attributes
Entry_Point : RTEMS.Task_Entry; -- task entry point
Mode_Set : RTEMS.Mode; -- task initial mode
Argument : RTEMS.Unsigned32; -- task argument
end record;
type Initialization_Tasks_Table is array ( RTEMS.Unsigned32 range <> ) of
RTEMS.Initialization_Tasks_Table_Entry;
type Initialization_Tasks_Table_Pointer is access all
Initialization_Tasks_Table;
type API_Configuration_Table is
record
Maximum_Tasks : RTEMS.Unsigned32;
Maximum_Timers : RTEMS.Unsigned32;
Maximum_Semaphores : RTEMS.Unsigned32;
Maximum_Message_queues : RTEMS.Unsigned32;
Maximum_Partitions : RTEMS.Unsigned32;
Maximum_Regions : RTEMS.Unsigned32;
Maximum_Ports : RTEMS.Unsigned32;
Maximum_Periods : RTEMS.Unsigned32;
Number_Of_Initialization_Tasks : RTEMS.Unsigned32;
User_Initialization_Tasks_Table :
RTEMS.Initialization_Tasks_Table_Pointer;
end record;
type API_Configuration_Table_Pointer is access all API_Configuration_Table;
--
-- RTEMS POSIX API Configuration Information
--
type POSIX_Thread_Entry is access procedure (
Argument : in RTEMS.Address
);
type POSIX_Initialization_Threads_Table_Entry is
record
Thread_Entry : RTEMS.POSIX_Thread_Entry;
end record;
type POSIX_Initialization_Threads_Table is array
( RTEMS.Unsigned32 range <> ) of
RTEMS.POSIX_Initialization_Threads_Table_Entry;
type POSIX_Initialization_Threads_Table_Pointer is access all
POSIX_Initialization_Threads_Table;
type POSIX_API_Configuration_Table_Entry is
record
Maximum_Threads : Interfaces.C.Int;
Maximum_Mutexes : Interfaces.C.Int;
Maximum_Condition_Variables : Interfaces.C.Int;
Maximum_Keys : Interfaces.C.Int;
Maximum_Queued_Signals : Interfaces.C.Int;
Number_Of_Initialization_Tasks : Interfaces.C.Int;
User_Initialization_Tasks_Table :
RTEMS.POSIX_Initialization_Threads_Table_Pointer;
end record;
type POSIX_API_Configuration_Table is array ( RTEMS.Unsigned32 range <> ) of
RTEMS.POSIX_API_Configuration_Table_Entry;
type POSIX_API_Configuration_Table_Pointer is access all
RTEMS.POSIX_API_Configuration_Table;
--
-- MPCI Information include MPCI Configuration
--
type Configuration_Table_Pointer;
type MP_Packet_Classes is (
MP_PACKET_MPCI_INTERNAL,
MP_PACKET_TASKS,
MP_PACKET_MESSAGE_QUEUE,
MP_PACKET_SEMAPHORE,
MP_PACKET_PARTITION,
MP_PACKET_REGION,
MP_PACKET_EVENT,
MP_PACKET_SIGNAL
);
for MP_Packet_Classes use (
MP_PACKET_MPCI_INTERNAL => 0,
MP_PACKET_TASKS => 1,
MP_PACKET_MESSAGE_QUEUE => 2,
MP_PACKET_SEMAPHORE => 3,
MP_PACKET_PARTITION => 4,
MP_PACKET_REGION => 5,
MP_PACKET_EVENT => 6,
MP_PACKET_SIGNAL => 7
);
type Packet_Prefix is
record
The_Class : RTEMS.MP_Packet_Classes;
ID : RTEMS.ID;
Source_TID : RTEMS.ID;
Source_Priority : RTEMS.Task_Priority;
Return_Code : RTEMS.Unsigned32;
Length : RTEMS.Unsigned32;
To_Convert : RTEMS.Unsigned32;
Timeout : RTEMS.Interval;
end record;
type Packet_Prefix_Pointer is access all Packet_Prefix;
type MPCI_Initialization_Entry is access procedure (
Configuration : in RTEMS.Configuration_Table_Pointer
);
type MPCI_Get_Packet_Entry is access procedure (
Packet : access RTEMS.Packet_Prefix_Pointer
);
type MPCI_Return_Packet_Entry is access procedure (
Packet : in RTEMS.Packet_Prefix_Pointer
);
type MPCI_Send_Entry is access procedure (
Packet : in RTEMS.Packet_Prefix_Pointer
);
type MPCI_Receive_Entry is access procedure (
Packet : access RTEMS.Packet_Prefix_Pointer
);
type MPCI_Table is
record
Default_Timeout : RTEMS.Unsigned32; -- in ticks
Maximum_Packet_Size : RTEMS.Unsigned32;
Initialization : RTEMS.MPCI_Initialization_Entry;
Get_Packet : RTEMS.MPCI_Get_Packet_Entry;
Return_Packet : RTEMS.MPCI_Return_Packet_Entry;
Send : RTEMS.MPCI_Send_Entry;
Receive : RTEMS.MPCI_Receive_Entry;
end record;
type MPCI_Table_Pointer is access all MPCI_Table;
--
-- Configuration Information
--
type Multiprocessing_Table is
record
Node : RTEMS.Unsigned32;
Maximum_Nodes : RTEMS.Unsigned32;
Maximum_Global_Objects : RTEMS.Unsigned32;
Maximum_Proxies : RTEMS.Unsigned32;
User_MPCI_Table : RTEMS.MPCI_Table_Pointer;
end record;
type Multiprocessing_Table_Pointer is access all Multiprocessing_Table;
type Configuration_Table is
record
Work_Space_Start : RTEMS.Address;
Work_Space_Size : RTEMS.Unsigned32;
Maximum_Extensions : RTEMS.Unsigned32;
Microseconds_Per_Tick : RTEMS.Unsigned32;
Ticks_Per_Timeslice : RTEMS.Unsigned32;
Maximum_Devices : RTEMS.Unsigned32;
Maximum_Drivers : RTEMS.Unsigned32;
Number_Of_Device_Drivers : RTEMS.Unsigned32;
Device_Driver_Table : RTEMS.Driver_Address_Table_Pointer;
Number_Of_Initial_Extensions : RTEMS.Unsigned32;
User_Extension_Table : RTEMS.Extensions_Table_Pointer;
User_Multiprocessing_Table : RTEMS.Multiprocessing_Table_Pointer;
RTEMS_API_Configuration : RTEMS.API_Configuration_Table_Pointer;
POSIX_API_Configuration : RTEMS.POSIX_API_Configuration_Table_Pointer;
ITRON_API_Configuration : RTEMS.Address; -- XXX FIX ME
end record;
type Configuration_Table_Pointer is access all Configuration_Table;
--
-- For now, do not provide access to the CPU Table from Ada.
-- When this type is provided, a CPU dependent file must
@@ -616,6 +798,16 @@ pragma Elaborate_Body (RTEMS);
-- RTEMS API
--
--
-- Initialization Manager
--
-- RTEMS Initialization not supported from Ada. Please write BSPs in C.
procedure Shutdown_Executive (
Result : in RTEMS.Unsigned32
);
--
-- Task Manager
--
@@ -697,25 +889,25 @@ pragma Elaborate_Body (RTEMS);
Argument : in RTEMS.Address
);
-- procedure Task_Variable_Add (
-- ID : in RTEMS.ID;
-- Task_Variable : in RTEMS.Address;
-- Dtor : in RTEMS.Task_Variable_Dtor;
-- Result : out RTEMS.Status_Codes
-- );
procedure Task_Variable_Add (
ID : in RTEMS.ID;
Task_Variable : in RTEMS.Address;
Dtor : in RTEMS.Task_Variable_Dtor;
Result : out RTEMS.Status_Codes
);
-- procedure Task_Variable_Get (
-- ID : in RTEMS.ID;
-- Task_Variable : out RTEMS.Address;
-- Task_Variable_Value : out RTEMS.Address;
-- Result : out RTEMS.Status_Codes
-- );
procedure Task_Variable_Get (
ID : in RTEMS.ID;
Task_Variable : out RTEMS.Address;
Task_Variable_Value : out RTEMS.Address;
Result : out RTEMS.Status_Codes
);
-- procedure Task_Variable_Delete (
-- ID : in RTEMS.ID;
-- Task_Variable : out RTEMS.Address;
-- Result : out RTEMS.Status_Codes
-- );
procedure Task_Variable_Delete (
ID : in RTEMS.ID;
Task_Variable : out RTEMS.Address;
Result : out RTEMS.Status_Codes
);
procedure Task_Wake_When (
Time_Buffer : in RTEMS.Time_Of_Day;
@@ -1094,6 +1286,14 @@ pragma Elaborate_Body (RTEMS);
Result : out RTEMS.Status_Codes
);
procedure Region_Resize_Segment (
ID : in RTEMS.ID;
Segment : in RTEMS.Address;
Size : in RTEMS.Unsigned32;
Old_Size : out RTEMS.Unsigned32;
Result : out RTEMS.Status_Codes
);
procedure Region_Return_Segment (
ID : in RTEMS.ID;
Segment : in RTEMS.Address;
@@ -1143,6 +1343,13 @@ pragma Elaborate_Body (RTEMS);
-- Input/Output Manager
--
procedure IO_Initialize (
Major : in RTEMS.Device_Major_Number;
Minor : in RTEMS.Device_Minor_Number;
Argument : in RTEMS.Address;
Result : out RTEMS.Status_Codes
);
procedure IO_Register_Name (
Name : in String;
Major : in RTEMS.Device_Major_Number;
@@ -1259,4 +1466,11 @@ pragma Elaborate_Body (RTEMS);
Level : in RTEMS.Debug_Set
) return RTEMS.Boolean;
--
-- Some Useful Data Items
--
Configuration : RTEMS.Configuration_Table_Pointer;
pragma Import (C, Configuration, "_Configuration_Table");
end RTEMS;

View File

@@ -1,11 +1,3 @@
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h, network/lan91c11x.c, network/lan91c11x.h,
network/network.c, start/start.S, startup/bspstart.c, startup/exit.c,
startup/linkcmds, startup/memmap.c: Correct license URL and/or fix
mistake in copyright notice. Both of these mistakes appear to be from
code submitted after these changes were made previously.
2006-11-01 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Fix typo.

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -6,7 +6,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -1,10 +1,3 @@
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* console/uarts.c, include/bsp.h, start/start.S, startup/bspstart.c,
startup/exit.c, startup/linkcmds: Correct license URL and/or fix
mistake in copyright notice. Both of these mistakes appear to be from
code submitted after these changes were made previously.
2006-11-01 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Fix typo.

View File

@@ -10,7 +10,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -6,7 +6,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -6,7 +6,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -6,7 +6,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -1,10 +1,3 @@
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* console/uart.c, start/start.S, startup/linkcmds, startup/memmap.c:
Correct license URL and/or fix mistake in copyright notice. Both of
these mistakes appear to be from code submitted after these changes
were made previously.
2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* smc/smc.c: include bspIo.h for printk.

View File

@@ -14,7 +14,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -5,7 +5,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*
* $Id$

View File

@@ -6,7 +6,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -1,9 +1,3 @@
2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1227/bsps
* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
MAX_SHORT_TEST_DURATION. They are obsolete and unused.
2007-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Use MKDIR_P instead of mkdir_p.

View File

@@ -36,6 +36,17 @@ extern "C" {
/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
#define CONFIGURE_INTERRUPT_STACK_MEMORY (12 * 1024)
/*
* Define the time limits for RTEMS Test Suite test durations.
* Long test and short test duration limits are provided. These
* values are in seconds and need to be converted to ticks for the
* application.
*
*/
#define MAX_LONG_TEST_DURATION 300 /* 5 minutes = 300 seconds */
#define MAX_SHORT_TEST_DURATION 3 /* 3 seconds */
/*
* Simple spin delay in microsecond units for device drivers.
* This is very dependent on the clock speed of the target.

View File

@@ -1,8 +1,3 @@
2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1244/bsps
* console/console.c: Remove definition of __assert.
2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/fb_vga.c: Eliminate __u16, __u32.

View File

@@ -34,6 +34,8 @@
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#undef __assert
void __assert (const char *file, int line, const char *msg);
#include <bsp.h>
#include <bsp/irq.h>
@@ -139,6 +141,44 @@ int kbd_poll_read( int minor )
return -1;
}
/*
static void* termios_ttyp_console = NULL;
void enq_key( char key )
{
if( termios_ttyp_console )
{
rtems_termios_enqueue_raw_characters(termios_ttyp_console, &key,1 );
}
}
*/
void __assert (const char *file, int line, const char *msg)
{
static char exit_msg[] = "EXECUTIVE SHUTDOWN! Any key to reboot...";
unsigned char ch;
/*
* Note we cannot call exit or printf from here,
* assert can fail inside ISR too
*/
/*
* Close console
*/
close(2);
close(1);
close(0);
printk("\nassert failed: %s: ", file);
printk("%d: ", line);
printk("%s\n\n", msg);
printk(exit_msg);
ch = BSP_poll_char();
printk("\n\n");
rtemsReboot();
}
/*-------------------------------------------------------------------------+
| Console device driver INITIALIZE entry point.
+--------------------------------------------------------------------------+

View File

@@ -1,8 +1,3 @@
2007-04-17 Joel Sherrill <joel@OARcorp.com>
* mcf5206elite/tools/runtest: Do not run pppd.exe from batch mode
script.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -1,17 +1,3 @@
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* include/coverhd.h, start/start.S, startup/bspclean.c,
startup/bspstart.c, startup/linkcmds, startup/linkcmdsflash,
startup/linkcmdsram: Correct license URL and/or fix mistake in
copyright notice. Both of these mistakes appear to be from code
submitted after these changes were made previously.
2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1227/bsps
* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
MAX_SHORT_TEST_DURATION. They are obsolete and unused.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -33,6 +33,17 @@ extern int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int at
/* define which port the console should use - all other ports are then defined as general purpose */
#define CONSOLE_PORT 0
/*
* Define the time limits for RTEMS Test Suite test durations.
* Long test and short test duration limits are provided. These
* values are in seconds and need to be converted to ticks for the
* application.
*
*/
#define MAX_LONG_TEST_DURATION 300 /* 5 minutes = 300 seconds */
#define MAX_SHORT_TEST_DURATION 3 /* 3 seconds */
/* externals */
/* constants */

View File

@@ -16,10 +16,11 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -8,11 +8,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -9,11 +9,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -12,11 +12,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -1,17 +1,3 @@
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* console/console-io.c, include/bsp.h, start/start.S,
startup/bspclean.c, startup/bspstart.c, startup/init5272.c: Correct
license URL and/or fix mistake in copyright notice. Both of these
mistakes appear to be from code submitted after these changes were
made previously.
2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1227/bsps
* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
MAX_SHORT_TEST_DURATION. They are obsolete and unused.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -7,7 +7,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -12,7 +12,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* bsp.h,v 1.1 2001/10/26 19:30:10 joel Exp
*/
@@ -130,6 +130,17 @@ extern int rtems_enet_driver_attach (struct rtems_bsdnet_ifconfig *config);
/* System frequency */
#define BSP_SYSTEM_FREQUENCY (66 * 1000 * 1000)
/*
* Define the time limits for RTEMS Test Suite test durations.
* Long test and short test duration limits are provided. These
* values are in seconds and need to be converted to ticks for the
* application.
*
*/
#define MAX_LONG_TEST_DURATION 300 /* 5 minutes = 300 seconds */
#define MAX_SHORT_TEST_DURATION 3 /* 3 seconds */
/*
* Simple spin delay in microsecond units for device drivers.
* This is very dependent on the clock speed of the target.

View File

@@ -19,11 +19,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -8,11 +8,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -16,11 +16,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -19,11 +19,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -40,7 +40,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -43,7 +43,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -46,7 +46,7 @@ clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/Modif_cpu_asm.S console/console.c \
console/m340uart.c ../../shared/dummy_printk_support.c
console/m340uart.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -42,8 +42,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c console/consolereserveresources.c \
../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c console/consolereserveresources.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -42,7 +42,7 @@ clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c console/leds.c console/mc68ec.c \
console/duart.c ../../shared/dummy_printk_support.c
console/duart.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -46,7 +46,7 @@ startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -158,7 +158,7 @@ do
case "$tname" in
# size is no longer interactive.
monitor* | termios* | fileio* | pppd*)
monitor* | termios* | fileio*)
warn "Skipping $tname; it is interactive"
continue
;;

View File

@@ -1,17 +1,3 @@
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* include/coverhd.h, start/start.S, startup/bspclean.c,
startup/bspstart.c, startup/linkcmds, startup/linkcmdsflash,
startup/linkcmdsram: Correct license URL and/or fix mistake in
copyright notice. Both of these mistakes appear to be from code
submitted after these changes were made previously.
2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1227/bsps
* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
MAX_SHORT_TEST_DURATION. They are obsolete and unused.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -33,6 +33,17 @@ extern int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int at
/* define which port the console should use - all other ports are then defined as general purpose */
#define CONSOLE_PORT 0
/*
* Define the time limits for RTEMS Test Suite test durations.
* Long test and short test duration limits are provided. These
* values are in seconds and need to be converted to ticks for the
* application.
*
*/
#define MAX_LONG_TEST_DURATION 300 /* 5 minutes = 300 seconds */
#define MAX_SHORT_TEST_DURATION 3 /* 3 seconds */
/* externals */
/* constants */

View File

@@ -16,10 +16,11 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -8,11 +8,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -9,11 +9,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -12,11 +12,12 @@
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
* Copyright assigned to U.S. Government, 1994.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -7,7 +7,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -41,7 +41,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -41,7 +41,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -41,8 +41,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = ../mvme147/console/console.c \
../../shared/dummy_printk_support.c
console_rel_SOURCES = ../mvme147/console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,12 +1,3 @@
2007-04-11 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Do not configure tools. They only build on a Solaris
VMEBus host anyway.
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -18,8 +18,7 @@ noinst_PROGRAMS =
# wrapup is the one that actually builds and installs the library
# from the individual .rel files built in other directories
# XXX ignore tools since it doesn't build
SUBDIRS = .
SUBDIRS = . tools
include_HEADERS += ../../shared/tod.h
include_HEADERS += include/coverhd.h
@@ -50,7 +49,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -17,7 +17,7 @@ RTEMS_PROG_CCAS
RTEMS_CHECK_NETWORKING
## RTEMS_CONFIG_BUILD_SUBDIRS(tools)
RTEMS_CONFIG_BUILD_SUBDIRS(tools)
AM_CONDITIONAL([HAS_NETWORKING],test "$HAS_NETWORKING" = "yes")
AM_CONDITIONAL([HAS_FPSP],[test "$RTEMS_CPU_MODEL" = "m68040"])

View File

@@ -1,7 +1,3 @@
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

View File

@@ -56,7 +56,7 @@ clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += console.rel
console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
console_rel_SOURCES = console/console.c
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

View File

@@ -1,22 +1,3 @@
2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c, console/console.c, include/bsp.h, include/coverhd.h,
include/tm27.h, network/network.c, start/start.S, startup/bspclean.c,
startup/bspstart.c, startup/init5282.c, startup/linkcmds,
timer/timer.c: Correct license URL and/or fix mistake in copyright
notice. Both of these mistakes appear to be from code submitted after
these changes were made previously.
2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1227/bsps
* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
MAX_SHORT_TEST_DURATION. They are obsolete and unused.
2007-02-08 Eric Norum <norume@aps.anl.gov>
* startup/bspstart.c: Fixed FPGA interrupt handling.

View File

@@ -8,7 +8,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -10,7 +10,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
*/

View File

@@ -8,7 +8,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*/
#ifndef _BSP_H
@@ -50,6 +50,17 @@ extern int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int at
/* define which port the console should use - all other ports are then defined as general purpose */
#define CONSOLE_PORT 0
/*
* Define the time limits for RTEMS Test Suite test durations.
* Long test and short test duration limits are provided. These
* values are in seconds and need to be converted to ticks for the
* application.
*
*/
#define MAX_LONG_TEST_DURATION 300 /* 5 minutes = 300 seconds */
#define MAX_SHORT_TEST_DURATION 3 /* 3 seconds */
/* externals */
/* constants */

View File

@@ -19,7 +19,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -6,7 +6,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*/
#ifndef _RTEMS_TMTEST27

View File

@@ -308,12 +308,12 @@ mcf5282_fec_initialize_hardware(struct mcf5282_enet_struct *sc)
/*
* Set PHYS
* LED1 receive status, LED2 link status, LEDs stretched
* LED1 link status, LED2 receive status, LEDs stretched
* Advertise 100 Mb/s, full-duplex, IEEE-802.3
* Turn off auto-negotiate
* Clear status
* Cleaer status
*/
setMII(1, 20, 0x24F2);
setMII(1, 20, 0x42F2);
setMII(1, 4, 0x0181);
setMII(1, 0, 0x0);
rtems_task_wake_after(2);

View File

@@ -12,7 +12,7 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -10,7 +10,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -13,7 +13,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -13,7 +13,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*/
#include <rtems.h>

View File

@@ -9,7 +9,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*
* $Id$
*/

View File

@@ -10,7 +10,7 @@
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
* http://www.OARcorp.com/rtems/license.html.
*/
#include <rtems.h>

View File

@@ -1,7 +1,3 @@
2007-04-17 Joel Sherrill <joel@OARcorp.com>
* jmr3904/tools/runtest: Do not run pppd.exe from batch mode script.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.

Some files were not shown because too many files have changed in this diff Show More