aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2008-12-05 18:06:02 +0100
committerAndi Kleen <ak@linux.intel.com>2008-12-05 18:06:02 +0100
commitf98017b00317c83ae1c9299ba45437a09b2b9689 (patch)
tree00c167a551f6c30232193c3a94a5074859fa313e
parentbb2a53248ae392db97b7ab4a01db490bd69a597c (diff)
downloadmce-inject-f98017b00317c83ae1c9299ba45437a09b2b9689.tar.gz
Add copyright notices
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r--inject.c22
-rw-r--r--mce.lex22
-rw-r--r--mce.y25
3 files changed, 65 insertions, 4 deletions
diff --git a/inject.c b/inject.c
index 73fc597..a9c344f 100644
--- a/inject.c
+++ b/inject.c
@@ -1,4 +1,24 @@
-/* Inject machine checks into kernel for testing */
+/* Copyright (c) 2008 by Intel Corp.
+ Inject machine checks into kernel for testing.
+
+ mce-inject is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; version
+ 2.
+
+ mce-inject is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should find a copy of v2 of the GNU General Public License somewhere
+ on your Linux system; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ Authors:
+ Andi Kleen
+ Ying Huang
+*/
#define _GNU_SOURCE 1
#include <stdio.h>
#include <sys/fcntl.h>
diff --git a/mce.lex b/mce.lex
index 560f774..7627022 100644
--- a/mce.lex
+++ b/mce.lex
@@ -1,4 +1,24 @@
-/* Scanner for the machine check grammar */
+/* Copyright (c) 2008 by Intel Corp.
+ Scanner for the machine check grammar.
+
+ mce-inject is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; version
+ 2.
+
+ mce-inject is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should find a copy of v2 of the GNU General Public License somewhere
+ on your Linux system; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ Authors:
+ Andi Kleen
+ Ying Huang
+*/
%{
#define _GNU_SOURCE 1
#include <stdlib.h>
diff --git a/mce.y b/mce.y
index 0ce3913..30b5eca 100644
--- a/mce.y
+++ b/mce.y
@@ -1,5 +1,26 @@
-/* Grammar for machine check injection. Follows the format printed out
- by the kernel on panics with some extensions. See SPEC. */
+/* Copyright (c) 2008 by Intel Corp.
+ Grammar for machine check injection. Follows the format printed out
+ by the kernel on panics with some extensions. See SPEC.
+
+ mce-inject is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; version
+ 2.
+
+ mce-inject is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should find a copy of v2 of the GNU General Public License somewhere
+ on your Linux system; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ Authors:
+ Andi Kleen
+ Ying Huang
+*/
+
%{
#include <string.h>
#include <stdarg.h>