summaryrefslogtreecommitdiff
path: root/src/arch/x86/memmove.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-01-12 15:55:28 -0700
committerMartin Roth <martinroth@google.com>2016-01-14 23:37:06 +0100
commit9df9e939146f6b715947754eb10c8d96ab7c5873 (patch)
tree483723c3682751f2e0128fa9a6e79b84bc395482 /src/arch/x86/memmove.c
parent1ff0f54f03ed0ebfd4c827bc11e31bc8309828ce (diff)
downloadcoreboot-9df9e939146f6b715947754eb10c8d96ab7c5873.tar.xz
arch/x86: add missing license headers
These were mostly written as part of the coreboot project, so get the standard coreboot license header. memmove.c came from the linux kernel, so also gets the standard coreboot v2 license header, but gets the added attribution that it was derived from the linux kernel. Unlike many coreboot files, this file may not be re-licensed as GPL V3. Change-Id: I1fdc26b543e059f7a42d4b886f7222f4c74b959d Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12916 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/x86/memmove.c')
-rw-r--r--src/arch/x86/memmove.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/x86/memmove.c b/src/arch/x86/memmove.c
index ba121278da..7c554b8a24 100644
--- a/src/arch/x86/memmove.c
+++ b/src/arch/x86/memmove.c
@@ -1,3 +1,19 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * This program 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 of the License.
+ *
+ * This program 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.
+ *
+ * This file is derived from memcpy_32.c in the Linux kernel.
+ * Unlike many coreboot files, this file may not be re-licensed as GPL V3
+ */
+
#include <string.h>
void *memmove(void *dest, const void *src, size_t n)