aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Nair2011-07-18 15:07:52 -0500
committerSandeep Nair2011-07-18 15:07:52 -0500
commitcbe38608d032297dcd2a820694e43b147bc60626 (patch)
tree3b9deb7e8b62f9876a15e4beadd116bb8afb94c9
parentf9f77db56df6dd286806ed625faf2b262a99d585 (diff)
downloadmad-utils-cbe38608d032297dcd2a820694e43b147bc60626.tar.gz
mad-utils-cbe38608d032297dcd2a820694e43b147bc60626.tar.xz
mad-utils-cbe38608d032297dcd2a820694e43b147bc60626.zip
Added TI BSD copyright headersDEV.MAD_UTILS.01.00.00.02
-rwxr-xr-xmad-loader/examples/app_1/app_1.c37
-rwxr-xr-xmad-loader/examples/app_2/app_2.c37
-rw-r--r--mad-loader/examples/shlibs/src/printf.c37
-rw-r--r--mad-loader/mal/malApp/src/entry.s35
-rw-r--r--mad-loader/mal/malApp/src/mal_app.c37
-rw-r--r--mad-loader/mal/malApp/src/mal_lib_cb.c37
-rw-r--r--[-rwxr-xr-x]mad-loader/mal/malLib/include/mal_lib.h36
-rw-r--r--[-rwxr-xr-x]mad-loader/mal/malLib/include/mal_lib_activation_record.h36
-rw-r--r--mad-loader/mal/malLib/include/mal_lib_cb.h36
-rw-r--r--[-rwxr-xr-x]mad-loader/mal/malLib/include/mal_lib_file_utils.h36
-rw-r--r--mad-loader/mal/malLib/malApis/delay.s35
-rw-r--r--mad-loader/mal/malLib/malApis/device_C6472.h36
-rw-r--r--mad-loader/mal/malLib/malApis/device_C6670.h36
-rw-r--r--mad-loader/mal/malLib/malApis/device_C6678.h36
-rw-r--r--mad-loader/mal/malLib/malApis/mal_lib_file_utils.c37
-rw-r--r--mad-loader/mal/malLib/malApis/mal_lib_loader.c37
-rw-r--r--mad-loader/mal/malLib/malApis/mal_lib_loc.h37
-rw-r--r--mad-loader/nmlLoader/src/device_C6472.h36
-rw-r--r--mad-loader/nmlLoader/src/device_C6670.h36
-rw-r--r--mad-loader/nmlLoader/src/device_C6678.h36
-rw-r--r--mad-loader/nmlLoader/src/entry.s32
-rw-r--r--mad-loader/nmlLoader/src/nml_ar_utils.c36
-rw-r--r--mad-loader/nmlLoader/src/nml_ar_utils.h36
-rw-r--r--mad-loader/nmlLoader/src/nml_loader.c36
-rwxr-xr-xmap-tool/maptool.py31
25 files changed, 831 insertions, 66 deletions
diff --git a/mad-loader/examples/app_1/app_1.c b/mad-loader/examples/app_1/app_1.c
index 010f5d5..9750e87 100755
--- a/mad-loader/examples/app_1/app_1.c
+++ b/mad-loader/examples/app_1/app_1.c
@@ -1,6 +1,37 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
4 35
5extern volatile unsigned int cregister DNUM; 36extern volatile unsigned int cregister DNUM;
6__declspec(dllimport) int myprintf(const char *_format, ...); 37__declspec(dllimport) int myprintf(const char *_format, ...);
diff --git a/mad-loader/examples/app_2/app_2.c b/mad-loader/examples/app_2/app_2.c
index f565762..d4a536a 100755
--- a/mad-loader/examples/app_2/app_2.c
+++ b/mad-loader/examples/app_2/app_2.c
@@ -1,6 +1,37 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
4 35
5extern volatile unsigned int cregister DNUM; 36extern volatile unsigned int cregister DNUM;
6__declspec(dllimport) int myprintf(const char *_format, ...); 37__declspec(dllimport) int myprintf(const char *_format, ...);
diff --git a/mad-loader/examples/shlibs/src/printf.c b/mad-loader/examples/shlibs/src/printf.c
index 5c560a6..f151d83 100644
--- a/mad-loader/examples/shlibs/src/printf.c
+++ b/mad-loader/examples/shlibs/src/printf.c
@@ -1,7 +1,38 @@
1/*****************************************************************************/ 1/*****************************************************************************/
2/* PRINTF.C v##### */ 2/*
3/* Copyright (c) 1995@%%%% Texas Instruments Incorporated */ 3 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
4/*****************************************************************************/ 4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
13 * Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the
16 * distribution.
17 *
18 * Neither the name of Texas Instruments Incorporated nor the names of
19 * its contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 *
34*/
35
5 36
6/*****************************************************************************/ 37/*****************************************************************************/
7/* Functions: */ 38/* Functions: */
diff --git a/mad-loader/mal/malApp/src/entry.s b/mad-loader/mal/malApp/src/entry.s
index cf2045c..a86e238 100644
--- a/mad-loader/mal/malApp/src/entry.s
+++ b/mad-loader/mal/malApp/src/entry.s
@@ -1,4 +1,37 @@
1; Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 1; Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
2;
3;
4; Redistribution and use in source and binary forms, with or without
5; modification, are permitted provided that the following conditions
6; are met:
7;
8; Redistributions of source code must retain the above copyright
9; notice, this list of conditions and the following disclaimer.
10;
11; Redistributions in binary form must reproduce the above copyright
12; notice, this list of conditions and the following disclaimer in the
13; documentation and/or other materials provided with the
14; distribution.
15;
16; Neither the name of Texas Instruments Incorporated nor the names of
17; its contributors may be used to endorse or promote products derived
18; from this software without specific prior written permission.
19;
20; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31;
32
33; This file implements the NML entry point function
34;
2 35
3; Entry function for the standalone application loader 36; Entry function for the standalone application loader
4; This redirection is done to ensure that entry point address can be made fixed 37; This redirection is done to ensure that entry point address can be made fixed
diff --git a/mad-loader/mal/malApp/src/mal_app.c b/mad-loader/mal/malApp/src/mal_app.c
index 315ccdd..48005e3 100644
--- a/mad-loader/mal/malApp/src/mal_app.c
+++ b/mad-loader/mal/malApp/src/mal_app.c
@@ -1,6 +1,37 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
4 35
5/* This file contains the implementation of a standalone Application Loader. 36/* This file contains the implementation of a standalone Application Loader.
6 * It uses the Multicore Application Loader (MAL) Library API's to load 37 * It uses the Multicore Application Loader (MAL) Library API's to load
diff --git a/mad-loader/mal/malApp/src/mal_lib_cb.c b/mad-loader/mal/malApp/src/mal_lib_cb.c
index 70a2658..7942e4c 100644
--- a/mad-loader/mal/malApp/src/mal_lib_cb.c
+++ b/mad-loader/mal/malApp/src/mal_lib_cb.c
@@ -1,6 +1,37 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
4 35
5/* This fie implements the Callback functions from MAL library */ 36/* This fie implements the Callback functions from MAL library */
6 37
diff --git a/mad-loader/mal/malLib/include/mal_lib.h b/mad-loader/mal/malLib/include/mal_lib.h
index bb79a5b..83cb2ce 100755..100644
--- a/mad-loader/mal/malLib/include/mal_lib.h
+++ b/mad-loader/mal/malLib/include/mal_lib.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5#ifndef __MAL_LIB_H__ 35#ifndef __MAL_LIB_H__
6#define __MAL_LIB_H__ 36#define __MAL_LIB_H__
diff --git a/mad-loader/mal/malLib/include/mal_lib_activation_record.h b/mad-loader/mal/malLib/include/mal_lib_activation_record.h
index 6822331..54b58f9 100755..100644
--- a/mad-loader/mal/malLib/include/mal_lib_activation_record.h
+++ b/mad-loader/mal/malLib/include/mal_lib_activation_record.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/** 35/**
6 * @file mal_lib_activation_record.h 36 * @file mal_lib_activation_record.h
diff --git a/mad-loader/mal/malLib/include/mal_lib_cb.h b/mad-loader/mal/malLib/include/mal_lib_cb.h
index 4812054..33e4dc4 100644
--- a/mad-loader/mal/malLib/include/mal_lib_cb.h
+++ b/mad-loader/mal/malLib/include/mal_lib_cb.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/* This file defines the callback functions from MAL to the user 35/* This file defines the callback functions from MAL to the user
6 * These functions must be defined in the library user code 36 * These functions must be defined in the library user code
diff --git a/mad-loader/mal/malLib/include/mal_lib_file_utils.h b/mad-loader/mal/malLib/include/mal_lib_file_utils.h
index 40a98db..ac271e1 100755..100644
--- a/mad-loader/mal/malLib/include/mal_lib_file_utils.h
+++ b/mad-loader/mal/malLib/include/mal_lib_file_utils.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5#ifndef __MAL_LIB_FILE_UTILS_H__ 35#ifndef __MAL_LIB_FILE_UTILS_H__
6#define __MAL_LIB_FILE_UTILS_H__ 36#define __MAL_LIB_FILE_UTILS_H__
diff --git a/mad-loader/mal/malLib/malApis/delay.s b/mad-loader/mal/malLib/malApis/delay.s
index cf20c6a..832993c 100644
--- a/mad-loader/mal/malLib/malApis/delay.s
+++ b/mad-loader/mal/malLib/malApis/delay.s
@@ -1,4 +1,37 @@
1; Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 1; Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
2;
3;
4; Redistribution and use in source and binary forms, with or without
5; modification, are permitted provided that the following conditions
6; are met:
7;
8; Redistributions of source code must retain the above copyright
9; notice, this list of conditions and the following disclaimer.
10;
11; Redistributions in binary form must reproduce the above copyright
12; notice, this list of conditions and the following disclaimer in the
13; documentation and/or other materials provided with the
14; distribution.
15;
16; Neither the name of Texas Instruments Incorporated nor the names of
17; its contributors may be used to endorse or promote products derived
18; from this software without specific prior written permission.
19;
20; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31;
32
33; This file implements the NML entry point function
34;
2 35
3;******************************************************************************* 36;*******************************************************************************
4;* Provide a rough delay, in CPU cycles. 37;* Provide a rough delay, in CPU cycles.
diff --git a/mad-loader/mal/malLib/malApis/device_C6472.h b/mad-loader/mal/malLib/malApis/device_C6472.h
index 37b3721..a13a115 100644
--- a/mad-loader/mal/malLib/malApis/device_C6472.h
+++ b/mad-loader/mal/malLib/malApis/device_C6472.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5#ifndef __DEVICE_C6472_H__ 35#ifndef __DEVICE_C6472_H__
6#define __DEVICE_C6472_H__ 36#define __DEVICE_C6472_H__
diff --git a/mad-loader/mal/malLib/malApis/device_C6670.h b/mad-loader/mal/malLib/malApis/device_C6670.h
index 5fca2e4..252fba6 100644
--- a/mad-loader/mal/malLib/malApis/device_C6670.h
+++ b/mad-loader/mal/malLib/malApis/device_C6670.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5#ifndef __DEVICE_C6670_H__ 35#ifndef __DEVICE_C6670_H__
6#define __DEVICE_C6670_H__ 36#define __DEVICE_C6670_H__
diff --git a/mad-loader/mal/malLib/malApis/device_C6678.h b/mad-loader/mal/malLib/malApis/device_C6678.h
index f9977a7..ff9caff 100644
--- a/mad-loader/mal/malLib/malApis/device_C6678.h
+++ b/mad-loader/mal/malLib/malApis/device_C6678.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5#ifndef __DEVICE_C6678_H__ 35#ifndef __DEVICE_C6678_H__
6#define __DEVICE_C6678_H__ 36#define __DEVICE_C6678_H__
diff --git a/mad-loader/mal/malLib/malApis/mal_lib_file_utils.c b/mad-loader/mal/malLib/malApis/mal_lib_file_utils.c
index 1264bd7..e77ccb2 100644
--- a/mad-loader/mal/malLib/malApis/mal_lib_file_utils.c
+++ b/mad-loader/mal/malLib/malApis/mal_lib_file_utils.c
@@ -1,6 +1,37 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
4 35
5/* This file contains the implementation of a ROMFS parser 36/* This file contains the implementation of a ROMFS parser
6 * It provides an API interface for application to open and 37 * It provides an API interface for application to open and
diff --git a/mad-loader/mal/malLib/malApis/mal_lib_loader.c b/mad-loader/mal/malLib/malApis/mal_lib_loader.c
index 3d91d50..7ebb0d6 100644
--- a/mad-loader/mal/malLib/malApis/mal_lib_loader.c
+++ b/mad-loader/mal/malLib/malApis/mal_lib_loader.c
@@ -1,6 +1,37 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
4 35
5/* MAL Library functions */ 36/* MAL Library functions */
6 37
diff --git a/mad-loader/mal/malLib/malApis/mal_lib_loc.h b/mad-loader/mal/malLib/malApis/mal_lib_loc.h
index 0b996aa..7130265 100644
--- a/mad-loader/mal/malLib/malApis/mal_lib_loc.h
+++ b/mad-loader/mal/malLib/malApis/mal_lib_loc.h
@@ -1,6 +1,37 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
4 35
5#ifndef __MAL_LIB_LOC_H__ 36#ifndef __MAL_LIB_LOC_H__
6#define __MAL_LIB_LOC_H__ 37#define __MAL_LIB_LOC_H__
diff --git a/mad-loader/nmlLoader/src/device_C6472.h b/mad-loader/nmlLoader/src/device_C6472.h
index 2d747f1..d76287a 100644
--- a/mad-loader/nmlLoader/src/device_C6472.h
+++ b/mad-loader/nmlLoader/src/device_C6472.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/** 35/**
6 * @file device_C6472.h 36 * @file device_C6472.h
diff --git a/mad-loader/nmlLoader/src/device_C6670.h b/mad-loader/nmlLoader/src/device_C6670.h
index bb89dfa..8ffe7fd 100644
--- a/mad-loader/nmlLoader/src/device_C6670.h
+++ b/mad-loader/nmlLoader/src/device_C6670.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/** 35/**
6 * @file device_C6670.h 36 * @file device_C6670.h
diff --git a/mad-loader/nmlLoader/src/device_C6678.h b/mad-loader/nmlLoader/src/device_C6678.h
index 7330c9f..d6693a7 100644
--- a/mad-loader/nmlLoader/src/device_C6678.h
+++ b/mad-loader/nmlLoader/src/device_C6678.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/** 35/**
6 * @file device_C6678.h 36 * @file device_C6678.h
diff --git a/mad-loader/nmlLoader/src/entry.s b/mad-loader/nmlLoader/src/entry.s
index 65f87bf..a77b447 100644
--- a/mad-loader/nmlLoader/src/entry.s
+++ b/mad-loader/nmlLoader/src/entry.s
@@ -1,4 +1,34 @@
1; Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 1; Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
2;
3;
4; Redistribution and use in source and binary forms, with or without
5; modification, are permitted provided that the following conditions
6; are met:
7;
8; Redistributions of source code must retain the above copyright
9; notice, this list of conditions and the following disclaimer.
10;
11; Redistributions in binary form must reproduce the above copyright
12; notice, this list of conditions and the following disclaimer in the
13; documentation and/or other materials provided with the
14; distribution.
15;
16; Neither the name of Texas Instruments Incorporated nor the names of
17; its contributors may be used to endorse or promote products derived
18; from this software without specific prior written permission.
19;
20; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31;
2 32
3; This file implements the NML entry point function 33; This file implements the NML entry point function
4; 34;
diff --git a/mad-loader/nmlLoader/src/nml_ar_utils.c b/mad-loader/nmlLoader/src/nml_ar_utils.c
index 21d2506..59eb2ac 100644
--- a/mad-loader/nmlLoader/src/nml_ar_utils.c
+++ b/mad-loader/nmlLoader/src/nml_ar_utils.c
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/** 35/**
6 * @file nml_ar_utils.c 36 * @file nml_ar_utils.c
diff --git a/mad-loader/nmlLoader/src/nml_ar_utils.h b/mad-loader/nmlLoader/src/nml_ar_utils.h
index 41376be..7f81928 100644
--- a/mad-loader/nmlLoader/src/nml_ar_utils.h
+++ b/mad-loader/nmlLoader/src/nml_ar_utils.h
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/** 35/**
6 * @file nml_ar_utils.h 36 * @file nml_ar_utils.h
diff --git a/mad-loader/nmlLoader/src/nml_loader.c b/mad-loader/nmlLoader/src/nml_loader.c
index 6d17525..f4a6328 100644
--- a/mad-loader/nmlLoader/src/nml_loader.c
+++ b/mad-loader/nmlLoader/src/nml_loader.c
@@ -1,6 +1,36 @@
1/* 1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 */ 3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
4 34
5/* This file contains the implementation of the No Man's Land (NML) Loader 35/* This file contains the implementation of the No Man's Land (NML) Loader
6 * The address space used by NML Loader will be reserved and cannot be used 36 * The address space used by NML Loader will be reserved and cannot be used
diff --git a/map-tool/maptool.py b/map-tool/maptool.py
index f8dd57f..9b21c4a 100755
--- a/map-tool/maptool.py
+++ b/map-tool/maptool.py
@@ -1,3 +1,34 @@
1# Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
2#
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions
6# are met:
7#
8# Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10#
11# Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the
14# distribution.
15#
16# Neither the name of Texas Instruments Incorporated nor the names of
17# its contributors may be used to endorse or promote products derived
18# from this software without specific prior written permission.
19#
20# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
1import os.path 32import os.path
2import json 33import json
3import re 34import re