You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/11/23 18:40:49 UTC

incubator-mynewt-core git commit: This closes #124.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 5c42d5037 -> eee27c924


This closes #124.

added licence to uhi32.ld and gic.c/h


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/eee27c92
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/eee27c92
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/eee27c92

Branch: refs/heads/develop
Commit: eee27c924588022b4dfb0b6d8df38e5ff2a6c011
Parents: 5c42d50
Author: julian <ju...@imgtec.com>
Authored: Wed Nov 23 14:53:52 2016 +0000
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Nov 23 10:40:05 2016 -0800

----------------------------------------------------------------------
 hw/bsp/ci40/uhi32.ld         | 34 ++++++++++++++++++++++++++++++++--
 hw/mcu/mips/danube/src/gic.c | 19 +++++++++++++++++++
 hw/mcu/mips/danube/src/gic.h | 19 +++++++++++++++++++
 3 files changed, 70 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/eee27c92/hw/bsp/ci40/uhi32.ld
----------------------------------------------------------------------
diff --git a/hw/bsp/ci40/uhi32.ld b/hw/bsp/ci40/uhi32.ld
index 8cc2774..c6e73c9 100644
--- a/hw/bsp/ci40/uhi32.ld
+++ b/hw/bsp/ci40/uhi32.ld
@@ -1,4 +1,34 @@
 /*
+ * Copyright 2014-2015, Imagination Technologies Limited and/or its
+ *                      affiliated group companies.
+ * All rights reserved.
+ *
+ * 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.
+ * 3. Neither the name of the copyright holder nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * 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 HOLDER 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.
+*/
+
+/*
  * A platform and target independent link script to produce UHI
  * compliant binaries with varying levels of system initialization
  * support.
@@ -39,8 +69,8 @@ PROVIDE (__memory_size = 3M);
 /* Base of the memory returned by _get_ram_range */
 PROVIDE (__memory_base = 0x80000000);
 
-/* Stride length for tlb software invalidate for tlbinvf 
- * (mipsXXr3+). Some MIPS implementations may layout the sets/ways 
+/* Stride length for tlb software invalidate for tlbinvf
+ * (mipsXXr3+). Some MIPS implementations may layout the sets/ways
  * differently in the index register. Either sets LSB or ways LSB.
  *
  * By setting this to 1 we presume that sets come first. The default boot

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/eee27c92/hw/mcu/mips/danube/src/gic.c
----------------------------------------------------------------------
diff --git a/hw/mcu/mips/danube/src/gic.c b/hw/mcu/mips/danube/src/gic.c
index 283bbd9..872317e 100644
--- a/hw/mcu/mips/danube/src/gic.c
+++ b/hw/mcu/mips/danube/src/gic.c
@@ -1,3 +1,22 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "gic.h"
 
 #include <mips/cpu.h>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/eee27c92/hw/mcu/mips/danube/src/gic.h
----------------------------------------------------------------------
diff --git a/hw/mcu/mips/danube/src/gic.h b/hw/mcu/mips/danube/src/gic.h
index f855566..df9e3fa 100644
--- a/hw/mcu/mips/danube/src/gic.h
+++ b/hw/mcu/mips/danube/src/gic.h
@@ -1,3 +1,22 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #ifndef H_GIC_H_
 #define H_GIC_H_