aboutsummaryrefslogtreecommitdiff
path: root/external/mambo
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-07-18 12:30:00 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-07-26 15:08:03 +1000
commit5ef3dd30a98796359c45cbeaf1ce7c381a9120e6 (patch)
tree473cf267823efb0710d892d54e264543d1ba8a1d /external/mambo
parent53baedfd19436e8cc33151a0c17cb57863f7303a (diff)
downloadskiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.zip
skiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.tar.gz
skiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.tar.bz2
SPDX-ify all skiboot code
Use Software Package Data Exchange (SPDX) to indicate license for each file that is unique to skiboot. At the same time, ensure the (C) who and years are correct. See https://spdx.org/ Signed-off-by: Stewart Smith <stewart@linux.ibm.com> [oliver: Added a few missing files] Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'external/mambo')
-rw-r--r--external/mambo/Makefile2
-rw-r--r--external/mambo/mambo-socket-proxy.c18
-rw-r--r--external/mambo/mambo_utils.tcl3
-rw-r--r--external/mambo/qtrace_utils.tcl2
-rw-r--r--external/mambo/skiboot.tcl7
5 files changed, 16 insertions, 16 deletions
diff --git a/external/mambo/Makefile b/external/mambo/Makefile
index fbc696e..d750b98 100644
--- a/external/mambo/Makefile
+++ b/external/mambo/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
CFLAGS=-O2 -m64 -pthread -Werror -Wall
CC=$(CROSS)gcc
diff --git a/external/mambo/mambo-socket-proxy.c b/external/mambo/mambo-socket-proxy.c
index f3a1a2f..16053e7 100644
--- a/external/mambo/mambo-socket-proxy.c
+++ b/external/mambo/mambo-socket-proxy.c
@@ -1,19 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright (C) 2017 Michael Neuling <mikey@neuling.org>, IBM
- *
- * Licensed 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.
- *
* Compile with:
* gcc -static -O2 mambo-socket-proxy.c -o mambo-socket-proxy -pthread
* Run inside the simulator:
@@ -23,6 +9,8 @@
* ssh -p 10022 localhost
* - to allow http proxy access from inside the sim to local http proxy
* ./mambo-socket-proxy -b proxy.mynetwork -h 3128 -s 3128
+ *
+ * Copyright (C) 2017 Michael Neuling <mikey@neuling.org>, IBM
*/
#include <stdio.h>
diff --git a/external/mambo/mambo_utils.tcl b/external/mambo/mambo_utils.tcl
index 1defe95..8bde1e1 100644
--- a/external/mambo/mambo_utils.tcl
+++ b/external/mambo/mambo_utils.tcl
@@ -1,5 +1,6 @@
+# SPDX-License-Identifier: Apache-2.0
#
-# behave like gdb
+# Make Mambo behave a bit more like gdb
#
set target_t 0
set target_c 0
diff --git a/external/mambo/qtrace_utils.tcl b/external/mambo/qtrace_utils.tcl
index e12a4c5..3fbcd59 100644
--- a/external/mambo/qtrace_utils.tcl
+++ b/external/mambo/qtrace_utils.tcl
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
if { [file exists $env(LIB_DIR)/perf/qtrace.tcl] == 1} {
if { [catch {source $env(LIB_DIR)/perf/qtrace.tcl} issue ] } {
puts "QTrace not available: $issue"
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 60a0f30..a16bd32 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -1,3 +1,10 @@
+# SPDX-License-Identifier: Apache-2.0
+#
+# scripts to run skiboot (and a payload) with Mambo (otherwise known as the
+# POWER[89] Functional Simulator)
+#
+# Copyright 2014-2019 IBM Corp.
+
# need to get images path defined early
source $env(LIB_DIR)/ppc/util.tcl
if { [file exists qtrace_utils.tcl] } then {