764f1408a3
2001-03-16 Frank Ch. Eigler <fche@redhat.com> Add support for mmap-based memory regions. * sim-memopt.c (mmap_next_fd): New global. (sim_memory_init): Reinitialize it. (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new "--memory-mapfile FILE" option. Check for some errors. (do_memopt_add): Conditionally do mmap instead of malloc for backing store of simulated memory. Check for more errors. (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup. * sim-memopt.h (munmap_length): New member of _sim_memopt. * configure.in: Look for mmap/fstat related functions and headers. * config.in, configure: Regenerated.
183 lines
4.7 KiB
Plaintext
183 lines
4.7 KiB
Plaintext
/* config.in. Generated automatically from configure.in by autoheader. */
|
|
|
|
/* Define if using alloca.c. */
|
|
#undef C_ALLOCA
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
#undef const
|
|
|
|
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
|
|
This function is required for alloca.c support on those systems. */
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
/* Define if you have alloca, as a function or macro. */
|
|
#undef HAVE_ALLOCA
|
|
|
|
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
/* Define if you have a working `mmap' system call. */
|
|
#undef HAVE_MMAP
|
|
|
|
/* Define as __inline if that's what the C compiler calls it. */
|
|
#undef inline
|
|
|
|
/* Define to `long' if <sys/types.h> doesn't define. */
|
|
#undef off_t
|
|
|
|
/* Define if you need to in order for stat and other things to work. */
|
|
#undef _POSIX_SOURCE
|
|
|
|
/* Define as the return type of signal handlers (int or void). */
|
|
#undef RETSIGTYPE
|
|
|
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
|
#undef size_t
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at run-time.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown
|
|
*/
|
|
#undef STACK_DIRECTION
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define to 1 if NLS is requested. */
|
|
#undef ENABLE_NLS
|
|
|
|
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
|
#undef HAVE_GETTEXT
|
|
|
|
/* Define as 1 if you have the stpcpy function. */
|
|
#undef HAVE_STPCPY
|
|
|
|
/* Define if your locale.h file contains LC_MESSAGES. */
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
/* Define if you have the __argz_count function. */
|
|
#undef HAVE___ARGZ_COUNT
|
|
|
|
/* Define if you have the __argz_next function. */
|
|
#undef HAVE___ARGZ_NEXT
|
|
|
|
/* Define if you have the __argz_stringify function. */
|
|
#undef HAVE___ARGZ_STRINGIFY
|
|
|
|
/* Define if you have the __setfpucw function. */
|
|
#undef HAVE___SETFPUCW
|
|
|
|
/* Define if you have the dcgettext function. */
|
|
#undef HAVE_DCGETTEXT
|
|
|
|
/* Define if you have the getcwd function. */
|
|
#undef HAVE_GETCWD
|
|
|
|
/* Define if you have the getpagesize function. */
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
/* Define if you have the getrusage function. */
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
/* Define if you have the mmap function. */
|
|
#undef HAVE_MMAP
|
|
|
|
/* Define if you have the munmap function. */
|
|
#undef HAVE_MUNMAP
|
|
|
|
/* Define if you have the putenv function. */
|
|
#undef HAVE_PUTENV
|
|
|
|
/* Define if you have the setenv function. */
|
|
#undef HAVE_SETENV
|
|
|
|
/* Define if you have the setlocale function. */
|
|
#undef HAVE_SETLOCALE
|
|
|
|
/* Define if you have the sigaction function. */
|
|
#undef HAVE_SIGACTION
|
|
|
|
/* Define if you have the stpcpy function. */
|
|
#undef HAVE_STPCPY
|
|
|
|
/* Define if you have the strcasecmp function. */
|
|
#undef HAVE_STRCASECMP
|
|
|
|
/* Define if you have the strchr function. */
|
|
#undef HAVE_STRCHR
|
|
|
|
/* Define if you have the time function. */
|
|
#undef HAVE_TIME
|
|
|
|
/* Define if you have the <argz.h> header file. */
|
|
#undef HAVE_ARGZ_H
|
|
|
|
/* Define if you have the <dlfcn.h> header file. */
|
|
#undef HAVE_DLFCN_H
|
|
|
|
/* Define if you have the <errno.h> header file. */
|
|
#undef HAVE_ERRNO_H
|
|
|
|
/* Define if you have the <fcntl.h> header file. */
|
|
#undef HAVE_FCNTL_H
|
|
|
|
/* Define if you have the <fpu_control.h> header file. */
|
|
#undef HAVE_FPU_CONTROL_H
|
|
|
|
/* Define if you have the <limits.h> header file. */
|
|
#undef HAVE_LIMITS_H
|
|
|
|
/* Define if you have the <locale.h> header file. */
|
|
#undef HAVE_LOCALE_H
|
|
|
|
/* Define if you have the <malloc.h> header file. */
|
|
#undef HAVE_MALLOC_H
|
|
|
|
/* Define if you have the <nl_types.h> header file. */
|
|
#undef HAVE_NL_TYPES_H
|
|
|
|
/* Define if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define if you have the <sys/mman.h> header file. */
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
/* Define if you have the <sys/param.h> header file. */
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
/* Define if you have the <sys/resource.h> header file. */
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
/* Define if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define if you have the <sys/time.h> header file. */
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
/* Define if you have the <sys/times.h> header file. */
|
|
#undef HAVE_SYS_TIMES_H
|
|
|
|
/* Define if you have the <time.h> header file. */
|
|
#undef HAVE_TIME_H
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define if you have the <values.h> header file. */
|
|
#undef HAVE_VALUES_H
|
|
|
|
/* Define if you have the nsl library (-lnsl). */
|
|
#undef HAVE_LIBNSL
|
|
|
|
/* Define if you have the socket library (-lsocket). */
|
|
#undef HAVE_LIBSOCKET
|