2021-05-18 08:34:52 +08:00
|
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2021-06-07 08:35:02 +08:00
|
|
|
/* Sim debug setting */
|
|
|
|
#undef DEBUG
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to the type of elements in the array set by `getgroups'. Usually
|
|
|
|
this is either `int' or `gid_t'. */
|
|
|
|
#undef GETGROUPS_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `access' function. */
|
|
|
|
#undef HAVE_ACCESS
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `aint' function. */
|
|
|
|
#undef HAVE_AINT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `anint' function. */
|
|
|
|
#undef HAVE_ANINT
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `cfgetispeed' function. */
|
|
|
|
#undef HAVE_CFGETISPEED
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `cfgetospeed' function. */
|
|
|
|
#undef HAVE_CFGETOSPEED
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `cfsetispeed' function. */
|
|
|
|
#undef HAVE_CFSETISPEED
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `cfsetospeed' function. */
|
|
|
|
#undef HAVE_CFSETOSPEED
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `chdir' function. */
|
|
|
|
#undef HAVE_CHDIR
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `chmod' function. */
|
|
|
|
#undef HAVE_CHMOD
|
|
|
|
|
2022-10-06 14:43:52 +08:00
|
|
|
/* Is the prototype for getopt in <unistd.h> in the expected format? */
|
|
|
|
#undef HAVE_DECL_GETOPT
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_TZNAME
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DIRENT_H
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `dup' function. */
|
|
|
|
#undef HAVE_DUP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `dup2' function. */
|
|
|
|
#undef HAVE_DUP2
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `execv' function. */
|
|
|
|
#undef HAVE_EXECV
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `execve' function. */
|
|
|
|
#undef HAVE_EXECVE
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `fcntl' function. */
|
|
|
|
#undef HAVE_FCNTL
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <fpu_control.h> header file. */
|
|
|
|
#undef HAVE_FPU_CONTROL_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `fstat' function. */
|
|
|
|
#undef HAVE_FSTAT
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `fstatfs' function. */
|
|
|
|
#undef HAVE_FSTATFS
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `ftruncate' function. */
|
|
|
|
#undef HAVE_FTRUNCATE
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `getdirentries' function. */
|
|
|
|
#undef HAVE_GETDIRENTRIES
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `getegid' function. */
|
|
|
|
#undef HAVE_GETEGID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `geteuid' function. */
|
|
|
|
#undef HAVE_GETEUID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getgid' function. */
|
|
|
|
#undef HAVE_GETGID
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `getpid' function. */
|
|
|
|
#undef HAVE_GETPID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getppid' function. */
|
|
|
|
#undef HAVE_GETPPID
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
|
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
|
|
|
#undef HAVE_GETUID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `ioctl' function. */
|
|
|
|
#undef HAVE_IOCTL
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `kill' function. */
|
|
|
|
#undef HAVE_KILL
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `link' function. */
|
|
|
|
#undef HAVE_LINK
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <linux/if_tun.h> header file. */
|
|
|
|
#undef HAVE_LINUX_IF_TUN_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <linux/mii.h> header file. */
|
|
|
|
#undef HAVE_LINUX_MII_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <linux/types.h> header file. */
|
|
|
|
#undef HAVE_LINUX_TYPES_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `lseek' function. */
|
|
|
|
#undef HAVE_LSEEK
|
2021-05-18 08:34:52 +08:00
|
|
|
|
2022-11-10 01:19:45 +08:00
|
|
|
/* Define to 1 if you have the `lstat' function. */
|
|
|
|
#undef HAVE_LSTAT
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2022-11-10 01:19:45 +08:00
|
|
|
/* Define to 1 if you have the `mkdir' function. */
|
|
|
|
#undef HAVE_MKDIR
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `munmap' function. */
|
|
|
|
#undef HAVE_MUNMAP
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
|
|
|
#undef HAVE_NDIR_H
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <netinet/tcp.h> header file. */
|
|
|
|
#undef HAVE_NETINET_TCP_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <net/if.h> header file. */
|
|
|
|
#undef HAVE_NET_IF_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `pipe' function. */
|
|
|
|
#undef HAVE_PIPE
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `posix_fallocate' function. */
|
|
|
|
#undef HAVE_POSIX_FALLOCATE
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `pread' function. */
|
|
|
|
#undef HAVE_PREAD
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `rmdir' function. */
|
|
|
|
#undef HAVE_RMDIR
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `setgid' function. */
|
|
|
|
#undef HAVE_SETGID
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `setregid' function. */
|
|
|
|
#undef HAVE_SETREGID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `setreuid' function. */
|
|
|
|
#undef HAVE_SETREUID
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `setuid' function. */
|
|
|
|
#undef HAVE_SETUID
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
|
|
|
#undef HAVE_SIGACTION
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `sigprocmask' function. */
|
|
|
|
#undef HAVE_SIGPROCMASK
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if the system has the type `socklen_t'. */
|
|
|
|
#undef HAVE_SOCKLEN_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sqrt' function. */
|
|
|
|
#undef HAVE_SQRT
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `stat' function. */
|
|
|
|
#undef HAVE_STAT
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strsignal' function. */
|
|
|
|
#undef HAVE_STRSIGNAL
|
|
|
|
|
|
|
|
/* Define to 1 if `st_atime' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_ATIME
|
|
|
|
|
|
|
|
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
|
|
|
|
|
|
|
/* Define to 1 if `st_blocks' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_BLOCKS
|
|
|
|
|
|
|
|
/* Define to 1 if `st_ctime' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_CTIME
|
|
|
|
|
|
|
|
/* Define to 1 if `st_dev' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_DEV
|
|
|
|
|
|
|
|
/* Define to 1 if `st_gid' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_GID
|
|
|
|
|
|
|
|
/* Define to 1 if `st_ino' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_INO
|
|
|
|
|
|
|
|
/* Define to 1 if `st_mode' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_MODE
|
|
|
|
|
|
|
|
/* Define to 1 if `st_mtime' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_MTIME
|
|
|
|
|
|
|
|
/* Define to 1 if `st_nlink' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_NLINK
|
|
|
|
|
|
|
|
/* Define to 1 if `st_rdev' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_RDEV
|
|
|
|
|
|
|
|
/* Define to 1 if `st_size' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_SIZE
|
|
|
|
|
|
|
|
/* Define to 1 if `st_uid' is a member of `struct stat'. */
|
|
|
|
#undef HAVE_STRUCT_STAT_ST_UID
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if `tm_zone' is a member of `struct tm'. */
|
|
|
|
#undef HAVE_STRUCT_TM_TM_ZONE
|
|
|
|
|
|
|
|
/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
|
|
|
|
`HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
|
|
|
|
#undef HAVE_ST_BLKSIZE
|
|
|
|
|
|
|
|
/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
|
|
|
|
`HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
|
|
|
|
#undef HAVE_ST_BLOCKS
|
|
|
|
|
|
|
|
/* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
|
|
|
|
`HAVE_STRUCT_STAT_ST_RDEV' instead. */
|
|
|
|
#undef HAVE_ST_RDEV
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `symlink' function. */
|
|
|
|
#undef HAVE_SYMLINK
|
|
|
|
|
2024-01-02 12:15:46 +08:00
|
|
|
/* Define if System V semaphores are supported */
|
|
|
|
#undef HAVE_SYSV_SEM
|
|
|
|
|
|
|
|
/* Define if System V shared memory is supported */
|
|
|
|
#undef HAVE_SYSV_SHM
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_SYS_DIR_H
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
|
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the <sys/mount.h> header file. */
|
|
|
|
#undef HAVE_SYS_MOUNT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_SYS_NDIR_H
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the <sys/statfs.h> header file. */
|
|
|
|
#undef HAVE_SYS_STATFS_H
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the <sys/termios.h> header file. */
|
|
|
|
#undef HAVE_SYS_TERMIOS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/termio.h> header file. */
|
|
|
|
#undef HAVE_SYS_TERMIO_H
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the <sys/vfs.h> header file. */
|
|
|
|
#undef HAVE_SYS_VFS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcdrain' function. */
|
|
|
|
#undef HAVE_TCDRAIN
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcflow' function. */
|
|
|
|
#undef HAVE_TCFLOW
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcflush' function. */
|
|
|
|
#undef HAVE_TCFLUSH
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcgetattr' function. */
|
|
|
|
#undef HAVE_TCGETATTR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcgetpgrp' function. */
|
|
|
|
#undef HAVE_TCGETPGRP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcsendbreak' function. */
|
|
|
|
#undef HAVE_TCSENDBREAK
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcsetattr' function. */
|
|
|
|
#undef HAVE_TCSETATTR
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `tcsetpgrp' function. */
|
|
|
|
#undef HAVE_TCSETPGRP
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <termios.h> header file. */
|
|
|
|
#undef HAVE_TERMIOS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `time' function. */
|
|
|
|
#undef HAVE_TIME
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
|
|
|
|
`HAVE_STRUCT_TM_TM_ZONE' instead. */
|
|
|
|
#undef HAVE_TM_ZONE
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `truncate' function. */
|
|
|
|
#undef HAVE_TRUNCATE
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you don't have `tm_zone' but do have the external array
|
|
|
|
`tzname'. */
|
|
|
|
#undef HAVE_TZNAME
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `umask' function. */
|
|
|
|
#undef HAVE_UMASK
|
|
|
|
|
2024-01-02 12:15:46 +08:00
|
|
|
/* Define if union semun is defined in <sys/sem.h> */
|
|
|
|
#undef HAVE_UNION_SEMUN
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if you have the `unlink' function. */
|
|
|
|
#undef HAVE_UNLINK
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define to 1 if you have the `utime' function. */
|
|
|
|
#undef HAVE_UTIME
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <utime.h> header file. */
|
|
|
|
#undef HAVE_UTIME_H
|
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `__int128'. */
|
|
|
|
#undef HAVE___INT128
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `__setfpucw' function. */
|
|
|
|
#undef HAVE___SETFPUCW
|
|
|
|
|
2021-06-18 14:03:44 +08:00
|
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
|
|
*/
|
|
|
|
#undef LT_OBJDIR
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Name of package */
|
|
|
|
#undef PACKAGE
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
2021-06-07 08:48:46 +08:00
|
|
|
/* Additional package description */
|
|
|
|
#undef PKGVERSION
|
|
|
|
|
2021-06-07 08:35:02 +08:00
|
|
|
/* Sim profile settings */
|
|
|
|
#undef PROFILE
|
|
|
|
|
2021-06-07 08:48:46 +08:00
|
|
|
/* Bug reporting address */
|
|
|
|
#undef REPORT_BUGS_TO
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
|
|
#undef RETSIGTYPE
|
|
|
|
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Version number of package */
|
|
|
|
#undef VERSION
|
|
|
|
|
sim: overhaul alignment settings management
Currently, the sim-config module will abort if alignment settings
haven't been specified by the port's configure.ac. This is a bit
weird when we've allowed SIM_AC_OPTION_ALIGNMENT to seem like it's
optional to use. Thus everyone invokes it.
There are 4 alignment settings, but really only 2 matters: strict
and nonstrict. The "mixed" setting is just the default ("unset"),
and "forced" isn't used directly by anyone (it's available as a
runtime option for some ports).
The m4 macro has 2 args: the "wire" settings (which represents the
hardwired port behavior), and the default settings (which are used
if nothing else is specified). If none are specified, then the
build won't work (see above as if SIM_AC_OPTION_ALIGNMENT wasn't
called). If default settings are provided, then that is used, but
we allow the user to override at runtime. Otherwise, the "wire"
settings are used and user runtime options to change are ignored.
Most ports specify a default, or set the "wire" to nonstrict. A
few set "wire" to strict, but it's not clear that's necessary as
it doesn't make the code behavior, by default, any different. It
might make things a little faster, but we should provide the user
the choice of the compromises to make: force a specific mode at
compile time for faster runtime, or allow the choice at runtime.
More likely it seems like an oversight when these ports were
initially created, and/or copied & pasted from existing ports.
With all that backstory, let's get to what this commit does.
First kill off the idea of a compile-time default alignment and
set it to nonstrict in the common code. For any ports that want
strict alignment by default, that code is moved to sim_open while
initializing the sim. That means WITH_DEFAULT_ALIGNMENT can be
completely removed.
Moving the default alignment to the runtime also allows removal
of setting the "wire" settings at configure time. Which allows
removing of all arguments to SIM_AC_OPTION_ALIGNMENT and moving
that call to common code.
The macro logic can be reworked to not pass WITH_ALIGNMENT as -D
CPPFLAG and instead move it to config.h.
All of these taken together mean we can hoist the macro up to the
top level and share it among all sims so behavior is consistent
among all the ports.
2021-06-07 12:54:20 +08:00
|
|
|
/* Sim alignment settings */
|
|
|
|
#undef WITH_ALIGNMENT
|
|
|
|
|
2021-06-07 06:45:05 +08:00
|
|
|
/* Sim assert settings */
|
|
|
|
#undef WITH_ASSERT
|
|
|
|
|
2021-06-07 08:35:02 +08:00
|
|
|
/* Sim debug setting */
|
|
|
|
#undef WITH_DEBUG
|
|
|
|
|
2021-06-07 08:11:02 +08:00
|
|
|
/* Sim default environment */
|
|
|
|
#undef WITH_ENVIRONMENT
|
|
|
|
|
2021-06-07 08:35:02 +08:00
|
|
|
/* Sim profile settings */
|
|
|
|
#undef WITH_PROFILE
|
|
|
|
|
2021-07-01 13:04:48 +08:00
|
|
|
/* Sim reserved bits setting */
|
|
|
|
#undef WITH_RESERVED_BITS
|
|
|
|
|
2021-06-29 10:39:16 +08:00
|
|
|
/* Sim cache szie */
|
|
|
|
#undef WITH_SCACHE
|
|
|
|
|
2022-12-25 12:28:19 +08:00
|
|
|
/* Sim SMP settings */
|
|
|
|
#undef WITH_SMP
|
|
|
|
|
2021-06-07 08:35:02 +08:00
|
|
|
/* How to route I/O */
|
|
|
|
#undef WITH_STDIO
|
|
|
|
|
sim: overhaul & unify endian settings management
The m4 macro has 2 args: the "wire" settings (which represents the
hardwired port behavior), and the default settings (which are used
if nothing else is specified). If none are specified, the arch is
expected to support both, and the value will be probed based on the
user runtime options or the input program.
Only two arches today set the default value (bpf & mips). We can
probably let this go as it only shows up in one scenario: the sim
is invoked, but with no inputs, and no user endian selection. This
means bpf will not behave like the other arches: an error is shown
and forces the user to make a choice. If an input program is used
though, we'll still switch the default to that. This allows us to
remove the WITH_DEFAULT_TARGET_BYTE_ORDER setting.
For the ports that set a "wire" endian, move it to the runtime init
of the respective sim_open calls. This allows us to change the
WITH_TARGET_BYTE_ORDER to purely a user-selected configure setting
if they want to force a specific endianness.
With all the endian logic moved to runtime selection, we can move
the configure call up to the common dir so we only process it once
across all ports.
The ppc arch was picking the wire endian based on the target used,
but since we weren't doing that for other biendian arches, we can
let this go too. We'll rely on the input selecting the endian, or
make the user decide.
2021-06-16 07:51:52 +08:00
|
|
|
/* Sim endian settings */
|
|
|
|
#undef WITH_TARGET_BYTE_ORDER
|
|
|
|
|
2021-06-07 08:35:02 +08:00
|
|
|
/* Sim trace settings */
|
|
|
|
#undef WITH_TRACE
|
|
|
|
|
2021-05-18 08:34:52 +08:00
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
# if defined __BIG_ENDIAN__
|
|
|
|
# define WORDS_BIGENDIAN 1
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# ifndef WORDS_BIGENDIAN
|
|
|
|
# undef WORDS_BIGENDIAN
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2021-06-13 01:18:29 +08:00
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
#undef gid_t
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef mode_t
|
|
|
|
|
|
|
|
/* Define to `long int' if <sys/types.h> does not define. */
|
|
|
|
#undef off_t
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef pid_t
|
|
|
|
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
|
|
#undef size_t
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
#undef uid_t
|