Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 17:23:20 GMT
From:      op@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r268657 - soc2014/op/tests/smap-tester/kmod
Message-ID:  <201405261723.s4QHNKCa028971@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: op
Date: Mon May 26 17:23:20 2014
New Revision: 268657
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=268657

Log:
  temporary hack to include stac() and clac()
  
  Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
  
  

Modified:
  soc2014/op/tests/smap-tester/kmod/smap-tester-vuln-kld.c

Modified: soc2014/op/tests/smap-tester/kmod/smap-tester-vuln-kld.c
==============================================================================
--- soc2014/op/tests/smap-tester/kmod/smap-tester-vuln-kld.c	Mon May 26 16:01:45 2014	(r268656)
+++ soc2014/op/tests/smap-tester/kmod/smap-tester-vuln-kld.c	Mon May 26 17:23:20 2014	(r268657)
@@ -1,4 +1,6 @@
 #include <sys/types.h>
+#include <sys/cdefs.h>
+#include "../../../freebsd-base/sys/amd64/include/cpufunc.h" // XXXOP - hack
 #include <sys/module.h>
 #include <sys/systm.h>
 #include <sys/param.h>
@@ -9,6 +11,7 @@
 #include <sys/malloc.h>
 #include <vm/vm.h>
 
+
 const char *agreement = "shoot my foot!!!11oneone!!";
 static bool allow_tests = false;
 static char *buf = NULL;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405261723.s4QHNKCa028971>