summaryrefslogtreecommitdiffstats
path: root/bsps/shared/start
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-24 11:13:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-24 11:15:07 +0100
commit32b0d6f84a0895d964960ece9874402c9ba397bb (patch)
treedd1fec21c54f2e75829785d35e21e38705561ce5 /bsps/shared/start
parentbuild: Sort source lists (diff)
downloadrtems-32b0d6f84a0895d964960ece9874402c9ba397bb.tar.bz2
bsps: Change license to BSD-2-Clause of some files
Change license to BSD-2-Clause according to file histories and re-licensing agreement. Update #3899.
Diffstat (limited to 'bsps/shared/start')
-rw-r--r--bsps/shared/start/bspgetworkarea-default.c43
1 files changed, 34 insertions, 9 deletions
diff --git a/bsps/shared/start/bspgetworkarea-default.c b/bsps/shared/start/bspgetworkarea-default.c
index a7c4c04ee7..90a30e5fd0 100644
--- a/bsps/shared/start/bspgetworkarea-default.c
+++ b/bsps/shared/start/bspgetworkarea-default.c
@@ -1,22 +1,47 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
/**
* @file
*
- * This routine is an implementation of the _Memory_Get()
- * that can be used by all BSPs following linkcmds conventions
- * regarding heap, stack, and workspace allocation.
+ * @ingroup RTEMSScoreMemory
+ *
+ * @ingroup RTEMSBSPsSharedStartup
+ *
+ * @brief This source file contains the default implementation of
+ * _Memory_Get().
*/
/*
- * COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
+ * Copyright (C) 2011, 2019 embedded brains GmbH (http://www.embedded-brains.de)
*
- * Copyright (c) 2011-2012 embedded brains GmbH.
+ * Copyright (C) 1989, 2009 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.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <bsp/bootcard.h>