Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 18:51:19 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r243955 - projects/bpfjit/sys/contrib/sljit
Message-ID:  <201212061851.qB6IpJpe013858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Dec  6 18:51:18 2012
New Revision: 243955
URL: http://svnweb.freebsd.org/changeset/base/243955

Log:
  Add comments about possible non-X86 issues.

Modified:
  projects/bpfjit/sys/contrib/sljit/sljitConfig.h

Modified: projects/bpfjit/sys/contrib/sljit/sljitConfig.h
==============================================================================
--- projects/bpfjit/sys/contrib/sljit/sljitConfig.h	Thu Dec  6 18:41:53 2012	(r243954)
+++ projects/bpfjit/sys/contrib/sljit/sljitConfig.h	Thu Dec  6 18:51:18 2012	(r243955)
@@ -50,11 +50,15 @@
 #define	SLJIT_VERBOSE			0
 
 #define	SLJIT_FREE(ptr)			free(ptr, M_TEMP)
-#define	SLJIT_FREE_EXEC(ptr)		free(ptr, M_TEMP)
 #define	SLJIT_MALLOC(size)		malloc(size, M_TEMP, M_NOWAIT)
-#define	SLJIT_MALLOC_EXEC(size)		malloc(size, M_TEMP, M_NOWAIT)
 #define	SLJIT_MEMMOVE(dest, src, len)	bcopy(src, dest, len)
 #define	SLJIT_ZEROMEM(dest, len)	bzero(dest, len)
+
+/* XXX okay for x86 but other architectures? */
+#define	SLJIT_FREE_EXEC(ptr)		free(ptr, M_TEMP)
+#define	SLJIT_MALLOC_EXEC(size)		malloc(size, M_TEMP, M_NOWAIT)
+
+/* XXX need SLJIT_CACHE_FLUSH(from, to) for non-X86 to flush icache */
 #endif
 
 /* --------------------------------------------------------------------- */



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