socsvn commit: r271059 - in soc2014/op/freebsd-base/sys: amd64/include conf
op at FreeBSD.org
op at FreeBSD.org
Fri Jul 18 08:24:31 UTC 2014
Author: op
Date: Fri Jul 18 08:24:30 2014
New Revision: 271059
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271059
Log:
KSP: fixed build
git: https://github.com/opntr/opBSD/tree/op/gsoc2014/kpatch
Signed-off-by: Oliver Pinter <oliver.pntr at gmail.com>
---
sys/amd64/include/_selfpatch.h | 34 ++++++++++++++++++++++++++++++++++
sys/conf/files.amd64 | 2 +-
2 files changed, 35 insertions(+), 1 deletion(-)
create mode 100644 sys/amd64/include/_selfpatch.h
Added:
soc2014/op/freebsd-base/sys/amd64/include/_selfpatch.h
Modified:
soc2014/op/freebsd-base/sys/conf/files.amd64
Added: soc2014/op/freebsd-base/sys/amd64/include/_selfpatch.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ soc2014/op/freebsd-base/sys/amd64/include/_selfpatch.h Fri Jul 18 08:24:30 2014 (r271059)
@@ -0,0 +1,34 @@
+/*-
+ * Copyright (c) 2014, by Oliver Pinter <oliver.pntr at gmail.com>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#ifndef __AMD64_SELFPATH_H__
+#define __AMD64_SELFPATH_H__
+
+#include <x86/_selfpatch.h>
+
+#endif /* __AMD64_SELFPATH_H__ */
Modified: soc2014/op/freebsd-base/sys/conf/files.amd64
==============================================================================
--- soc2014/op/freebsd-base/sys/conf/files.amd64 Fri Jul 18 08:20:31 2014 (r271058)
+++ soc2014/op/freebsd-base/sys/conf/files.amd64 Fri Jul 18 08:24:30 2014 (r271059)
@@ -554,7 +554,7 @@
x86/x86/nexus.c standard
x86/x86/tsc.c standard
x86/x86/delay.c standard
-x86/x86/selfpatch.c standard
+x86/x86/selfpatch_machdep.c standard
x86/xen/hvm.c optional xenhvm
x86/xen/xen_intr.c optional xen | xenhvm
x86/xen/pv.c optional xenhvm
More information about the svn-soc-all
mailing list