Module Name:    src
Committed By:   alnsn
Date:           Sun Nov 17 12:01:58 UTC 2013

Modified Files:
        src/sys/arch/amd64/include: sljitarch.h
        src/sys/arch/i386/include: sljitarch.h
        src/sys/arch/mips/include: sljitarch.h
        src/sys/arch/sparc/include: sljitarch.h

Log Message:
Always define SLJIT_CACHE_FLUSH(), start include guards with '_' and use _LP64 
guard.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amd64/include/sljitarch.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/include/sljitarch.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/include/sljitarch.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc/include/sljitarch.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/include/sljitarch.h
diff -u src/sys/arch/amd64/include/sljitarch.h:1.1 src/sys/arch/amd64/include/sljitarch.h:1.2
--- src/sys/arch/amd64/include/sljitarch.h:1.1	Sat Oct 13 19:42:03 2012
+++ src/sys/arch/amd64/include/sljitarch.h	Sun Nov 17 12:01:58 2013
@@ -1,7 +1,7 @@
-/*	$NetBSD: sljitarch.h,v 1.1 2012/10/13 19:42:03 alnsn Exp $	*/
+/*	$NetBSD: sljitarch.h,v 1.2 2013/11/17 12:01:58 alnsn Exp $	*/
 
 /*-
- * Copyright (c) 2012 The NetBSD Foundation, Inc.
+ * Copyright (c) 2012-2013 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -26,9 +26,11 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AMD64_SLJITARCH_H
-#define AMD64_SLJITARCH_H
+#ifndef _AMD64_SLJITARCH_H
+#define _AMD64_SLJITARCH_H
 
 #define SLJIT_CONFIG_X86_64 1
 
+#define SLJIT_CACHE_FLUSH(from, to)
+
 #endif

Index: src/sys/arch/i386/include/sljitarch.h
diff -u src/sys/arch/i386/include/sljitarch.h:1.2 src/sys/arch/i386/include/sljitarch.h:1.3
--- src/sys/arch/i386/include/sljitarch.h:1.2	Sun Nov 18 14:39:42 2012
+++ src/sys/arch/i386/include/sljitarch.h	Sun Nov 17 12:01:58 2013
@@ -1,7 +1,7 @@
-/*	$NetBSD: sljitarch.h,v 1.2 2012/11/18 14:39:42 alnsn Exp $	*/
+/*	$NetBSD: sljitarch.h,v 1.3 2013/11/17 12:01:58 alnsn Exp $	*/
 
 /*-
- * Copyright (c) 2012 The NetBSD Foundation, Inc.
+ * Copyright (c) 2012-2013 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -26,12 +26,15 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef I386_SLJITARCH_H
-#define I386_SLJITARCH_H
+#ifndef _I386_SLJITARCH_H
+#define _I386_SLJITARCH_H
 
 #define SLJIT_CONFIG_X86_32 1
 
+/* No call attributes. */
 #define SLJIT_CALL
 #define SLJIT_X86_32_FASTCALL 0
 
+#define SLJIT_CACHE_FLUSH(from, to)
+
 #endif

Index: src/sys/arch/mips/include/sljitarch.h
diff -u src/sys/arch/mips/include/sljitarch.h:1.2 src/sys/arch/mips/include/sljitarch.h:1.3
--- src/sys/arch/mips/include/sljitarch.h:1.2	Sun Nov 25 23:04:51 2012
+++ src/sys/arch/mips/include/sljitarch.h	Sun Nov 17 12:01:58 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: sljitarch.h,v 1.2 2012/11/25 23:04:51 alnsn Exp $	*/
+/*	$NetBSD: sljitarch.h,v 1.3 2013/11/17 12:01:58 alnsn Exp $	*/
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -26,8 +26,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef MIPS_SLJITARCH_H
-#define MIPS_SLJITARCH_H
+#ifndef _MIPS_SLJITARCH_H
+#define _MIPS_SLJITARCH_H
 
 #ifndef _LP64
 #define SLJIT_CONFIG_MIPS_32 1

Index: src/sys/arch/sparc/include/sljitarch.h
diff -u src/sys/arch/sparc/include/sljitarch.h:1.1 src/sys/arch/sparc/include/sljitarch.h:1.2
--- src/sys/arch/sparc/include/sljitarch.h:1.1	Mon Nov  5 23:08:59 2012
+++ src/sys/arch/sparc/include/sljitarch.h	Sun Nov 17 12:01:58 2013
@@ -1,7 +1,7 @@
-/*	$NetBSD: sljitarch.h,v 1.1 2012/11/05 23:08:59 alnsn Exp $	*/
+/*	$NetBSD: sljitarch.h,v 1.2 2013/11/17 12:01:58 alnsn Exp $	*/
 
 /*-
- * Copyright (c) 2012 The NetBSD Foundation, Inc.
+ * Copyright (c) 2012-2013 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -26,10 +26,12 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef SPARC_SLJITARCH_H
-#define SPARC_SLJITARCH_H
+#ifndef _SPARC_SLJITARCH_H
+#define _SPARC_SLJITARCH_H
 
+#ifndef _LP64
 #define SLJIT_CONFIG_SPARC_32 1
+#endif
 
 #define SLJIT_CACHE_FLUSH(from, to) \
 	sparc_cache_flush((from), (to))

Reply via email to