Changeset 987
- Timestamp:
- 07/18/2012 05:19:57 AM (10 months ago)
- Location:
- trunk
- Files:
-
- 6 modified
- 4 copied
- 1 moved
-
Makefile.frag (modified) (2 diffs)
-
config.m4 (modified) (2 diffs)
-
config.w32 (modified) (2 diffs)
-
submodules/xc_disassembler.c (modified) (1 diff)
-
xcache (moved) (moved from trunk/main)
-
xcache.c (modified) (1 diff)
-
xcache.h (modified) (1 diff)
-
xcache/xc_sandbox.c (copied) (copied from trunk/main/xc_sandbox.c)
-
xcache/xc_sandbox.h (copied) (copied from trunk/main/xc_sandbox.h)
-
xcache/xc_utils.c (copied) (copied from trunk/main/xc_utils.c)
-
xcache/xc_utils.h (copied) (copied from trunk/main/xc_utils.h)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.frag
r982 r987 1 1 XCACHE_PROC_SRC=$(srcdir)/processor/main.m4 2 2 XCACHE_PROC_OUT=$(builddir)/processor.out 3 XCACHE_PROC_C=$(builddir)/ main/xc_processor_real.c4 XCACHE_PROC_H=$(builddir)/ main/xc_processor.h3 XCACHE_PROC_C=$(builddir)/xcache/xc_processor_real.c 4 XCACHE_PROC_H=$(builddir)/xcache/xc_processor.h 5 5 XCACHE_INCLUDES_SRC=$(srcdir)/includes.c 6 6 XCACHE_INCLUDES_I=$(builddir)/includes.i … … 26 26 -$(XCACHE_INDENT) < $(XCACHE_PROC_OUT) > $(XCACHE_PROC_C).tmp && mv $(XCACHE_PROC_C).tmp $(XCACHE_PROC_C) 27 27 28 $(builddir)/ main/xc_processor.lo: $(XCACHE_PROC_C) $(XCACHE_PROC_H) $(srcdir)/main/xc_processor.c28 $(builddir)/xcache/xc_processor.lo: $(XCACHE_PROC_C) $(XCACHE_PROC_H) $(srcdir)/xcache/xc_processor.c 29 29 30 $(builddir)/submodules/xc_disassembler.lo: $(XCACHE_PROC_H) $(srcdir)/ main/xc_processor.c30 $(builddir)/submodules/xc_disassembler.lo: $(XCACHE_PROC_H) $(srcdir)/xcache/xc_processor.c 31 31 32 32 $(builddir)/xc_opcode_spec.lo: $(srcdir)/xcache.h $(srcdir)/xc_opcode_spec.c $(srcdir)/xc_opcode_spec_def.h $(srcdir)/xc_const_string.h 33 33 34 $(builddir)/xcache.lo: $(XCACHE_PROC_H) $(srcdir)/ main/xc_shm.h $(srcdir)/util/xc_stack.h $(srcdir)/xcache_globals.h $(srcdir)/xcache.c $(srcdir)/util/xc_foreachcoresig.h $(srcdir)/main/xc_utils.h34 $(builddir)/xcache.lo: $(XCACHE_PROC_H) $(srcdir)/xcache/xc_shm.h $(srcdir)/util/xc_stack.h $(srcdir)/xcache_globals.h $(srcdir)/xcache.c $(srcdir)/util/xc_foreachcoresig.h $(srcdir)/xcache/xc_utils.h 35 35 36 36 xcachesvnclean: clean -
trunk/config.m4
r986 r987 25 25 26 26 xcache_sources=" 27 main/xc_const_string.c \28 main/xc_lock.c \29 main/xc_mem.c \30 main/xc_opcode_spec.c \31 main/xc_processor.c \32 main/xc_sandbox.c \33 main/xc_shm.c \34 main/xc_shm_mmap.c \35 main/xc_utils.c \36 27 util/xc_stack.c \ 37 28 xcache.c \ 29 xcache/xc_const_string.c \ 30 xcache/xc_lock.c \ 31 xcache/xc_mem.c \ 32 xcache/xc_opcode_spec.c \ 33 xcache/xc_processor.c \ 34 xcache/xc_sandbox.c \ 35 xcache/xc_shm.c \ 36 xcache/xc_shm_mmap.c \ 37 xcache/xc_utils.c \ 38 38 " 39 39 XCACHE_MODULES="cacher" … … 50 50 if test "$PHP_XCACHE_TEST" != "no"; then 51 51 XCACHE_ENABLE_TEST=-DXCACHE_ENABLE_TEST 52 xcache_sources="$xcache_sources main/xc_malloc.c"52 xcache_sources="$xcache_sources xcache/xc_malloc.c" 53 53 AC_DEFINE([HAVE_XCACHE_TEST], 1, [Define to enable XCache self test]) 54 54 else -
trunk/config.w32
r986 r987 13 13 14 14 var xcache_sources = " 15 main/xc_processor.c \16 main/xc_const_string.c \17 main/xc_lock.c \18 main/xc_mem.c \19 main/xc_opcode_spec.c \20 main/xc_sandbox.c \21 main/xc_shm.c \22 main/xc_shm_mmap.c \23 main/xc_utils.c \24 15 util/xc_stack.c \ 25 16 xcache.c \ 17 xcache/xc_const_string.c \ 18 xcache/xc_lock.c \ 19 xcache/xc_mem.c \ 20 xcache/xc_opcode_spec.c \ 21 xcache/xc_processor.c \ 22 xcache/xc_sandbox.c \ 23 xcache/xc_shm.c \ 24 xcache/xc_shm_mmap.c \ 25 xcache/xc_utils.c \ 26 26 "; 27 27 // {{{ add sources on enabled … … 78 78 if (PHP_XCACHE_TEST != "no") { 79 79 ADD_FLAG("XCACHE_ENABLE_TEST", "-DXCACHE_ENABLE_TEST"); 80 xcache_sources += " main/xc_malloc.c";80 xcache_sources += " xcache/xc_malloc.c"; 81 81 AC_DEFINE("HAVE_XCACHE_TEST", 1, "Define to enable XCache self test"); 82 82 } -
trunk/submodules/xc_disassembler.c
r982 r987 1 1 #include "xc_disassembler.h" 2 2 #include "xcache.h" 3 #include "xc_utils.h" 3 #include "xcache/xc_utils.h" 4 #include "xcache/xc_sandbox.h" 4 5 #include "xc_processor.h" 5 6 -
trunk/xcache.c
r986 r987 32 32 #include "xcache_globals.h" 33 33 #include "xc_processor.h" 34 #include "xc _const_string.h"35 #include "xc _opcode_spec.h"36 #include "xc _utils.h"37 #include "xc _sandbox.h"34 #include "xcache/xc_const_string.h" 35 #include "xcache/xc_opcode_spec.h" 36 #include "xcache/xc_utils.h" 37 #include "xcache/xc_sandbox.h" 38 38 #include "util/xc_align.h" 39 39 #include "util/xc_stack.h" -
trunk/xcache.h
r982 r987 20 20 #include <config.h> 21 21 #endif 22 #include "xc _shm.h"23 #include "xc _lock.h"22 #include "xcache/xc_shm.h" 23 #include "xcache/xc_lock.h" 24 24 25 25 #if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 4 || PHP_MAJOR_VERSION > 5)

