Change license to BSD-2-Clause according to file history and documentation re-licensing agreement.
Update #3053. Update #3899. Update #3993. --- cpukit/include/rtems.h | 100 +++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 33 deletions(-) diff --git a/cpukit/include/rtems.h b/cpukit/include/rtems.h index dc0472b233..cda2bd5b24 100644 --- a/cpukit/include/rtems.h +++ b/cpukit/include/rtems.h @@ -1,60 +1,94 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file - * + * * @ingroup RTEMSAPIClassic * - * the Public Interface to the RTEMS Classic API + * @brief This header file defines the RTEMS Classic API. */ -/* COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). +/* + * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _RTEMS_H -#define _RTEMS_H - -/** - * @defgroup RTEMSAPIClassic Classic +/* + * This file was automatically generated. Do not edit it manually. + * Please have a look at * - * @ingroup RTEMSAPI - * - * @brief RTEMS Classic API definitions and modules. + * https://docs.rtems.org/branches/master/eng/req/howto.html + * + * for information how to maintain and re-generate this file. */ -#include <rtems/rtems/status.h> -#include <rtems/rtems/types.h> +#ifndef _RTEMS_H +#define _RTEMS_H #include <rtems/config.h> +#include <rtems/extension.h> +#include <rtems/fatal.h> #include <rtems/init.h> -#include <rtems/rtems/options.h> -#include <rtems/rtems/tasks.h> -#include <rtems/rtems/intr.h> +#include <rtems/io.h> #include <rtems/rtems/barrier.h> #include <rtems/rtems/cache.h> #include <rtems/rtems/clock.h> -#include <rtems/extension.h> -#include <rtems/rtems/timer.h> -#include <rtems/rtems/sem.h> -#include <rtems/rtems/message.h> -#include <rtems/rtems/event.h> -#include <rtems/rtems/signal.h> +#include <rtems/rtems/dpmem.h> #include <rtems/rtems/event.h> +#include <rtems/rtems/intr.h> +#include <rtems/rtems/message.h> #include <rtems/rtems/object.h> +#include <rtems/rtems/options.h> #include <rtems/rtems/part.h> -#include <rtems/rtems/region.h> -#include <rtems/rtems/dpmem.h> -#include <rtems/io.h> -#include <rtems/fatal.h> #include <rtems/rtems/ratemon.h> +#include <rtems/rtems/region.h> +#include <rtems/rtems/sem.h> +#include <rtems/rtems/signal.h> +#include <rtems/rtems/status.h> +#include <rtems/rtems/support.h> +#include <rtems/rtems/tasks.h> +#include <rtems/rtems/timer.h> +#include <rtems/rtems/types.h> + #if defined(RTEMS_MULTIPROCESSING) -#include <rtems/rtems/mp.h> + #include <rtems/rtems/mp.h> #endif -#include <rtems/rtems/support.h> +#ifdef __cplusplus +extern "C" { +#endif +/** + * @defgroup RTEMSAPIClassic Classic + * + * @ingroup RTEMSAPI + * + * @brief This group contains the Classic API groups. + */ + +#ifdef __cplusplus +} #endif -/* end of include file */ + +#endif /* _RTEMS_H */ -- 2.26.2 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel