[meta-intel] [PATCH 2/2][rmc] rmc: fix copyright notices
Todor Minchev
todor.minchev at linux.intel.com
Fri Mar 24 13:31:34 PDT 2017
Attribute copyright to Intel and add MIT license headers
Signed-off-by: Todor Minchev <todor.minchev at linux.intel.com>
---
COPYING | 2 ++
Makefile | 3 ++-
Makefile.efi | 3 ++-
inc/rmc_api.h | 26 ++++++++++++++++++++++++--
inc/rmc_types.h | 24 ++++++++++++++++++++++--
inc/rmc_util.h | 25 +++++++++++++++++++++++++
inc/rmcl.h | 26 +++++++++++++++++++++++++-
inc/rsmp.h | 27 ++++++++++++++++++++++++++-
src/lib/api.c | 26 ++++++++++++++++++++++++--
src/lib/common/rmcl.c | 26 ++++++++++++++++++++++++--
src/lib/common/rsmp.c | 26 ++++++++++++++++++++++++--
src/lib/efi_api.c | 25 +++++++++++++++++++++++--
src/lib/rmc_efi.h | 26 +++++++++++++++++++++++++-
src/rmc.c | 29 +++++++++++++++++++++++++++--
14 files changed, 275 insertions(+), 19 deletions(-)
diff --git a/COPYING b/COPYING
index 89de354..a4aa6e2 100644
--- a/COPYING
+++ b/COPYING
@@ -1,3 +1,5 @@
+Copyright (c) 2016 - 2017 Intel Corporation
+
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
diff --git a/Makefile b/Makefile
index fdd936f..1c509e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-# Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+# Copyright (c) 2016 - 2017 Intel Corporation.
+# Author: Jianxun Zhang <jianxun.zhang at intel.com>
TOPDIR = $(shell if [ -z "$$PWD" ]; then pwd; else echo "$$PWD"; fi)
diff --git a/Makefile.efi b/Makefile.efi
index 66081d7..4f69dfe 100644
--- a/Makefile.efi
+++ b/Makefile.efi
@@ -1,4 +1,5 @@
-# Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+# Copyright (c) 2016 - 2017 Intel Corporation.
+# Author: Jianxun Zhang <jianxun.zhang at intel.com>
TOPDIR = $(shell if [ -z "$$PWD" ]; then pwd; else echo "$$PWD"; fi)
diff --git a/inc/rmc_api.h b/inc/rmc_api.h
index 2f8c978..04cd88d 100644
--- a/inc/rmc_api.h
+++ b/inc/rmc_api.h
@@ -1,8 +1,30 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
*
- * header file of RMC APIs for clients to call at run time
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+/* header file of RMC APIs for clients to call at run time */
+
#ifndef INC_RMC_API_H_
#define INC_RMC_API_H_
diff --git a/inc/rmc_types.h b/inc/rmc_types.h
index 28bea84..370c400 100644
--- a/inc/rmc_types.h
+++ b/inc/rmc_types.h
@@ -1,6 +1,26 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
*
- * rmc_types.h
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef INC_RMC_TYPES_H_
diff --git a/inc/rmc_util.h b/inc/rmc_util.h
index 15a6102..a97b16e 100644
--- a/inc/rmc_util.h
+++ b/inc/rmc_util.h
@@ -1,3 +1,28 @@
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
/* util.c - implementation of basic C functions
* In EFI land, we don't have all of these functions as what we do
* from std C lib.
diff --git a/inc/rmcl.h b/inc/rmcl.h
index 471ebfe..9c5be26 100644
--- a/inc/rmcl.h
+++ b/inc/rmcl.h
@@ -1,5 +1,29 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/*
* RMC Library (RMCL)
*
* Provide API and RMC data types of RMCL to outside
diff --git a/inc/rsmp.h b/inc/rsmp.h
index 5be768e..49c1660 100644
--- a/inc/rsmp.h
+++ b/inc/rsmp.h
@@ -1,8 +1,33 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/*
* header file for standard smbios structure definitions
* Reference: SMBIOS Reference Specification 3.0.0
*/
+
#ifndef INC_RSMP_H_
#define INC_RSMP_H_
diff --git a/src/lib/api.c b/src/lib/api.c
index a3b378c..5be804a 100644
--- a/src/lib/api.c
+++ b/src/lib/api.c
@@ -1,8 +1,30 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
*
- * RMC API implementation for Linux user space
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+/* RMC API implementation for Linux user space */
+
#define _GNU_SOURCE
#include <stdio.h>
#include <unistd.h>
diff --git a/src/lib/common/rmcl.c b/src/lib/common/rmcl.c
index 58a4a52..3766d13 100644
--- a/src/lib/common/rmcl.c
+++ b/src/lib/common/rmcl.c
@@ -1,8 +1,30 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
*
- * RMC Library
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+/* RMC Library */
+
#include <rmc_types.h>
#include <rmcl.h>
diff --git a/src/lib/common/rsmp.c b/src/lib/common/rsmp.c
index 8e6a4c8..70542d2 100644
--- a/src/lib/common/rsmp.c
+++ b/src/lib/common/rsmp.c
@@ -1,8 +1,30 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
*
- * RMC SMBIOS Parser (RSMP)
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+/* RMC SMBIOS Parser (RSMP) */
+
#include <rsmp.h>
#ifdef RMC_EFI
diff --git a/src/lib/efi_api.c b/src/lib/efi_api.c
index 79b17a8..bdae508 100644
--- a/src/lib/efi_api.c
+++ b/src/lib/efi_api.c
@@ -1,8 +1,29 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
*
- * RMC API implementation for EFI context
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+/* RMC API implementation for EFI context */
#include <rmcl.h>
#include <rsmp.h>
diff --git a/src/lib/rmc_efi.h b/src/lib/rmc_efi.h
index be7f3cb..fa7e3ed 100644
--- a/src/lib/rmc_efi.h
+++ b/src/lib/rmc_efi.h
@@ -1,5 +1,29 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
*
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/*
* EFI Definitions
* It doesn't mean we have an EFI implementation in RMC.
* We only provide what we need for EFI work (e.g. parsing sys
diff --git a/src/rmc.c b/src/rmc.c
index 0c4127d..b434c21 100644
--- a/src/rmc.c
+++ b/src/rmc.c
@@ -1,10 +1,35 @@
-/* Copyright (C) 2016 Jianxun Zhang <jianxun.zhang at intel.com>
+/*
+ * Copyright (c) 2016 - 2017 Intel Corporation.
+ *
+ * Author: Jianxun Zhang <jianxun.zhang at intel.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
*
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/*
* rmc tool
*
* - Obtain fingerprint of the type of board it runs on
* - Generate RMC records and database with fingerprint and board-specific data
- * - Query file blobs associated to the type of board at run time.
+ * - Query file blobs associated to the type of board at run time
+ * - Extract fingerpring and database data
*/
#include <stdio.h>
--
2.12.1
More information about the meta-intel
mailing list