// /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1 -quiet -I /home/pi/Загрузки/qemu-2.3.1/tcg -I /home/pi/Загрузки/qemu-2.3.1/tcg/arm -I /home/pi/Загрузки/qemu-2.3.1/linux-headers -I /home/pi/Загрузки/qemu-2.3.1/linux-headers -I . -I /home/pi/Загрузки/qemu-2.3.1 -I /home/pi/Загрузки/qemu-2.3.1/include -I /home/pi/Загрузки/qemu-2.3.1/target-mips -I target-mips -I /home/pi/Загрузки/qemu-2.3.1/pixman/pixman -I /home/pi/Загрузки/qemu-2.3.1/pixman/pixman -I /usr/include/p11-kit-1 -I /usr/include/p11-kit-1 -I /usr/include/libpng12 -I ../linux-headers -I .. -I /home/pi/Загрузки/qemu-2.3.1/target-mips -I /home/pi/Загрузки/qemu-2.3.1/include -I /usr/include/glib-2.0 -I /usr/lib/arm-linux-gnueabihf/glib-2.0/include -imultilib . -imultiarch arm-linux-gnueabihf -MMD target-mips/msa_helper.d -MF target-mips/msa_helper.d -MP -MT target-mips/msa_helper.o -D_REENTRANT -D _GNU_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D NEED_CPU_H -U _FORTIFY_SOURCE -D _FORTIFY_SOURCE=2 /home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c -quiet -dumpbase msa_helper.c -march=armv6 -mfloat-abi=hard -mfpu=vfp -auxbase-strip target-mips/msa_helper.o -g -O2 -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fno-strict-aliasing -fno-common -fstack-protector-all -o - -frandom-seed=0 # 1 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" # 1 "/home/pi/Загрузки/qemu-2.3.1/mips64-softmmu//" # 1 "" # 1 "" # 1 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" # 20 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" # 1 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 1 # 12 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/config.h" 1 # 1 "/home/pi/Загрузки/qemu-2.3.1/config-host.h" 1 # 2 "/home/pi/Загрузки/qemu-2.3.1/include/config.h" 2 # 1 "./config-target.h" 1 # 2 "/home/pi/Загрузки/qemu-2.3.1/include/config.h" 2 # 13 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 1 # 15 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/compiler.h" 1 # 1 "/home/pi/Загрузки/qemu-2.3.1/config-host.h" 1 # 7 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/compiler.h" 2 # 16 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/config-host.h" 1 # 17 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/typedefs.h" 1 struct Monitor; typedef struct AdapterInfo AdapterInfo; typedef struct AddressSpace AddressSpace; typedef struct AioContext AioContext; typedef struct AudioState AudioState; typedef struct BlockBackend BlockBackend; typedef struct BlockDriverState BlockDriverState; typedef struct BusClass BusClass; typedef struct BusState BusState; typedef struct CharDriverState CharDriverState; typedef struct CompatProperty CompatProperty; typedef struct DeviceState DeviceState; typedef struct DeviceListener DeviceListener; typedef struct DisplayChangeListener DisplayChangeListener; typedef struct DisplayState DisplayState; typedef struct DisplaySurface DisplaySurface; typedef struct DriveInfo DriveInfo; typedef struct EventNotifier EventNotifier; typedef struct FWCfgIoState FWCfgIoState; typedef struct FWCfgMemState FWCfgMemState; typedef struct FWCfgState FWCfgState; typedef struct HCIInfo HCIInfo; typedef struct I2CBus I2CBus; typedef struct I2SCodec I2SCodec; typedef struct ISABus ISABus; typedef struct ISADevice ISADevice; typedef struct MACAddr MACAddr; typedef struct MachineClass MachineClass; typedef struct MachineState MachineState; typedef struct MemoryListener MemoryListener; typedef struct MemoryMappingList MemoryMappingList; typedef struct MemoryRegion MemoryRegion; typedef struct MemoryRegionSection MemoryRegionSection; typedef struct MigrationParams MigrationParams; typedef struct Monitor Monitor; typedef struct MouseTransformInfo MouseTransformInfo; typedef struct MSIMessage MSIMessage; typedef struct NetClientState NetClientState; typedef struct NICInfo NICInfo; typedef struct PcGuestInfo PcGuestInfo; typedef struct PCIBridge PCIBridge; typedef struct PCIBus PCIBus; typedef struct PCIDevice PCIDevice; typedef struct PCIEAERErr PCIEAERErr; typedef struct PCIEAERLog PCIEAERLog; typedef struct PCIEAERMsg PCIEAERMsg; typedef struct PCIEPort PCIEPort; typedef struct PCIESlot PCIESlot; typedef struct PCIExpressDevice PCIExpressDevice; typedef struct PCIExpressHost PCIExpressHost; typedef struct PCIHostState PCIHostState; typedef struct PCMCIACardState PCMCIACardState; typedef struct PixelFormat PixelFormat; typedef struct PropertyInfo PropertyInfo; typedef struct Property Property; typedef struct QEMUBH QEMUBH; typedef struct QemuConsole QemuConsole; typedef struct QEMUFile QEMUFile; typedef struct QEMUMachine QEMUMachine; typedef struct QEMUSGList QEMUSGList; typedef struct QEMUSizedBuffer QEMUSizedBuffer; typedef struct QEMUTimerListGroup QEMUTimerListGroup; typedef struct QEMUTimer QEMUTimer; typedef struct Range Range; typedef struct SerialState SerialState; typedef struct SHPCDevice SHPCDevice; typedef struct SMBusDevice SMBusDevice; typedef struct SSIBus SSIBus; typedef struct uWireSlave uWireSlave; typedef struct VirtIODevice VirtIODevice; typedef struct Visitor Visitor; # 18 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 26 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" # 1 "/usr/include/stdlib.h" 1 3 4 # 25 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 323 "/usr/include/features.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/predefs.h" 1 3 4 # 324 "/usr/include/features.h" 2 3 4 # 356 "/usr/include/features.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/sys/cdefs.h" 1 3 4 # 359 "/usr/include/arm-linux-gnueabihf/sys/cdefs.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 # 360 "/usr/include/arm-linux-gnueabihf/sys/cdefs.h" 2 3 4 # 357 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/gnu/stubs.h" 1 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 212 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 3 4 typedef unsigned int size_t; # 324 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 3 4 typedef unsigned int wchar_t; # 34 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/waitflags.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/waitstatus.h" 1 3 4 # 65 "/usr/include/arm-linux-gnueabihf/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/byteswap.h" 1 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 66 "/usr/include/arm-linux-gnueabihf/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 44 "/usr/include/stdlib.h" 2 3 4 # 68 "/usr/include/stdlib.h" 3 4 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 236 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 237 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); extern unsigned long int strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); __extension__ extern unsigned long long int strtoull_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); extern float strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); extern __inline double __attribute__ ((__nothrow__)) atof (__const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } extern __inline int __attribute__ ((__nothrow__)) atoi (__const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline long int __attribute__ ((__nothrow__)) atol (__const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) atoll (__const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 1 "/usr/include/arm-linux-gnueabihf/sys/types.h" 1 3 4 # 28 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/types.h" 1 3 4 # 28 "/usr/include/arm-linux-gnueabihf/bits/types.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 # 29 "/usr/include/arm-linux-gnueabihf/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 131 "/usr/include/arm-linux-gnueabihf/bits/types.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/typesizes.h" 1 3 4 # 132 "/usr/include/arm-linux-gnueabihf/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 31 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino64_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off64_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 58 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 148 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 220 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/sys/select.h" 1 3 4 # 31 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/select.h" 1 3 4 # 32 "/usr/include/arm-linux-gnueabihf/sys/select.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/sigset.h" 1 3 4 # 24 "/usr/include/arm-linux-gnueabihf/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/arm-linux-gnueabihf/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/arm-linux-gnueabihf/sys/select.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/time.h" 1 3 4 # 75 "/usr/include/arm-linux-gnueabihf/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/arm-linux-gnueabihf/sys/select.h" 2 3 4 # 55 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 typedef long int __fd_mask; # 67 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 # 109 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/arm-linux-gnueabihf/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 224 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; # 249 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt_t; typedef __fsblkcnt64_t fsblkcnt_t; typedef __fsfilcnt64_t fsfilcnt_t; typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h" 1 3 4 # 38 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[36]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; unsigned int __nusers; __extension__ union { int __spins; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; long int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; long int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; # 141 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h" 3 4 unsigned char __flags; unsigned char __shared; unsigned char __pad1; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 272 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 528 "/usr/include/stdlib.h" 3 4 extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__)); # 606 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 623 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 645 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 663 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 677 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 698 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int system (__const char *__command) __attribute__ ((__warn_unused_result__)); extern char *canonicalize_file_name (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 734 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); typedef int (*__compar_fn_t) (__const void *, __const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *); extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); # 808 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 896 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *__const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__)); extern int grantpt (int __fd) __attribute__ ((__nothrow__)); extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/arm-linux-gnueabihf/bits/stdlib.h" 1 3 4 # 24 "/usr/include/arm-linux-gnueabihf/bits/stdlib.h" 3 4 extern char *__realpath_chk (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * __attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved) { if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) { return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); } return __realpath_alias (__name, __resolved); } extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); if (__buflen > __builtin_object_size (__buf, 2 > 1)) return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); } return __ptsname_r_alias (__fd, __buf, __buflen); } extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int __attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar) { if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); return __wctomb_alias (__s, __wchar); } extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__)) ; extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__)) __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) { if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __mbstowcs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) return __mbstowcs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); } return __mbstowcs_alias (__dst, __src, __len); } extern size_t __wcstombs_chk (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__)) ; extern size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__)) __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) { if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); if (__len > __builtin_object_size (__dst, 2 > 1)) return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); } return __wcstombs_alias (__dst, __src, __len); } # 956 "/usr/include/stdlib.h" 2 3 4 # 964 "/usr/include/stdlib.h" 3 4 # 27 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 45 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 65 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 75 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 83 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 21 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 53 "/usr/include/_G_config.h" 3 4 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 53 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stdarg.h" 1 3 4 # 40 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 54 "/usr/include/libio.h" 2 3 4 # 170 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 180 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 203 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 271 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 319 "/usr/include/libio.h" 3 4 __off64_t _offset; # 328 "/usr/include/libio.h" 3 4 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 364 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 460 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); # 490 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); # 76 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 109 "/usr/include/stdio.h" 3 4 typedef _G_fpos64_t fpos_t; typedef _G_fpos64_t fpos64_t; # 161 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/stdio_lim.h" 1 3 4 # 162 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); extern int renameat (int __oldfd, __const char *__old, int __newfd, __const char *__new) __attribute__ ((__nothrow__)); # 195 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") __attribute__ ((__warn_unused_result__)); extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__)); extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); # 224 "/usr/include/stdio.h" 3 4 extern char *tempnam (__const char *__dir, __const char *__pfx) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 249 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 259 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); # 280 "/usr/include/stdio.h" 3 4 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64") __attribute__ ((__warn_unused_result__)); extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") __attribute__ ((__warn_unused_result__)); extern FILE *fopen64 (__const char *__restrict __filename, __const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); extern FILE *freopen64 (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern FILE *fopencookie (void *__restrict __magic_cookie, __const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int printf (__const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__)); extern int __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); extern int asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); # 414 "/usr/include/stdio.h" 3 4 extern int vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); # 465 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 524 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 552 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 563 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 596 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern char *gets (char *__s) __attribute__ ((__warn_unused_result__)); # 642 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); # 658 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); extern int puts (__const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 719 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (__const char *__restrict __s, FILE *__restrict __stream); # 730 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); extern void rewind (FILE *__stream); # 774 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64") ; extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); # 799 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64") ; extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64") ; extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__)); extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void perror (__const char *__s); # 1 "/usr/include/arm-linux-gnueabihf/bits/sys_errlist.h" 1 3 4 # 27 "/usr/include/arm-linux-gnueabihf/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern __const char *__const sys_errlist[]; extern int _sys_nerr; extern __const char *__const _sys_errlist[]; # 847 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); # 866 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__)); extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __format, __gnuc_va_list __args) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); # 927 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/stdio.h" 1 3 4 # 44 "/usr/include/arm-linux-gnueabihf/bits/stdio.h" 3 4 extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } extern __inline __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } extern __inline int __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 928 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/stdio2.h" 1 3 4 # 24 "/usr/include/arm-linux-gnueabihf/bits/stdio2.h" 3 4 extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, __const char *__restrict __format, __gnuc_va_list __ap) __attribute__ ((__nothrow__)); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...) { return __builtin___sprintf_chk (__s, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap) { return __builtin___vsprintf_chk (__s, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __ap); } extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, size_t __slen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, size_t __slen, __const char *__restrict __format, __gnuc_va_list __ap) __attribute__ ((__nothrow__)); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...) { return __builtin___snprintf_chk (__s, __n, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap) { return __builtin___vsnprintf_chk (__s, __n, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __ap); } extern int __fprintf_chk (FILE *__restrict __stream, int __flag, __const char *__restrict __format, ...); extern int __printf_chk (int __flag, __const char *__restrict __format, ...); extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, __const char *__restrict __format, __gnuc_va_list __ap); extern int __vprintf_chk (int __flag, __const char *__restrict __format, __gnuc_va_list __ap); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...) { return __fprintf_chk (__stream, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int printf (__const char *__restrict __fmt, ...) { return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap) { return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int vfprintf (FILE *__restrict __stream, __const char *__restrict __fmt, __gnuc_va_list __ap) { return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); } extern int __asprintf_chk (char **__restrict __ptr, int __flag, __const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__)); extern int __vasprintf_chk (char **__restrict __ptr, int __flag, __const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__)); extern int __dprintf_chk (int __fd, int __flag, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern int __vdprintf_chk (int __fd, int __flag, __const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 3, 0))); extern int __obstack_printf_chk (struct obstack *__restrict __obstack, int __flag, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack, int __flag, __const char *__restrict __format, __gnuc_va_list __args) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) { return __asprintf_chk (__ptr, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) { return __asprintf_chk (__ptr, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int dprintf (int __fd, __const char *__restrict __fmt, ...) { return __dprintf_chk (__fd, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, ...) { return __obstack_printf_chk (__obstack, 2 - 1, __fmt, __builtin_va_arg_pack ()); } # 195 "/usr/include/arm-linux-gnueabihf/bits/stdio2.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) vasprintf (char **__restrict __ptr, __const char *__restrict __fmt, __gnuc_va_list __ap) { return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __ap) { return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, __gnuc_va_list __ap) { return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt, __ap); } extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__)); extern char *__gets_warn (char *__str) __asm__ ("" "gets") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * gets (char *__str) { if (__builtin_object_size (__str, 2 > 1) != (size_t) -1) return __gets_chk (__str, __builtin_object_size (__str, 2 > 1)); return __gets_warn (__str); } extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__)); extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * fgets (char *__restrict __s, int __n, FILE *__restrict __stream) { if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__n) || __n <= 0) return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); } return __fgets_alias (__s, __n, __stream); } extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__)); extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) { if (__builtin_object_size (__ptr, 0) != (size_t) -1) { if (!__builtin_constant_p (__size) || !__builtin_constant_p (__n) || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); if (__size * __n > __builtin_object_size (__ptr, 0)) return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); } return __fread_alias (__ptr, __size, __n, __stream); } extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") __attribute__ ((__warn_unused_result__)); extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) { if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__n) || __n <= 0) return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); } return __fgets_unlocked_alias (__s, __n, __stream); } extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__)); extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) { if (__builtin_object_size (__ptr, 0) != (size_t) -1) { if (!__builtin_constant_p (__size) || !__builtin_constant_p (__n) || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); if (__size * __n > __builtin_object_size (__ptr, 0)) return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); } if (__builtin_constant_p (__size) && __builtin_constant_p (__n) && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) && __size * __n <= 8) { size_t __cnt = __size * __n; char *__cptr = (char *) __ptr; if (__cnt == 0) return 0; for (; __cnt > 0; --__cnt) { int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); if (__c == (-1)) break; *__cptr++ = __c; } return (__cptr - (char *) __ptr) / __size; } return __fread_unlocked_alias (__ptr, __size, __n, __stream); } # 931 "/usr/include/stdio.h" 2 3 4 # 28 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stdarg.h" 1 3 4 # 29 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stdbool.h" 1 3 4 # 30 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/string.h" 1 3 4 # 29 "/usr/include/string.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 35 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 95 "/usr/include/string.h" 3 4 extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 109 "/usr/include/string.h" 3 4 extern void *rawmemchr (__const void *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 120 "/usr/include/string.h" 3 4 extern void *memrchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 165 "/usr/include/string.h" 3 4 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 210 "/usr/include/string.h" 3 4 # 235 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 262 "/usr/include/string.h" 3 4 extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 276 "/usr/include/string.h" 3 4 extern char *strchrnul (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 314 "/usr/include/string.h" 3 4 extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 342 "/usr/include/string.h" 3 4 extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 373 "/usr/include/string.h" 3 4 extern char *strcasestr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (__const void *__haystack, size_t __haystacklen, __const void *__needle, size_t __needlelen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); extern void *__mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (__const char *__string, size_t __maxlen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 438 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 489 "/usr/include/string.h" 3 4 extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 517 "/usr/include/string.h" 3 4 extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (__const char *__s1, __const char *__s2, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (__const char *__s1, __const char *__s2, size_t __n, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strverscmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 606 "/usr/include/string.h" 3 4 extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 634 "/usr/include/string.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/string.h" 1 3 4 # 635 "/usr/include/string.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 1 3 4 # 80 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2; typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3; typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4; typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5; typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6; typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7; typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8; # 394 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern void *__rawmemchr (const void *__s, int __c); # 969 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); extern __inline size_t __strcspn_c1 (__const char *__s, int __reject) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject) ++__result; return __result; } extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2); extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2) ++__result; return __result; } extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3); extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2 && __s[__result] != __reject3) ++__result; return __result; } # 1045 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern __inline size_t __strspn_c1 (__const char *__s, int __accept); extern __inline size_t __strspn_c1 (__const char *__s, int __accept) { register size_t __result = 0; while (__s[__result] == __accept) ++__result; return __result; } extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2); extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2) ++__result; return __result; } extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2 || __s[__result] == __accept3) ++__result; return __result; } # 1121 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, int __accept2); extern __inline char * __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline char * __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 && *__s != __accept3) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } # 1172 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); extern __inline char * __strtok_r_1c (char *__s, char __sep, char **__nextp) { char *__result; if (__s == ((void *)0)) __s = *__nextp; while (*__s == __sep) ++__s; __result = ((void *)0); if (*__s != '\0') { __result = __s++; while (*__s != '\0') if (*__s++ == __sep) { __s[-1] = '\0'; break; } } *__nextp = __s; return __result; } # 1204 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern char *__strsep_g (char **__stringp, __const char *__delim); # 1222 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern __inline char *__strsep_1c (char **__s, char __reject); extern __inline char * __strsep_1c (char **__s, char __reject) { register char *__retval = *__s; if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) *(*__s)++ = '\0'; return __retval; } extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); extern __inline char * __strsep_2c (char **__s, char __reject1, char __reject2) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3); extern __inline char * __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } # 1303 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 1322 "/usr/include/arm-linux-gnueabihf/bits/string2.h" 3 4 extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 638 "/usr/include/string.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/string3.h" 1 3 4 # 23 "/usr/include/arm-linux-gnueabihf/bits/string3.h" 3 4 extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters"))) ; # 48 "/usr/include/arm-linux-gnueabihf/bits/string3.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len) { return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__)) memmove (void *__dest, __const void *__src, size_t __len) { return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__)) mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len) { return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } # 76 "/usr/include/arm-linux-gnueabihf/bits/string3.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len) { if (__builtin_constant_p (__len) && __len == 0 && (!__builtin_constant_p (__ch) || __ch != 0)) { __warn_memset_zero_len (); return __dest; } return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__)) bcopy (__const void *__src, void *__dest, size_t __len) { (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len) { (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src) { return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__)) stpcpy (char *__restrict __dest, __const char *__restrict __src) { return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len) { return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); } extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n, size_t __destlen) __attribute__ ((__nothrow__)); extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__)) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n) { if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1))) return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); return __stpncpy_alias (__dest, __src, __n); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src) { return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len) { return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); } # 643 "/usr/include/string.h" 2 3 4 # 31 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/strings.h" 1 3 4 # 32 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/inttypes.h" 1 3 4 # 28 "/usr/include/inttypes.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stdint.h" 1 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 27 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wchar.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 49 "/usr/include/stdint.h" 3 4 typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 126 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 138 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 4 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stdint.h" 2 3 4 # 29 "/usr/include/inttypes.h" 2 3 4 typedef unsigned int __gwchar_t; # 274 "/usr/include/inttypes.h" 3 4 # 288 "/usr/include/inttypes.h" 3 4 typedef struct { long long int quot; long long int rem; } imaxdiv_t; extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern intmax_t strtoimax (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); extern uintmax_t strtoumax (__const char *__restrict __nptr, char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, __gwchar_t ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); # 379 "/usr/include/inttypes.h" 3 4 __extension__ extern long long int __strtoll_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern __inline intmax_t __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base) { return __strtoll_internal (nptr, endptr, base, 0); } __extension__ extern unsigned long long int __strtoull_internal (__const char * __restrict __nptr, char ** __restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern __inline uintmax_t __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base) { return __strtoull_internal (nptr, endptr, base, 0); } __extension__ extern long long int __wcstoll_internal (__const __gwchar_t * __restrict __nptr, __gwchar_t **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern __inline intmax_t __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) { return __wcstoll_internal (nptr, endptr, base, 0); } __extension__ extern unsigned long long int __wcstoull_internal (__const __gwchar_t * __restrict __nptr, __gwchar_t ** __restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern __inline uintmax_t __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) { return __wcstoull_internal (nptr, endptr, base, 0); } # 33 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 1 3 4 # 34 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 1 3 4 # 169 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 145 "/usr/include/limits.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 1 3 4 # 157 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/local_lim.h" 1 3 4 # 39 "/usr/include/arm-linux-gnueabihf/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 40 "/usr/include/arm-linux-gnueabihf/bits/local_lim.h" 2 3 4 # 158 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 2 3 4 # 146 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/posix2_lim.h" 1 3 4 # 150 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/xopen_lim.h" 1 3 4 # 34 "/usr/include/arm-linux-gnueabihf/bits/xopen_lim.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/stdio_lim.h" 1 3 4 # 35 "/usr/include/arm-linux-gnueabihf/bits/xopen_lim.h" 2 3 4 # 154 "/usr/include/limits.h" 2 3 4 # 170 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 2 3 4 # 8 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/syslimits.h" 2 3 4 # 35 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 2 3 4 # 34 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/time.h" 1 3 4 # 30 "/usr/include/time.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 39 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/time.h" 1 3 4 # 43 "/usr/include/time.h" 2 3 4 # 131 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 180 "/usr/include/time.h" 3 4 extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *strptime (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__)); extern char *strptime_l (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) __attribute__ ((__nothrow__)); extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 313 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 328 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 390 "/usr/include/time.h" 3 4 extern int getdate_err; # 399 "/usr/include/time.h" 3 4 extern struct tm *getdate (__const char *__string); # 413 "/usr/include/time.h" 3 4 extern int getdate_r (__const char *__restrict __string, struct tm *__restrict __resbufp); # 35 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/ctype.h" 1 3 4 # 30 "/usr/include/ctype.h" 3 4 # 48 "/usr/include/ctype.h" 3 4 enum { _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; # 81 "/usr/include/ctype.h" 3 4 extern __const unsigned short int **__ctype_b_loc (void) __attribute__ ((__nothrow__)) __attribute__ ((__const)); extern __const __int32_t **__ctype_tolower_loc (void) __attribute__ ((__nothrow__)) __attribute__ ((__const)); extern __const __int32_t **__ctype_toupper_loc (void) __attribute__ ((__nothrow__)) __attribute__ ((__const)); # 96 "/usr/include/ctype.h" 3 4 extern int isalnum (int) __attribute__ ((__nothrow__)); extern int isalpha (int) __attribute__ ((__nothrow__)); extern int iscntrl (int) __attribute__ ((__nothrow__)); extern int isdigit (int) __attribute__ ((__nothrow__)); extern int islower (int) __attribute__ ((__nothrow__)); extern int isgraph (int) __attribute__ ((__nothrow__)); extern int isprint (int) __attribute__ ((__nothrow__)); extern int ispunct (int) __attribute__ ((__nothrow__)); extern int isspace (int) __attribute__ ((__nothrow__)); extern int isupper (int) __attribute__ ((__nothrow__)); extern int isxdigit (int) __attribute__ ((__nothrow__)); extern int tolower (int __c) __attribute__ ((__nothrow__)); extern int toupper (int __c) __attribute__ ((__nothrow__)); extern int isblank (int) __attribute__ ((__nothrow__)); extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__)); extern int isascii (int __c) __attribute__ ((__nothrow__)); extern int toascii (int __c) __attribute__ ((__nothrow__)); extern int _toupper (int) __attribute__ ((__nothrow__)); extern int _tolower (int) __attribute__ ((__nothrow__)); # 190 "/usr/include/ctype.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) tolower (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; } extern __inline int __attribute__ ((__nothrow__)) toupper (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; } # 247 "/usr/include/ctype.h" 3 4 extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__)); extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); # 323 "/usr/include/ctype.h" 3 4 # 36 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/errno.h" 1 3 4 # 32 "/usr/include/errno.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/errno.h" 1 3 4 # 25 "/usr/include/arm-linux-gnueabihf/bits/errno.h" 3 4 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/arm-linux-gnueabihf/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 # 5 "/usr/include/asm-generic/errno.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/asm/errno.h" 2 3 4 # 5 "/usr/include/linux/errno.h" 2 3 4 # 26 "/usr/include/arm-linux-gnueabihf/bits/errno.h" 2 3 4 # 47 "/usr/include/arm-linux-gnueabihf/bits/errno.h" 3 4 extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 37 "/usr/include/errno.h" 2 3 4 # 55 "/usr/include/errno.h" 3 4 extern char *program_invocation_name, *program_invocation_short_name; # 69 "/usr/include/errno.h" 3 4 typedef int error_t; # 37 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/unistd.h" 1 3 4 # 28 "/usr/include/unistd.h" 3 4 # 203 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/posix_opt.h" 1 3 4 # 204 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/environments.h" 1 3 4 # 23 "/usr/include/arm-linux-gnueabihf/bits/environments.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 # 24 "/usr/include/arm-linux-gnueabihf/bits/environments.h" 2 3 4 # 208 "/usr/include/unistd.h" 2 3 4 # 227 "/usr/include/unistd.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 228 "/usr/include/unistd.h" 2 3 4 # 275 "/usr/include/unistd.h" 3 4 typedef __socklen_t socklen_t; # 288 "/usr/include/unistd.h" 3 4 extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int euidaccess (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int eaccess (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int faccessat (int __fd, __const char *__file, int __type, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); # 334 "/usr/include/unistd.h" 3 4 extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__)) ; extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) __attribute__ ((__nothrow__)); extern int close (int __fd); extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__)); extern ssize_t write (int __fd, __const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__)); # 385 "/usr/include/unistd.h" 3 4 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__)); extern ssize_t pwrite (int __fd, __const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") __attribute__ ((__warn_unused_result__)); # 401 "/usr/include/unistd.h" 3 4 extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __attribute__ ((__warn_unused_result__)); extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n, __off64_t __offset) __attribute__ ((__warn_unused_result__)); extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); # 429 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); # 441 "/usr/include/unistd.h" 3 4 extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__)); extern int usleep (__useconds_t __useconds); # 466 "/usr/include/unistd.h" 3 4 extern int pause (void); extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int fchownat (int __fd, __const char *__file, __uid_t __owner, __gid_t __group, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int fchdir (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); # 508 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern char *get_current_dir_name (void) __attribute__ ((__nothrow__)); extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)); extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__)); extern char **__environ; extern char **environ; extern int execve (__const char *__path, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int execv (__const char *__path, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int execle (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int execl (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvp (__const char *__file, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int execlp (__const char *__file, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvpe (__const char *__file, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "/usr/include/arm-linux-gnueabihf/bits/confname.h" 1 3 4 # 26 "/usr/include/arm-linux-gnueabihf/bits/confname.h" 3 4 enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS, _SC_V7_ILP32_OFF32, _SC_V7_ILP32_OFFBIG, _SC_V7_LP64_OFF64, _SC_V7_LPBIG_OFFBIG, _SC_SS_REPL_MAX, _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS, _SC_THREAD_ROBUST_PRIO_INHERIT, _SC_THREAD_ROBUST_PRIO_PROTECT }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_V5_WIDTH_RESTRICTED_ENVS, _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V7_ILP32_OFF32_CFLAGS, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, _CS_POSIX_V7_ILP32_OFF32_LIBS, _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LIBS, _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V7_LP64_OFF64_CFLAGS, _CS_POSIX_V7_LP64_OFF64_LDFLAGS, _CS_POSIX_V7_LP64_OFF64_LIBS, _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, _CS_V6_ENV, _CS_V7_ENV }; # 607 "/usr/include/unistd.h" 2 3 4 extern long int pathconf (__const char *__path, int __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); # 643 "/usr/include/unistd.h" 3 4 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); # 669 "/usr/include/unistd.h" 3 4 extern int setpgrp (void) __attribute__ ((__nothrow__)); # 686 "/usr/include/unistd.h" 3 4 extern __pid_t setsid (void) __attribute__ ((__nothrow__)); extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__)); extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) __attribute__ ((__nothrow__)); extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) __attribute__ ((__nothrow__)); extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) __attribute__ ((__nothrow__)); extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) __attribute__ ((__nothrow__)); extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); extern int isatty (int __fd) __attribute__ ((__nothrow__)); extern int ttyslot (void) __attribute__ ((__nothrow__)); extern int link (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern int linkat (int __fromfd, __const char *__from, int __tofd, __const char *__to, int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__)); extern int symlink (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern ssize_t readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern int symlinkat (__const char *__from, int __tofd, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); extern ssize_t readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int unlinkat (int __fd, __const char *__name, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 890 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/getopt.h" 1 3 4 # 59 "/usr/include/getopt.h" 3 4 extern char *optarg; # 73 "/usr/include/getopt.h" 3 4 extern int optind; extern int opterr; extern int optopt; # 152 "/usr/include/getopt.h" 3 4 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__)); # 891 "/usr/include/unistd.h" 2 3 4 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int setdomainname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int vhangup (void) __attribute__ ((__nothrow__)); extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int acct (__const char *__name) __attribute__ ((__nothrow__)); extern char *getusershell (void) __attribute__ ((__nothrow__)); extern void endusershell (void) __attribute__ ((__nothrow__)); extern void setusershell (void) __attribute__ ((__nothrow__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); # 976 "/usr/include/unistd.h" 3 4 extern int fsync (int __fd); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__)); extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__)); # 1011 "/usr/include/unistd.h" 3 4 extern int truncate (__const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int truncate64 (__const char *__file, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 1032 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); # 1050 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); # 1071 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); # 1097 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") __attribute__ ((__warn_unused_result__)); extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__)); # 1125 "/usr/include/unistd.h" 3 4 extern int fdatasync (int __fildes); extern char *crypt (__const char *__key, __const char *__salt) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void encrypt (char *__libc_block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void swab (__const void *__restrict __from, void *__restrict __to, ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); # 1 "/usr/include/arm-linux-gnueabihf/bits/unistd.h" 1 3 4 # 24 "/usr/include/arm-linux-gnueabihf/bits/unistd.h" 3 4 extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __attribute__ ((__warn_unused_result__)); extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") __attribute__ ((__warn_unused_result__)); extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t read (int __fd, void *__buf, size_t __nbytes) { if (__builtin_object_size (__buf, 0) != (size_t) -1) { if (!__builtin_constant_p (__nbytes)) return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); if (__nbytes > __builtin_object_size (__buf, 0)) return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); } return __read_alias (__fd, __buf, __nbytes); } extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)); extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)); extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread") __attribute__ ((__warn_unused_result__)); extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__)); extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer"))) ; extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer"))) ; # 87 "/usr/include/arm-linux-gnueabihf/bits/unistd.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) { if (__builtin_object_size (__buf, 0) != (size_t) -1) { if (!__builtin_constant_p (__nbytes)) return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); if ( __nbytes > __builtin_object_size (__buf, 0)) return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); } return __pread64_alias (__fd, __buf, __nbytes, __offset); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) { if (__builtin_object_size (__buf, 0) != (size_t) -1) { if (!__builtin_constant_p (__nbytes)) return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); if ( __nbytes > __builtin_object_size (__buf, 0)) return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); } return __pread64_alias (__fd, __buf, __nbytes, __offset); } extern ssize_t __readlink_chk (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern ssize_t __readlink_alias (__const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern ssize_t __readlink_chk_warn (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t __attribute__ ((__nothrow__)) readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); if ( __len > __builtin_object_size (__buf, 2 > 1)) return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); } return __readlink_alias (__path, __buf, __len); } extern ssize_t __readlinkat_chk (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); extern ssize_t __readlinkat_alias (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); extern ssize_t __readlinkat_chk_warn (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t __attribute__ ((__nothrow__)) readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); if (__len > __builtin_object_size (__buf, 2 > 1)) return __readlinkat_chk_warn (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); } return __readlinkat_alias (__fd, __path, __buf, __len); } extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * __attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__size)) return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1)); if (__size > __builtin_object_size (__buf, 2 > 1)) return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)); } return __getcwd_alias (__buf, __size); } extern char *__getwd_chk (char *__buf, size_t buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char * __attribute__ ((__nothrow__)) getwd (char *__buf) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1)); return __getwd_warn (__buf); } extern size_t __confstr_chk (int __name, char *__buf, size_t __len, size_t __buflen) __attribute__ ((__nothrow__)); extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__)) ; extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__)) __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); if (__builtin_object_size (__buf, 2 > 1) < __len) return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); } return __confstr_alias (__name, __buf, __len); } extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[]) { if (__builtin_object_size (__list, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__size) || __size < 0) return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1)); if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1)) return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)); } return __getgroups_alias (__size, __list); } extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); if (__buflen > __builtin_object_size (__buf, 2 > 1)) return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); } return __ttyname_r_alias (__fd, __buf, __buflen); } extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nonnull__ (1))); extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r") __attribute__ ((__nonnull__ (1))); extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk") __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int getlogin_r (char *__buf, size_t __buflen) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); if (__buflen > __builtin_object_size (__buf, 2 > 1)) return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); } return __getlogin_r_alias (__buf, __buflen); } extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); if (__buflen > __builtin_object_size (__buf, 2 > 1)) return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); } return __gethostname_alias (__buf, __buflen); } extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); if (__buflen > __builtin_object_size (__buf, 2 > 1)) return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); } return __getdomainname_alias (__buf, __buflen); } # 1161 "/usr/include/unistd.h" 2 3 4 # 38 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/fcntl.h" 1 3 4 # 30 "/usr/include/fcntl.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/fcntl.h" 1 3 4 # 27 "/usr/include/arm-linux-gnueabihf/bits/fcntl.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/uio.h" 1 3 4 # 44 "/usr/include/arm-linux-gnueabihf/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 28 "/usr/include/arm-linux-gnueabihf/bits/fcntl.h" 2 3 4 # 152 "/usr/include/arm-linux-gnueabihf/bits/fcntl.h" 3 4 struct flock { short int l_type; short int l_whence; __off64_t l_start; __off64_t l_len; __pid_t l_pid; }; struct flock64 { short int l_type; short int l_whence; __off64_t l_start; __off64_t l_len; __pid_t l_pid; }; enum __pid_type { F_OWNER_TID = 0, F_OWNER_PID, F_OWNER_PGRP, F_OWNER_GID = F_OWNER_PGRP }; struct f_owner_ex { enum __pid_type type; __pid_t pid; }; # 252 "/usr/include/arm-linux-gnueabihf/bits/fcntl.h" 3 4 extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) __attribute__ ((__nothrow__)); extern int sync_file_range (int __fd, __off64_t __offset, __off64_t __count, unsigned int __flags); extern ssize_t vmsplice (int __fdout, const struct iovec *__iov, size_t __count, unsigned int __flags); extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout, __off64_t *__offout, size_t __len, unsigned int __flags); extern ssize_t tee (int __fdin, int __fdout, size_t __len, unsigned int __flags); extern int fallocate (int __fd, int __mode, __off64_t __offset, __off64_t __len) __asm__ ("" "fallocate64") ; extern int fallocate64 (int __fd, int __mode, __off64_t __offset, __off64_t __len); # 35 "/usr/include/fcntl.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 1 3 4 # 39 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 3 4 struct stat { __dev_t st_dev; unsigned short int __pad1; __ino_t __st_ino; __mode_t st_mode; __nlink_t st_nlink; __uid_t st_uid; __gid_t st_gid; __dev_t st_rdev; unsigned short int __pad2; __off64_t st_size; __blksize_t st_blksize; __blkcnt64_t st_blocks; # 73 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 3 4 struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 91 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 3 4 __ino64_t st_ino; }; struct stat64 { __dev_t st_dev; unsigned int __pad1; __ino_t __st_ino; __mode_t st_mode; __nlink_t st_nlink; __uid_t st_uid; __gid_t st_gid; __dev_t st_rdev; unsigned int __pad2; __off64_t st_size; __blksize_t st_blksize; __blkcnt64_t st_blocks; struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 130 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 3 4 __ino64_t st_ino; }; # 42 "/usr/include/fcntl.h" 2 3 4 # 110 "/usr/include/fcntl.h" 3 4 extern int fcntl (int __fd, int __cmd, ...); # 122 "/usr/include/fcntl.h" 3 4 extern int open (__const char *__file, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1))); extern int open64 (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); # 147 "/usr/include/fcntl.h" 3 4 extern int openat (int __fd, __const char *__file, int __oflag, ...) __asm__ ("" "openat64") __attribute__ ((__nonnull__ (2))); extern int openat64 (int __fd, __const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (2))); # 168 "/usr/include/fcntl.h" 3 4 extern int creat (__const char *__file, __mode_t __mode) __asm__ ("" "creat64") __attribute__ ((__nonnull__ (1))); extern int creat64 (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); # 215 "/usr/include/fcntl.h" 3 4 extern int posix_fadvise (int __fd, __off64_t __offset, __off64_t __len, int __advise) __asm__ ("" "posix_fadvise64") __attribute__ ((__nothrow__)) ; extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len, int __advise) __attribute__ ((__nothrow__)); # 236 "/usr/include/fcntl.h" 3 4 extern int posix_fallocate (int __fd, __off64_t __offset, __off64_t __len) __asm__ ("" "posix_fallocate64") ; extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len); # 1 "/usr/include/arm-linux-gnueabihf/bits/fcntl2.h" 1 3 4 # 31 "/usr/include/arm-linux-gnueabihf/bits/fcntl2.h" 3 4 extern int __open_2 (__const char *__path, int __oflag) __asm__ ("" "__open64_2") __attribute__ ((__nonnull__ (1))); extern int __open_alias (__const char *__path, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1))); extern void __open_too_many_args (void) __attribute__((__error__ ("open can be called either with 2 or 3 arguments, not more"))) ; extern void __open_missing_mode (void) __attribute__((__error__ ("open with O_CREAT in second argument needs 3 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int open (__const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __open_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) { __open_missing_mode (); return __open_2 (__path, __oflag); } return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __open_2 (__path, __oflag); return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); } extern int __open64_2 (__const char *__path, int __oflag) __attribute__ ((__nonnull__ (1))); extern int __open64_alias (__const char *__path, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1))); extern void __open64_too_many_args (void) __attribute__((__error__ ("open64 can be called either with 2 or 3 arguments, not more"))) ; extern void __open64_missing_mode (void) __attribute__((__error__ ("open64 with O_CREAT in second argument needs 3 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int open64 (__const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __open64_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) { __open64_missing_mode (); return __open64_2 (__path, __oflag); } return __open64_alias (__path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __open64_2 (__path, __oflag); return __open64_alias (__path, __oflag, __builtin_va_arg_pack ()); } # 105 "/usr/include/arm-linux-gnueabihf/bits/fcntl2.h" 3 4 extern int __openat_2 (int __fd, __const char *__path, int __oflag) __asm__ ("" "__openat64_2") __attribute__ ((__nonnull__ (2))); extern int __openat_alias (int __fd, __const char *__path, int __oflag, ...) __asm__ ("" "openat64") __attribute__ ((__nonnull__ (2))); extern void __openat_too_many_args (void) __attribute__((__error__ ("openat can be called either with 3 or 4 arguments, not more"))) ; extern void __openat_missing_mode (void) __attribute__((__error__ ("openat with O_CREAT in third argument needs 4 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int openat (int __fd, __const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __openat_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) { __openat_missing_mode (); return __openat_2 (__fd, __path, __oflag); } return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __openat_2 (__fd, __path, __oflag); return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } extern int __openat64_2 (int __fd, __const char *__path, int __oflag) __attribute__ ((__nonnull__ (2))); extern int __openat64_alias (int __fd, __const char *__path, int __oflag, ...) __asm__ ("" "openat64") __attribute__ ((__nonnull__ (2))); extern void __openat64_too_many_args (void) __attribute__((__error__ ("openat64 can be called either with 3 or 4 arguments, not more"))) ; extern void __openat64_missing_mode (void) __attribute__((__error__ ("openat64 with O_CREAT in third argument needs 4 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int openat64 (int __fd, __const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __openat64_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) { __openat64_missing_mode (); return __openat64_2 (__fd, __path, __oflag); } return __openat64_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __openat64_2 (__fd, __path, __oflag); return __openat64_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } # 253 "/usr/include/fcntl.h" 2 3 4 # 39 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 1 3 4 # 105 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 1 3 4 # 108 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 2 3 4 # 219 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 extern int stat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int stat64 (__const char *__restrict __file, struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 245 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 extern int fstatat (int __fd, __const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "fstatat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int fstatat64 (int __fd, __const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 269 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 extern int lstat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lstat64 (__const char *__restrict __file, struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int chmod (__const char *__file, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int lchmod (__const char *__file, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__)); extern int fchmodat (int __fd, __const char *__file, __mode_t __mode, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__)); extern __mode_t getumask (void) __attribute__ ((__nothrow__)); extern int mkdir (__const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mkdirat (int __fd, __const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int mkfifo (__const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int utimensat (int __fd, __const char *__path, __const struct timespec __times[2], int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__)); # 412 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __asm__ ("" "__fxstat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__xstat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int __lxstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__lxstat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int __fxstatat (int __ver, int __fildes, __const char *__filename, struct stat *__stat_buf, int __flag) __asm__ ("" "__fxstatat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); # 434 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int __xstat64 (int __ver, __const char *__filename, struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int __lxstat64 (int __ver, __const char *__filename, struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename, struct stat64 *__stat_buf, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int __xmknodat (int __ver, int __fd, __const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5))); extern __inline int __attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf) { return __xstat (3, __path, __statbuf); } extern __inline int __attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf) { return __lxstat (3, __path, __statbuf); } extern __inline int __attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf) { return __fxstat (3, __fd, __statbuf); } extern __inline int __attribute__ ((__nothrow__)) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag) { return __fxstatat (3, __fd, __filename, __statbuf, __flag); } extern __inline int __attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev) { return __xmknod (1, __path, __mode, &__dev); } extern __inline int __attribute__ ((__nothrow__)) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev) { return __xmknodat (1, __fd, __path, __mode, &__dev); } extern __inline int __attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf) { return __xstat64 (3, __path, __statbuf); } extern __inline int __attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf) { return __lxstat64 (3, __path, __statbuf); } extern __inline int __attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf) { return __fxstat64 (3, __fd, __statbuf); } extern __inline int __attribute__ ((__nothrow__)) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag) { return __fxstatat64 (3, __fd, __filename, __statbuf, __flag); } # 40 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/arm-linux-gnueabihf/sys/time.h" 1 3 4 # 29 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/time.h" 1 3 4 # 30 "/usr/include/arm-linux-gnueabihf/sys/time.h" 2 3 4 # 39 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 # 57 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; # 73 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (__const struct timeval *__tv, __const struct timezone *__tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int adjtime (__const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef enum __itimer_which __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__)); extern int setitimer (__itimer_which_t __which, __const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); extern int utimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); extern int futimesat (int __fd, __const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); # 191 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 # 41 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/assert.h" 1 3 4 # 68 "/usr/include/assert.h" 3 4 extern void __assert_fail (__const char *__assertion, __const char *__file, unsigned int __line, __const char *__function) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void __assert_perror_fail (int __errnum, __const char *__file, unsigned int __line, __const char *__function) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void __assert (const char *__assertion, const char *__file, int __line) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 42 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/usr/include/signal.h" 1 3 4 # 31 "/usr/include/signal.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/sigset.h" 1 3 4 # 104 "/usr/include/arm-linux-gnueabihf/bits/sigset.h" 3 4 extern int __sigismember (__const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 118 "/usr/include/arm-linux-gnueabihf/bits/sigset.h" 3 4 extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } # 34 "/usr/include/signal.h" 2 3 4 typedef __sig_atomic_t sig_atomic_t; # 58 "/usr/include/signal.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/signum.h" 1 3 4 # 59 "/usr/include/signal.h" 2 3 4 # 79 "/usr/include/signal.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 1 3 4 # 25 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 # 26 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 2 3 4 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 51 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 3 4 typedef struct siginfo { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 3)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __clock_t si_utime; __clock_t si_stime; } _sigchld; struct { void *si_addr; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; } _sifields; } siginfo_t; # 129 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 3 4 enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR }; enum { TRAP_BRKPT = 1, TRAP_TRACE }; enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 273 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 3 4 typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 3)]; __pid_t _tid; struct { void (*_function) (sigval_t); void *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 80 "/usr/include/signal.h" 2 3 4 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); # 113 "/usr/include/signal.h" 3 4 extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__)); extern int raise (int __sig) __attribute__ ((__nothrow__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__)); extern void psignal (int __sig, __const char *__s); extern void psiginfo (__const siginfo_t *__pinfo, __const char *__s); # 168 "/usr/include/signal.h" 3 4 extern int __sigpause (int __sig_or_mask, int __is_sig); # 177 "/usr/include/signal.h" 3 4 extern int sigpause (int __sig) __asm__ ("__xpg_sigpause"); # 196 "/usr/include/signal.h" 3 4 extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); # 211 "/usr/include/signal.h" 3 4 typedef __sighandler_t sighandler_t; typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (__const sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigandset (sigset_t *__set, __const sigset_t *__left, __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int sigorset (sigset_t *__set, __const sigset_t *__left, __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); # 1 "/usr/include/arm-linux-gnueabihf/bits/sigaction.h" 1 3 4 # 25 "/usr/include/arm-linux-gnueabihf/bits/sigaction.h" 3 4 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 253 "/usr/include/signal.h" 2 3 4 extern int sigprocmask (int __how, __const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__)); extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, __const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (__const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (__const sigset_t *__restrict __set, siginfo_t *__restrict __info, __const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) __attribute__ ((__nothrow__)); # 310 "/usr/include/signal.h" 3 4 extern __const char *__const _sys_siglist[65]; extern __const char *__const sys_siglist[65]; struct sigvec { __sighandler_t sv_handler; int sv_mask; int sv_flags; }; # 334 "/usr/include/signal.h" 3 4 extern int sigvec (int __sig, __const struct sigvec *__vec, struct sigvec *__ovec) __attribute__ ((__nothrow__)); # 1 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 1 3 4 # 28 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/asm/sigcontext.h" 1 3 4 # 9 "/usr/include/arm-linux-gnueabihf/asm/sigcontext.h" 3 4 struct sigcontext { unsigned long trap_no; unsigned long error_code; unsigned long oldmask; unsigned long arm_r0; unsigned long arm_r1; unsigned long arm_r2; unsigned long arm_r3; unsigned long arm_r4; unsigned long arm_r5; unsigned long arm_r6; unsigned long arm_r7; unsigned long arm_r8; unsigned long arm_r9; unsigned long arm_r10; unsigned long arm_fp; unsigned long arm_ip; unsigned long arm_sp; unsigned long arm_lr; unsigned long arm_pc; unsigned long arm_cpsr; unsigned long fault_address; }; # 29 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 2 3 4 # 340 "/usr/include/signal.h" 2 3 4 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__)); # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 350 "/usr/include/signal.h" 2 3 4 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__)); # 1 "/usr/include/arm-linux-gnueabihf/bits/sigstack.h" 1 3 4 # 26 "/usr/include/arm-linux-gnueabihf/bits/sigstack.h" 3 4 struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; # 50 "/usr/include/arm-linux-gnueabihf/bits/sigstack.h" 3 4 typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 357 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/sys/ucontext.h" 1 3 4 # 25 "/usr/include/arm-linux-gnueabihf/sys/ucontext.h" 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 26 "/usr/include/arm-linux-gnueabihf/sys/ucontext.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 1 3 4 # 30 "/usr/include/arm-linux-gnueabihf/sys/ucontext.h" 2 3 4 typedef int greg_t; typedef greg_t gregset_t[18]; enum { REG_R0 = 0, REG_R1 = 1, REG_R2 = 2, REG_R3 = 3, REG_R4 = 4, REG_R5 = 5, REG_R6 = 6, REG_R7 = 7, REG_R8 = 8, REG_R9 = 9, REG_R10 = 10, REG_R11 = 11, REG_R12 = 12, REG_R13 = 13, REG_R14 = 14, REG_R15 = 15 }; struct _libc_fpstate { struct { unsigned int sign1:1; unsigned int unused:15; unsigned int sign2:1; unsigned int exponent:14; unsigned int j:1; unsigned int mantissa1:31; unsigned int mantissa0:32; } fpregs[8]; unsigned int fpsr:32; unsigned int fpcr:32; unsigned char ftype[8]; unsigned int init_flag; }; typedef struct _libc_fpstate fpregset_t; typedef struct sigcontext mcontext_t; typedef struct ucontext { unsigned long uc_flags; struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; __sigset_t uc_sigmask; unsigned long uc_regspace[128] __attribute__((__aligned__(8))); } ucontext_t; # 360 "/usr/include/signal.h" 2 3 4 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigaltstack (__const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__)); extern int sighold (int __sig) __attribute__ ((__nothrow__)); extern int sigrelse (int __sig) __attribute__ ((__nothrow__)); extern int sigignore (int __sig) __attribute__ ((__nothrow__)); extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__)); # 1 "/usr/include/arm-linux-gnueabihf/bits/sigthread.h" 1 3 4 # 31 "/usr/include/arm-linux-gnueabihf/bits/sigthread.h" 3 4 extern int pthread_sigmask (int __how, __const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__)); extern int pthread_sigqueue (pthread_t __threadid, int __signo, const union sigval __value) __attribute__ ((__nothrow__)); # 396 "/usr/include/signal.h" 2 3 4 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__)); # 43 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/glib-compat.h" 1 # 19 "/home/pi/Загрузки/qemu-2.3.1/include/glib-compat.h" # 1 "/usr/include/glib-2.0/glib.h" 1 # 30 "/usr/include/glib-2.0/glib.h" # 1 "/usr/include/glib-2.0/glib/galloca.h" 1 # 32 "/usr/include/glib-2.0/glib/galloca.h" # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1 # 32 "/usr/include/glib-2.0/glib/gtypes.h" # 1 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" 1 # 9 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1 # 38 "/usr/include/glib-2.0/glib/gmacros.h" # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 3 4 typedef int ptrdiff_t; # 39 "/usr/include/glib-2.0/glib/gmacros.h" 2 # 10 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 1 3 4 # 12 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/float.h" 1 3 4 # 13 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" 2 # 21 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" # 37 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" typedef signed char gint8; typedef unsigned char guint8; typedef signed short gint16; typedef unsigned short guint16; typedef signed int gint32; typedef unsigned int guint32; __extension__ typedef signed long long gint64; __extension__ typedef unsigned long long guint64; # 65 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" typedef signed int gssize; typedef unsigned int gsize; # 76 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" typedef gint64 goffset; # 91 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" typedef signed int gintptr; typedef unsigned int guintptr; # 194 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" typedef int GPid; # 204 "/usr/lib/arm-linux-gnueabihf/glib-2.0/include/glibconfig.h" # 33 "/usr/include/glib-2.0/glib/gtypes.h" 2 # 1 "/usr/include/glib-2.0/glib/gversionmacros.h" 1 # 35 "/usr/include/glib-2.0/glib/gtypes.h" 2 # 46 "/usr/include/glib-2.0/glib/gtypes.h" typedef char gchar; typedef short gshort; typedef long glong; typedef int gint; typedef gint gboolean; typedef unsigned char guchar; typedef unsigned short gushort; typedef unsigned long gulong; typedef unsigned int guint; typedef float gfloat; typedef double gdouble; # 77 "/usr/include/glib-2.0/glib/gtypes.h" typedef void* gpointer; typedef const void *gconstpointer; typedef gint (*GCompareFunc) (gconstpointer a, gconstpointer b); typedef gint (*GCompareDataFunc) (gconstpointer a, gconstpointer b, gpointer user_data); typedef gboolean (*GEqualFunc) (gconstpointer a, gconstpointer b); typedef void (*GDestroyNotify) (gpointer data); typedef void (*GFunc) (gpointer data, gpointer user_data); typedef guint (*GHashFunc) (gconstpointer key); typedef void (*GHFunc) (gpointer key, gpointer value, gpointer user_data); # 103 "/usr/include/glib-2.0/glib/gtypes.h" typedef void (*GFreeFunc) (gpointer data); # 117 "/usr/include/glib-2.0/glib/gtypes.h" typedef const gchar * (*GTranslateFunc) (const gchar *str, gpointer data); # 399 "/usr/include/glib-2.0/glib/gtypes.h" typedef union _GDoubleIEEE754 GDoubleIEEE754; typedef union _GFloatIEEE754 GFloatIEEE754; union _GFloatIEEE754 { gfloat v_float; struct { guint mantissa : 23; guint biased_exponent : 8; guint sign : 1; } mpn; }; union _GDoubleIEEE754 { gdouble v_double; struct { guint mantissa_low : 32; guint mantissa_high : 20; guint biased_exponent : 11; guint sign : 1; } mpn; }; # 449 "/usr/include/glib-2.0/glib/gtypes.h" typedef struct _GTimeVal GTimeVal; struct _GTimeVal { glong tv_sec; glong tv_usec; }; # 33 "/usr/include/glib-2.0/glib/galloca.h" 2 # 31 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/garray.h" 1 # 34 "/usr/include/glib-2.0/glib/garray.h" typedef struct _GBytes GBytes; typedef struct _GArray GArray; typedef struct _GByteArray GByteArray; typedef struct _GPtrArray GPtrArray; struct _GArray { gchar *data; guint len; }; struct _GByteArray { guint8 *data; guint len; }; struct _GPtrArray { gpointer *pdata; guint len; }; # 69 "/usr/include/glib-2.0/glib/garray.h" extern GArray* g_array_new (gboolean zero_terminated, gboolean clear_, guint element_size); extern GArray* g_array_sized_new (gboolean zero_terminated, gboolean clear_, guint element_size, guint reserved_size); extern gchar* g_array_free (GArray *array, gboolean free_segment); extern GArray *g_array_ref (GArray *array); extern void g_array_unref (GArray *array); extern guint g_array_get_element_size (GArray *array); extern GArray* g_array_append_vals (GArray *array, gconstpointer data, guint len); extern GArray* g_array_prepend_vals (GArray *array, gconstpointer data, guint len); extern GArray* g_array_insert_vals (GArray *array, guint index_, gconstpointer data, guint len); extern GArray* g_array_set_size (GArray *array, guint length); extern GArray* g_array_remove_index (GArray *array, guint index_); extern GArray* g_array_remove_index_fast (GArray *array, guint index_); extern GArray* g_array_remove_range (GArray *array, guint index_, guint length); extern void g_array_sort (GArray *array, GCompareFunc compare_func); extern void g_array_sort_with_data (GArray *array, GCompareDataFunc compare_func, gpointer user_data); extern void g_array_set_clear_func (GArray *array, GDestroyNotify clear_func); extern GPtrArray* g_ptr_array_new (void); extern GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func); extern GPtrArray* g_ptr_array_sized_new (guint reserved_size); extern GPtrArray* g_ptr_array_new_full (guint reserved_size, GDestroyNotify element_free_func); extern gpointer* g_ptr_array_free (GPtrArray *array, gboolean free_seg); extern GPtrArray* g_ptr_array_ref (GPtrArray *array); extern void g_ptr_array_unref (GPtrArray *array); extern void g_ptr_array_set_free_func (GPtrArray *array, GDestroyNotify element_free_func); extern void g_ptr_array_set_size (GPtrArray *array, gint length); extern gpointer g_ptr_array_remove_index (GPtrArray *array, guint index_); extern gpointer g_ptr_array_remove_index_fast (GPtrArray *array, guint index_); extern gboolean g_ptr_array_remove (GPtrArray *array, gpointer data); extern gboolean g_ptr_array_remove_fast (GPtrArray *array, gpointer data); extern GPtrArray *g_ptr_array_remove_range (GPtrArray *array, guint index_, guint length); extern void g_ptr_array_add (GPtrArray *array, gpointer data); extern void g_ptr_array_insert (GPtrArray *array, gint index_, gpointer data); extern void g_ptr_array_sort (GPtrArray *array, GCompareFunc compare_func); extern void g_ptr_array_sort_with_data (GPtrArray *array, GCompareDataFunc compare_func, gpointer user_data); extern void g_ptr_array_foreach (GPtrArray *array, GFunc func, gpointer user_data); extern GByteArray* g_byte_array_new (void); extern GByteArray* g_byte_array_new_take (guint8 *data, gsize len); extern GByteArray* g_byte_array_sized_new (guint reserved_size); extern guint8* g_byte_array_free (GByteArray *array, gboolean free_segment); extern GBytes* g_byte_array_free_to_bytes (GByteArray *array); extern GByteArray *g_byte_array_ref (GByteArray *array); extern void g_byte_array_unref (GByteArray *array); extern GByteArray* g_byte_array_append (GByteArray *array, const guint8 *data, guint len); extern GByteArray* g_byte_array_prepend (GByteArray *array, const guint8 *data, guint len); extern GByteArray* g_byte_array_set_size (GByteArray *array, guint length); extern GByteArray* g_byte_array_remove_index (GByteArray *array, guint index_); extern GByteArray* g_byte_array_remove_index_fast (GByteArray *array, guint index_); extern GByteArray* g_byte_array_remove_range (GByteArray *array, guint index_, guint length); extern void g_byte_array_sort (GByteArray *array, GCompareFunc compare_func); extern void g_byte_array_sort_with_data (GByteArray *array, GCompareDataFunc compare_func, gpointer user_data); # 32 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1 # 32 "/usr/include/glib-2.0/glib/gasyncqueue.h" # 1 "/usr/include/glib-2.0/glib/gthread.h" 1 # 32 "/usr/include/glib-2.0/glib/gthread.h" # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1 # 29 "/usr/include/glib-2.0/glib/gatomic.h" extern gint g_atomic_int_get (const volatile gint *atomic); extern void g_atomic_int_set (volatile gint *atomic, gint newval); extern void g_atomic_int_inc (volatile gint *atomic); extern gboolean g_atomic_int_dec_and_test (volatile gint *atomic); extern gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic, gint oldval, gint newval); extern gint g_atomic_int_add (volatile gint *atomic, gint val); extern guint g_atomic_int_and (volatile guint *atomic, guint val); extern guint g_atomic_int_or (volatile guint *atomic, guint val); extern guint g_atomic_int_xor (volatile guint *atomic, guint val); extern gpointer g_atomic_pointer_get (const volatile void *atomic); extern void g_atomic_pointer_set (volatile void *atomic, gpointer newval); extern gboolean g_atomic_pointer_compare_and_exchange (volatile void *atomic, gpointer oldval, gpointer newval); extern gssize g_atomic_pointer_add (volatile void *atomic, gssize val); extern gsize g_atomic_pointer_and (volatile void *atomic, gsize val); extern gsize g_atomic_pointer_or (volatile void *atomic, gsize val); extern gsize g_atomic_pointer_xor (volatile void *atomic, gsize val); __attribute__((__deprecated__("Use '" "g_atomic_int_add" "' instead"))) extern gint g_atomic_int_exchange_and_add (volatile gint *atomic, gint val); # 33 "/usr/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1 # 29 "/usr/include/glib-2.0/glib/gerror.h" # 1 "/usr/include/glib-2.0/glib/gquark.h" 1 # 34 "/usr/include/glib-2.0/glib/gquark.h" typedef guint32 GQuark; extern GQuark g_quark_try_string (const gchar *string); extern GQuark g_quark_from_static_string (const gchar *string); extern GQuark g_quark_from_string (const gchar *string); extern const gchar * g_quark_to_string (GQuark quark) __attribute__((__const__)); # 61 "/usr/include/glib-2.0/glib/gquark.h" extern const gchar * g_intern_string (const gchar *string); extern const gchar * g_intern_static_string (const gchar *string); # 30 "/usr/include/glib-2.0/glib/gerror.h" 2 # 42 "/usr/include/glib-2.0/glib/gerror.h" typedef struct _GError GError; struct _GError { GQuark domain; gint code; gchar *message; }; extern GError* g_error_new (GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); extern GError* g_error_new_literal (GQuark domain, gint code, const gchar *message); extern GError* g_error_new_valist (GQuark domain, gint code, const gchar *format, va_list args) __attribute__((__format__ (__printf__, 3, 0))); extern void g_error_free (GError *error); extern GError* g_error_copy (const GError *error); extern gboolean g_error_matches (const GError *error, GQuark domain, gint code); extern void g_set_error (GError **err, GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (__printf__, 4, 5))); extern void g_set_error_literal (GError **err, GQuark domain, gint code, const gchar *message); extern void g_propagate_error (GError **dest, GError *src); extern void g_clear_error (GError **err); extern void g_prefix_error (GError **err, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern void g_propagate_prefixed_error (GError **dest, GError *src, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); # 34 "/usr/include/glib-2.0/glib/gthread.h" 2 extern GQuark g_thread_error_quark (void); typedef enum { G_THREAD_ERROR_AGAIN } GThreadError; typedef gpointer (*GThreadFunc) (gpointer data); typedef struct _GThread GThread; typedef union _GMutex GMutex; typedef struct _GRecMutex GRecMutex; typedef struct _GRWLock GRWLock; typedef struct _GCond GCond; typedef struct _GPrivate GPrivate; typedef struct _GOnce GOnce; union _GMutex { gpointer p; guint i[2]; }; struct _GRWLock { gpointer p; guint i[2]; }; struct _GCond { gpointer p; guint i[2]; }; struct _GRecMutex { gpointer p; guint i[2]; }; struct _GPrivate { gpointer p; GDestroyNotify notify; gpointer future[2]; }; typedef enum { G_ONCE_STATUS_NOTCALLED, G_ONCE_STATUS_PROGRESS, G_ONCE_STATUS_READY } GOnceStatus; struct _GOnce { volatile GOnceStatus status; volatile gpointer retval; }; # 139 "/usr/include/glib-2.0/glib/gthread.h" extern GThread * g_thread_ref (GThread *thread); extern void g_thread_unref (GThread *thread); extern GThread * g_thread_new (const gchar *name, GThreadFunc func, gpointer data); extern GThread * g_thread_try_new (const gchar *name, GThreadFunc func, gpointer data, GError **error); extern GThread * g_thread_self (void); extern void g_thread_exit (gpointer retval); extern gpointer g_thread_join (GThread *thread); extern void g_thread_yield (void); extern void g_mutex_init (GMutex *mutex); extern void g_mutex_clear (GMutex *mutex); extern void g_mutex_lock (GMutex *mutex); extern gboolean g_mutex_trylock (GMutex *mutex); extern void g_mutex_unlock (GMutex *mutex); extern void g_rw_lock_init (GRWLock *rw_lock); extern void g_rw_lock_clear (GRWLock *rw_lock); extern void g_rw_lock_writer_lock (GRWLock *rw_lock); extern gboolean g_rw_lock_writer_trylock (GRWLock *rw_lock); extern void g_rw_lock_writer_unlock (GRWLock *rw_lock); extern void g_rw_lock_reader_lock (GRWLock *rw_lock); extern gboolean g_rw_lock_reader_trylock (GRWLock *rw_lock); extern void g_rw_lock_reader_unlock (GRWLock *rw_lock); extern void g_rec_mutex_init (GRecMutex *rec_mutex); extern void g_rec_mutex_clear (GRecMutex *rec_mutex); extern void g_rec_mutex_lock (GRecMutex *rec_mutex); extern gboolean g_rec_mutex_trylock (GRecMutex *rec_mutex); extern void g_rec_mutex_unlock (GRecMutex *rec_mutex); extern void g_cond_init (GCond *cond); extern void g_cond_clear (GCond *cond); extern void g_cond_wait (GCond *cond, GMutex *mutex); extern void g_cond_signal (GCond *cond); extern void g_cond_broadcast (GCond *cond); extern gboolean g_cond_wait_until (GCond *cond, GMutex *mutex, gint64 end_time); extern gpointer g_private_get (GPrivate *key); extern void g_private_set (GPrivate *key, gpointer value); extern void g_private_replace (GPrivate *key, gpointer value); extern gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg); extern gboolean g_once_init_enter (volatile void *location); extern void g_once_init_leave (volatile void *location, gsize result); # 266 "/usr/include/glib-2.0/glib/gthread.h" extern guint g_get_num_processors (void); # 33 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2 typedef struct _GAsyncQueue GAsyncQueue; extern GAsyncQueue *g_async_queue_new (void); extern GAsyncQueue *g_async_queue_new_full (GDestroyNotify item_free_func); extern void g_async_queue_lock (GAsyncQueue *queue); extern void g_async_queue_unlock (GAsyncQueue *queue); extern GAsyncQueue *g_async_queue_ref (GAsyncQueue *queue); extern void g_async_queue_unref (GAsyncQueue *queue); __attribute__((__deprecated__("Use '" "g_async_queue_ref" "' instead"))) extern void g_async_queue_ref_unlocked (GAsyncQueue *queue); __attribute__((__deprecated__("Use '" "g_async_queue_unref" "' instead"))) extern void g_async_queue_unref_and_unlock (GAsyncQueue *queue); extern void g_async_queue_push (GAsyncQueue *queue, gpointer data); extern void g_async_queue_push_unlocked (GAsyncQueue *queue, gpointer data); extern void g_async_queue_push_sorted (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); extern void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); extern gpointer g_async_queue_pop (GAsyncQueue *queue); extern gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue); extern gpointer g_async_queue_try_pop (GAsyncQueue *queue); extern gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue); extern gpointer g_async_queue_timeout_pop (GAsyncQueue *queue, guint64 timeout); extern gpointer g_async_queue_timeout_pop_unlocked (GAsyncQueue *queue, guint64 timeout); extern gint g_async_queue_length (GAsyncQueue *queue); extern gint g_async_queue_length_unlocked (GAsyncQueue *queue); extern void g_async_queue_sort (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); extern void g_async_queue_sort_unlocked (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); __attribute__((__deprecated__("Use '" "g_async_queue_timeout_pop" "' instead"))) extern gpointer g_async_queue_timed_pop (GAsyncQueue *queue, GTimeVal *end_time); __attribute__((__deprecated__("Use '" "g_async_queue_timeout_pop_unlocked" "' instead"))) extern gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, GTimeVal *end_time); # 33 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1 # 35 "/usr/include/glib-2.0/glib/gbacktrace.h" extern void g_on_error_query (const gchar *prg_name); extern void g_on_error_stack_trace (const gchar *prg_name); # 62 "/usr/include/glib-2.0/glib/gbacktrace.h" # 35 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1 # 28 "/usr/include/glib-2.0/glib/gbase64.h" extern gsize g_base64_encode_step (const guchar *in, gsize len, gboolean break_lines, gchar *out, gint *state, gint *save); extern gsize g_base64_encode_close (gboolean break_lines, gchar *out, gint *state, gint *save); extern gchar* g_base64_encode (const guchar *data, gsize len) __attribute__((__malloc__)); extern gsize g_base64_decode_step (const gchar *in, gsize len, guchar *out, gint *state, guint *save); extern guchar *g_base64_decode (const gchar *text, gsize *out_len) __attribute__((__malloc__)); extern guchar *g_base64_decode_inplace (gchar *text, gsize *out_len); # 36 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbitlock.h" 1 # 30 "/usr/include/glib-2.0/glib/gbitlock.h" extern void g_bit_lock (volatile gint *address, gint lock_bit); extern gboolean g_bit_trylock (volatile gint *address, gint lock_bit); extern void g_bit_unlock (volatile gint *address, gint lock_bit); extern void g_pointer_bit_lock (volatile void *address, gint lock_bit); extern gboolean g_pointer_bit_trylock (volatile void *address, gint lock_bit); extern void g_pointer_bit_unlock (volatile void *address, gint lock_bit); # 74 "/usr/include/glib-2.0/glib/gbitlock.h" # 37 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1 # 30 "/usr/include/glib-2.0/glib/gbookmarkfile.h" # 57 "/usr/include/glib-2.0/glib/gbookmarkfile.h" typedef enum { G_BOOKMARK_FILE_ERROR_INVALID_URI, G_BOOKMARK_FILE_ERROR_INVALID_VALUE, G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, G_BOOKMARK_FILE_ERROR_READ, G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, G_BOOKMARK_FILE_ERROR_WRITE, G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND } GBookmarkFileError; extern GQuark g_bookmark_file_error_quark (void); typedef struct _GBookmarkFile GBookmarkFile; extern GBookmarkFile *g_bookmark_file_new (void); extern void g_bookmark_file_free (GBookmarkFile *bookmark); extern gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); extern gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark, const gchar *data, gsize length, GError **error); extern gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark, const gchar *file, gchar **full_path, GError **error); extern gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark, gsize *length, GError **error) __attribute__((__malloc__)); extern gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); extern void g_bookmark_file_set_title (GBookmarkFile *bookmark, const gchar *uri, const gchar *title); extern gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); extern void g_bookmark_file_set_description (GBookmarkFile *bookmark, const gchar *uri, const gchar *description); extern gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); extern void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark, const gchar *uri, const gchar *mime_type); extern gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); extern void g_bookmark_file_set_groups (GBookmarkFile *bookmark, const gchar *uri, const gchar **groups, gsize length); extern void g_bookmark_file_add_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group); extern gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); extern gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error) __attribute__((__malloc__)); extern void g_bookmark_file_add_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec); extern gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); extern gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error) __attribute__((__malloc__)); extern gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec, gint count, time_t stamp, GError **error); extern gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, gchar **exec, guint *count, time_t *stamp, GError **error); extern void g_bookmark_file_set_is_private (GBookmarkFile *bookmark, const gchar *uri, gboolean is_private); extern gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern void g_bookmark_file_set_icon (GBookmarkFile *bookmark, const gchar *uri, const gchar *href, const gchar *mime_type); extern gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark, const gchar *uri, gchar **href, gchar **mime_type, GError **error); extern void g_bookmark_file_set_added (GBookmarkFile *bookmark, const gchar *uri, time_t added); extern time_t g_bookmark_file_get_added (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern void g_bookmark_file_set_modified (GBookmarkFile *bookmark, const gchar *uri, time_t modified); extern time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern void g_bookmark_file_set_visited (GBookmarkFile *bookmark, const gchar *uri, time_t visited); extern time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark, const gchar *uri); extern gint g_bookmark_file_get_size (GBookmarkFile *bookmark); extern gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark, gsize *length) __attribute__((__malloc__)); extern gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); extern gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); extern gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark, const gchar *old_uri, const gchar *new_uri, GError **error); # 38 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbytes.h" 1 # 32 "/usr/include/glib-2.0/glib/gbytes.h" extern GBytes * g_bytes_new (gconstpointer data, gsize size); extern GBytes * g_bytes_new_take (gpointer data, gsize size); extern GBytes * g_bytes_new_static (gconstpointer data, gsize size); extern GBytes * g_bytes_new_with_free_func (gconstpointer data, gsize size, GDestroyNotify free_func, gpointer user_data); extern GBytes * g_bytes_new_from_bytes (GBytes *bytes, gsize offset, gsize length); extern gconstpointer g_bytes_get_data (GBytes *bytes, gsize *size); extern gsize g_bytes_get_size (GBytes *bytes); extern GBytes * g_bytes_ref (GBytes *bytes); extern void g_bytes_unref (GBytes *bytes); extern gpointer g_bytes_unref_to_data (GBytes *bytes, gsize *size); extern GByteArray * g_bytes_unref_to_array (GBytes *bytes); extern guint g_bytes_hash (gconstpointer bytes); extern gboolean g_bytes_equal (gconstpointer bytes1, gconstpointer bytes2); extern gint g_bytes_compare (gconstpointer bytes1, gconstpointer bytes2); # 39 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gcharset.h" 1 # 29 "/usr/include/glib-2.0/glib/gcharset.h" extern gboolean g_get_charset (const char **charset); extern gchar * g_get_codeset (void); extern const gchar * const * g_get_language_names (void); extern gchar ** g_get_locale_variants (const gchar *locale); # 40 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1 # 29 "/usr/include/glib-2.0/glib/gchecksum.h" # 46 "/usr/include/glib-2.0/glib/gchecksum.h" typedef enum { G_CHECKSUM_MD5, G_CHECKSUM_SHA1, G_CHECKSUM_SHA256, G_CHECKSUM_SHA512 } GChecksumType; # 62 "/usr/include/glib-2.0/glib/gchecksum.h" typedef struct _GChecksum GChecksum; extern gssize g_checksum_type_get_length (GChecksumType checksum_type); extern GChecksum * g_checksum_new (GChecksumType checksum_type); extern void g_checksum_reset (GChecksum *checksum); extern GChecksum * g_checksum_copy (const GChecksum *checksum); extern void g_checksum_free (GChecksum *checksum); extern void g_checksum_update (GChecksum *checksum, const guchar *data, gssize length); extern const gchar * g_checksum_get_string (GChecksum *checksum); extern void g_checksum_get_digest (GChecksum *checksum, guint8 *buffer, gsize *digest_len); extern gchar *g_compute_checksum_for_data (GChecksumType checksum_type, const guchar *data, gsize length); extern gchar *g_compute_checksum_for_string (GChecksumType checksum_type, const gchar *str, gssize length); extern gchar *g_compute_checksum_for_bytes (GChecksumType checksum_type, GBytes *data); # 41 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1 # 34 "/usr/include/glib-2.0/glib/gconvert.h" # 49 "/usr/include/glib-2.0/glib/gconvert.h" typedef enum { G_CONVERT_ERROR_NO_CONVERSION, G_CONVERT_ERROR_ILLEGAL_SEQUENCE, G_CONVERT_ERROR_FAILED, G_CONVERT_ERROR_PARTIAL_INPUT, G_CONVERT_ERROR_BAD_URI, G_CONVERT_ERROR_NOT_ABSOLUTE_PATH, G_CONVERT_ERROR_NO_MEMORY } GConvertError; # 68 "/usr/include/glib-2.0/glib/gconvert.h" extern GQuark g_convert_error_quark (void); # 78 "/usr/include/glib-2.0/glib/gconvert.h" typedef struct _GIConv *GIConv; extern GIConv g_iconv_open (const gchar *to_codeset, const gchar *from_codeset); extern gsize g_iconv (GIConv converter, gchar **inbuf, gsize *inbytes_left, gchar **outbuf, gsize *outbytes_left); extern gint g_iconv_close (GIConv converter); extern gchar* g_convert (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); extern gchar* g_convert_with_iconv (const gchar *str, gssize len, GIConv converter, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); extern gchar* g_convert_with_fallback (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, const gchar *fallback, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); extern gchar* g_locale_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); extern gchar* g_locale_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); extern gchar* g_filename_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); extern gchar* g_filename_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); extern gchar *g_filename_from_uri (const gchar *uri, gchar **hostname, GError **error) __attribute__((__malloc__)); extern gchar *g_filename_to_uri (const gchar *filename, const gchar *hostname, GError **error) __attribute__((__malloc__)); extern gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__)); extern gboolean g_get_filename_charsets (const gchar ***charsets); extern gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__)); extern gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__)); # 198 "/usr/include/glib-2.0/glib/gconvert.h" # 42 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1 # 34 "/usr/include/glib-2.0/glib/gdataset.h" typedef struct _GData GData; typedef void (*GDataForeachFunc) (GQuark key_id, gpointer data, gpointer user_data); extern void g_datalist_init (GData **datalist); extern void g_datalist_clear (GData **datalist); extern gpointer g_datalist_id_get_data (GData **datalist, GQuark key_id); extern void g_datalist_id_set_data_full (GData **datalist, GQuark key_id, gpointer data, GDestroyNotify destroy_func); typedef gpointer (*GDuplicateFunc) (gpointer data, gpointer user_data); extern gpointer g_datalist_id_dup_data (GData **datalist, GQuark key_id, GDuplicateFunc dup_func, gpointer user_data); extern gboolean g_datalist_id_replace_data (GData **datalist, GQuark key_id, gpointer oldval, gpointer newval, GDestroyNotify destroy, GDestroyNotify *old_destroy); extern gpointer g_datalist_id_remove_no_notify (GData **datalist, GQuark key_id); extern void g_datalist_foreach (GData **datalist, GDataForeachFunc func, gpointer user_data); # 89 "/usr/include/glib-2.0/glib/gdataset.h" extern void g_datalist_set_flags (GData **datalist, guint flags); extern void g_datalist_unset_flags (GData **datalist, guint flags); extern guint g_datalist_get_flags (GData **datalist); # 113 "/usr/include/glib-2.0/glib/gdataset.h" extern void g_dataset_destroy (gconstpointer dataset_location); extern gpointer g_dataset_id_get_data (gconstpointer dataset_location, GQuark key_id); extern gpointer g_datalist_get_data (GData **datalist, const gchar *key); extern void g_dataset_id_set_data_full (gconstpointer dataset_location, GQuark key_id, gpointer data, GDestroyNotify destroy_func); extern gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location, GQuark key_id); extern void g_dataset_foreach (gconstpointer dataset_location, GDataForeachFunc func, gpointer user_data); # 148 "/usr/include/glib-2.0/glib/gdataset.h" # 43 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdate.h" 1 # 37 "/usr/include/glib-2.0/glib/gdate.h" # 48 "/usr/include/glib-2.0/glib/gdate.h" typedef gint32 GTime; typedef guint16 GDateYear; typedef guint8 GDateDay; typedef struct _GDate GDate; typedef enum { G_DATE_DAY = 0, G_DATE_MONTH = 1, G_DATE_YEAR = 2 } GDateDMY; typedef enum { G_DATE_BAD_WEEKDAY = 0, G_DATE_MONDAY = 1, G_DATE_TUESDAY = 2, G_DATE_WEDNESDAY = 3, G_DATE_THURSDAY = 4, G_DATE_FRIDAY = 5, G_DATE_SATURDAY = 6, G_DATE_SUNDAY = 7 } GDateWeekday; typedef enum { G_DATE_BAD_MONTH = 0, G_DATE_JANUARY = 1, G_DATE_FEBRUARY = 2, G_DATE_MARCH = 3, G_DATE_APRIL = 4, G_DATE_MAY = 5, G_DATE_JUNE = 6, G_DATE_JULY = 7, G_DATE_AUGUST = 8, G_DATE_SEPTEMBER = 9, G_DATE_OCTOBER = 10, G_DATE_NOVEMBER = 11, G_DATE_DECEMBER = 12 } GDateMonth; # 99 "/usr/include/glib-2.0/glib/gdate.h" struct _GDate { guint julian_days : 32; guint julian : 1; guint dmy : 1; guint day : 6; guint month : 4; guint year : 16; }; extern GDate* g_date_new (void); extern GDate* g_date_new_dmy (GDateDay day, GDateMonth month, GDateYear year); extern GDate* g_date_new_julian (guint32 julian_day); extern void g_date_free (GDate *date); extern gboolean g_date_valid (const GDate *date); extern gboolean g_date_valid_day (GDateDay day) __attribute__((__const__)); extern gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__)); extern gboolean g_date_valid_year (GDateYear year) __attribute__((__const__)); extern gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__)); extern gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__)); extern gboolean g_date_valid_dmy (GDateDay day, GDateMonth month, GDateYear year) __attribute__((__const__)); extern GDateWeekday g_date_get_weekday (const GDate *date); extern GDateMonth g_date_get_month (const GDate *date); extern GDateYear g_date_get_year (const GDate *date); extern GDateDay g_date_get_day (const GDate *date); extern guint32 g_date_get_julian (const GDate *date); extern guint g_date_get_day_of_year (const GDate *date); extern guint g_date_get_monday_week_of_year (const GDate *date); extern guint g_date_get_sunday_week_of_year (const GDate *date); extern guint g_date_get_iso8601_week_of_year (const GDate *date); extern void g_date_clear (GDate *date, guint n_dates); extern void g_date_set_parse (GDate *date, const gchar *str); extern void g_date_set_time_t (GDate *date, time_t timet); extern void g_date_set_time_val (GDate *date, GTimeVal *timeval); __attribute__((__deprecated__("Use '" "g_date_set_time_t" "' instead"))) extern void g_date_set_time (GDate *date, GTime time_); extern void g_date_set_month (GDate *date, GDateMonth month); extern void g_date_set_day (GDate *date, GDateDay day); extern void g_date_set_year (GDate *date, GDateYear year); extern void g_date_set_dmy (GDate *date, GDateDay day, GDateMonth month, GDateYear y); extern void g_date_set_julian (GDate *date, guint32 julian_date); extern gboolean g_date_is_first_of_month (const GDate *date); extern gboolean g_date_is_last_of_month (const GDate *date); extern void g_date_add_days (GDate *date, guint n_days); extern void g_date_subtract_days (GDate *date, guint n_days); extern void g_date_add_months (GDate *date, guint n_months); extern void g_date_subtract_months (GDate *date, guint n_months); extern void g_date_add_years (GDate *date, guint n_years); extern void g_date_subtract_years (GDate *date, guint n_years); extern gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__)); extern guint8 g_date_get_days_in_month (GDateMonth month, GDateYear year) __attribute__((__const__)); extern guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__)); extern guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__)); extern gint g_date_days_between (const GDate *date1, const GDate *date2); extern gint g_date_compare (const GDate *lhs, const GDate *rhs); extern void g_date_to_struct_tm (const GDate *date, struct tm *tm); extern void g_date_clamp (GDate *date, const GDate *min_date, const GDate *max_date); extern void g_date_order (GDate *date1, GDate *date2); extern gsize g_date_strftime (gchar *s, gsize slen, const gchar *format, const GDate *date); # 307 "/usr/include/glib-2.0/glib/gdate.h" # 44 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdatetime.h" 1 # 33 "/usr/include/glib-2.0/glib/gdatetime.h" # 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1 # 29 "/usr/include/glib-2.0/glib/gtimezone.h" typedef struct _GTimeZone GTimeZone; # 48 "/usr/include/glib-2.0/glib/gtimezone.h" typedef enum { G_TIME_TYPE_STANDARD, G_TIME_TYPE_DAYLIGHT, G_TIME_TYPE_UNIVERSAL } GTimeType; extern GTimeZone * g_time_zone_new (const gchar *identifier); extern GTimeZone * g_time_zone_new_utc (void); extern GTimeZone * g_time_zone_new_local (void); extern GTimeZone * g_time_zone_ref (GTimeZone *tz); extern void g_time_zone_unref (GTimeZone *tz); extern gint g_time_zone_find_interval (GTimeZone *tz, GTimeType type, gint64 time_); extern gint g_time_zone_adjust_time (GTimeZone *tz, GTimeType type, gint64 *time_); extern const gchar * g_time_zone_get_abbreviation (GTimeZone *tz, gint interval); extern gint32 g_time_zone_get_offset (GTimeZone *tz, gint interval); extern gboolean g_time_zone_is_dst (GTimeZone *tz, gint interval); # 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2 # 89 "/usr/include/glib-2.0/glib/gdatetime.h" typedef gint64 GTimeSpan; # 99 "/usr/include/glib-2.0/glib/gdatetime.h" typedef struct _GDateTime GDateTime; extern void g_date_time_unref (GDateTime *datetime); extern GDateTime * g_date_time_ref (GDateTime *datetime); extern GDateTime * g_date_time_new_now (GTimeZone *tz); extern GDateTime * g_date_time_new_now_local (void); extern GDateTime * g_date_time_new_now_utc (void); extern GDateTime * g_date_time_new_from_unix_local (gint64 t); extern GDateTime * g_date_time_new_from_unix_utc (gint64 t); extern GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv); extern GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv); extern GDateTime * g_date_time_new (GTimeZone *tz, gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); extern GDateTime * g_date_time_new_local (gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); extern GDateTime * g_date_time_new_utc (gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add (GDateTime *datetime, GTimeSpan timespan); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_years (GDateTime *datetime, gint years); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_months (GDateTime *datetime, gint months); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_weeks (GDateTime *datetime, gint weeks); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_days (GDateTime *datetime, gint days); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_hours (GDateTime *datetime, gint hours); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_minutes (GDateTime *datetime, gint minutes); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_seconds (GDateTime *datetime, gdouble seconds); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_full (GDateTime *datetime, gint years, gint months, gint days, gint hours, gint minutes, gdouble seconds); extern gint g_date_time_compare (gconstpointer dt1, gconstpointer dt2); extern GTimeSpan g_date_time_difference (GDateTime *end, GDateTime *begin); extern guint g_date_time_hash (gconstpointer datetime); extern gboolean g_date_time_equal (gconstpointer dt1, gconstpointer dt2); extern void g_date_time_get_ymd (GDateTime *datetime, gint *year, gint *month, gint *day); extern gint g_date_time_get_year (GDateTime *datetime); extern gint g_date_time_get_month (GDateTime *datetime); extern gint g_date_time_get_day_of_month (GDateTime *datetime); extern gint g_date_time_get_week_numbering_year (GDateTime *datetime); extern gint g_date_time_get_week_of_year (GDateTime *datetime); extern gint g_date_time_get_day_of_week (GDateTime *datetime); extern gint g_date_time_get_day_of_year (GDateTime *datetime); extern gint g_date_time_get_hour (GDateTime *datetime); extern gint g_date_time_get_minute (GDateTime *datetime); extern gint g_date_time_get_second (GDateTime *datetime); extern gint g_date_time_get_microsecond (GDateTime *datetime); extern gdouble g_date_time_get_seconds (GDateTime *datetime); extern gint64 g_date_time_to_unix (GDateTime *datetime); extern gboolean g_date_time_to_timeval (GDateTime *datetime, GTimeVal *tv); extern GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime); extern const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime); extern gboolean g_date_time_is_daylight_savings (GDateTime *datetime); extern GDateTime * g_date_time_to_timezone (GDateTime *datetime, GTimeZone *tz); extern GDateTime * g_date_time_to_local (GDateTime *datetime); extern GDateTime * g_date_time_to_utc (GDateTime *datetime); extern gchar * g_date_time_format (GDateTime *datetime, const gchar *format) __attribute__((__malloc__)); # 45 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdir.h" 1 # 32 "/usr/include/glib-2.0/glib/gdir.h" # 1 "/usr/include/dirent.h" 1 3 4 # 28 "/usr/include/dirent.h" 3 4 # 62 "/usr/include/dirent.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/dirent.h" 1 3 4 # 23 "/usr/include/arm-linux-gnueabihf/bits/dirent.h" 3 4 struct dirent { __ino64_t d_ino; __off64_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; struct dirent64 { __ino64_t d_ino; __off64_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; # 63 "/usr/include/dirent.h" 2 3 4 # 98 "/usr/include/dirent.h" 3 4 enum { DT_UNKNOWN = 0, DT_FIFO = 1, DT_CHR = 2, DT_DIR = 4, DT_BLK = 6, DT_REG = 8, DT_LNK = 10, DT_SOCK = 12, DT_WHT = 14 }; # 128 "/usr/include/dirent.h" 3 4 typedef struct __dirstream DIR; extern DIR *opendir (__const char *__name) __attribute__ ((__nonnull__ (1))); extern DIR *fdopendir (int __fd); extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 166 "/usr/include/dirent.h" 3 4 extern struct dirent *readdir (DIR *__dirp) __asm__ ("" "readdir64") __attribute__ ((__nonnull__ (1))); extern struct dirent64 *readdir64 (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 190 "/usr/include/dirent.h" 3 4 extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __asm__ ("" "readdir64_r") __attribute__ ((__nonnull__ (1, 2, 3))); extern int readdir64_r (DIR *__restrict __dirp, struct dirent64 *__restrict __entry, struct dirent64 **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3))); extern void rewinddir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void seekdir (DIR *__dirp, long int __pos) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int telldir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int dirfd (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 245 "/usr/include/dirent.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 246 "/usr/include/dirent.h" 2 3 4 # 260 "/usr/include/dirent.h" 3 4 extern int scandir (__const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (__const struct dirent *), int (*__cmp) (__const struct dirent **, __const struct dirent **)) __asm__ ("" "scandir64") __attribute__ ((__nonnull__ (1, 2))); # 275 "/usr/include/dirent.h" 3 4 extern int scandir64 (__const char *__restrict __dir, struct dirent64 ***__restrict __namelist, int (*__selector) (__const struct dirent64 *), int (*__cmp) (__const struct dirent64 **, __const struct dirent64 **)) __attribute__ ((__nonnull__ (1, 2))); # 290 "/usr/include/dirent.h" 3 4 extern int alphasort (__const struct dirent **__e1, __const struct dirent **__e2) __asm__ ("" "alphasort64") __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int alphasort64 (__const struct dirent64 **__e1, __const struct dirent64 **__e2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 319 "/usr/include/dirent.h" 3 4 extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) __asm__ ("" "getdirentries64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern __ssize_t getdirentries64 (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); # 345 "/usr/include/dirent.h" 3 4 extern int versionsort (__const struct dirent **__e1, __const struct dirent **__e2) __asm__ ("" "versionsort64") __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int versionsort64 (__const struct dirent64 **__e1, __const struct dirent64 **__e2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 33 "/usr/include/glib-2.0/glib/gdir.h" 2 typedef struct _GDir GDir; extern GDir * g_dir_open (const gchar *path, guint flags, GError **error); extern const gchar * g_dir_read_name (GDir *dir); extern void g_dir_rewind (GDir *dir); extern void g_dir_close (GDir *dir); # 62 "/usr/include/glib-2.0/glib/gdir.h" # 46 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/genviron.h" 1 # 34 "/usr/include/glib-2.0/glib/genviron.h" extern const gchar * g_getenv (const gchar *variable); extern gboolean g_setenv (const gchar *variable, const gchar *value, gboolean overwrite); extern void g_unsetenv (const gchar *variable); extern gchar ** g_listenv (void); extern gchar ** g_get_environ (void); extern const gchar * g_environ_getenv (gchar **envp, const gchar *variable); extern gchar ** g_environ_setenv (gchar **envp, const gchar *variable, const gchar *value, gboolean overwrite) __attribute__((warn_unused_result)); extern gchar ** g_environ_unsetenv (gchar **envp, const gchar *variable) __attribute__((warn_unused_result)); # 76 "/usr/include/glib-2.0/glib/genviron.h" # 47 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1 # 29 "/usr/include/glib-2.0/glib/gfileutils.h" typedef enum { G_FILE_ERROR_EXIST, G_FILE_ERROR_ISDIR, G_FILE_ERROR_ACCES, G_FILE_ERROR_NAMETOOLONG, G_FILE_ERROR_NOENT, G_FILE_ERROR_NOTDIR, G_FILE_ERROR_NXIO, G_FILE_ERROR_NODEV, G_FILE_ERROR_ROFS, G_FILE_ERROR_TXTBSY, G_FILE_ERROR_FAULT, G_FILE_ERROR_LOOP, G_FILE_ERROR_NOSPC, G_FILE_ERROR_NOMEM, G_FILE_ERROR_MFILE, G_FILE_ERROR_NFILE, G_FILE_ERROR_BADF, G_FILE_ERROR_INVAL, G_FILE_ERROR_PIPE, G_FILE_ERROR_AGAIN, G_FILE_ERROR_INTR, G_FILE_ERROR_IO, G_FILE_ERROR_PERM, G_FILE_ERROR_NOSYS, G_FILE_ERROR_FAILED } GFileError; typedef enum { G_FILE_TEST_IS_REGULAR = 1 << 0, G_FILE_TEST_IS_SYMLINK = 1 << 1, G_FILE_TEST_IS_DIR = 1 << 2, G_FILE_TEST_IS_EXECUTABLE = 1 << 3, G_FILE_TEST_EXISTS = 1 << 4 } GFileTest; extern GQuark g_file_error_quark (void); extern GFileError g_file_error_from_errno (gint err_no); extern gboolean g_file_test (const gchar *filename, GFileTest test); extern gboolean g_file_get_contents (const gchar *filename, gchar **contents, gsize *length, GError **error); extern gboolean g_file_set_contents (const gchar *filename, const gchar *contents, gssize length, GError **error); extern gchar *g_file_read_link (const gchar *filename, GError **error); extern gchar *g_mkdtemp (gchar *tmpl); extern gchar *g_mkdtemp_full (gchar *tmpl, gint mode); extern gint g_mkstemp (gchar *tmpl); extern gint g_mkstemp_full (gchar *tmpl, gint flags, gint mode); extern gint g_file_open_tmp (const gchar *tmpl, gchar **name_used, GError **error); extern gchar *g_dir_make_tmp (const gchar *tmpl, GError **error); extern gchar *g_build_path (const gchar *separator, const gchar *first_element, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); extern gchar *g_build_pathv (const gchar *separator, gchar **args) __attribute__((__malloc__)); extern gchar *g_build_filename (const gchar *first_element, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); extern gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__)); extern gint g_mkdir_with_parents (const gchar *pathname, gint mode); # 162 "/usr/include/glib-2.0/glib/gfileutils.h" extern gboolean g_path_is_absolute (const gchar *file_name); extern const gchar *g_path_skip_root (const gchar *file_name); __attribute__((__deprecated__("Use '" "g_path_get_basename" "' instead"))) extern const gchar *g_basename (const gchar *file_name); extern gchar *g_get_current_dir (void); extern gchar *g_path_get_basename (const gchar *file_name) __attribute__((__malloc__)); extern gchar *g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__)); # 205 "/usr/include/glib-2.0/glib/gfileutils.h" # 49 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ggettext.h" 1 # 34 "/usr/include/glib-2.0/glib/ggettext.h" extern const gchar *g_strip_context (const gchar *msgid, const gchar *msgval) __attribute__((__format_arg__ (1))); extern const gchar *g_dgettext (const gchar *domain, const gchar *msgid) __attribute__((__format_arg__ (2))); extern const gchar *g_dcgettext (const gchar *domain, const gchar *msgid, gint category) __attribute__((__format_arg__ (2))); extern const gchar *g_dngettext (const gchar *domain, const gchar *msgid, const gchar *msgid_plural, gulong n) __attribute__((__format_arg__ (3))); extern const gchar *g_dpgettext (const gchar *domain, const gchar *msgctxtid, gsize msgidoffset) __attribute__((__format_arg__ (2))); extern const gchar *g_dpgettext2 (const gchar *domain, const gchar *context, const gchar *msgid) __attribute__((__format_arg__ (3))); # 50 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1 # 33 "/usr/include/glib-2.0/glib/ghash.h" # 1 "/usr/include/glib-2.0/glib/glist.h" 1 # 32 "/usr/include/glib-2.0/glib/glist.h" # 1 "/usr/include/glib-2.0/glib/gmem.h" 1 # 34 "/usr/include/glib-2.0/glib/gmem.h" # 49 "/usr/include/glib-2.0/glib/gmem.h" typedef struct _GMemVTable GMemVTable; # 68 "/usr/include/glib-2.0/glib/gmem.h" extern void g_free (gpointer mem); extern void g_clear_pointer (gpointer *pp, GDestroyNotify destroy); extern gpointer g_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_realloc (gpointer mem, gsize n_bytes) __attribute__((warn_unused_result)); extern gpointer g_try_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_try_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_try_realloc (gpointer mem, gsize n_bytes) __attribute__((warn_unused_result)); extern gpointer g_malloc_n (gsize n_blocks, gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_malloc0_n (gsize n_blocks, gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_realloc_n (gpointer mem, gsize n_blocks, gsize n_block_bytes) __attribute__((warn_unused_result)); extern gpointer g_try_malloc_n (gsize n_blocks, gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_try_malloc0_n (gsize n_blocks, gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_try_realloc_n (gpointer mem, gsize n_blocks, gsize n_block_bytes) __attribute__((warn_unused_result)); # 272 "/usr/include/glib-2.0/glib/gmem.h" struct _GMemVTable { gpointer (*malloc) (gsize n_bytes); gpointer (*realloc) (gpointer mem, gsize n_bytes); void (*free) (gpointer mem); gpointer (*calloc) (gsize n_blocks, gsize n_block_bytes); gpointer (*try_malloc) (gsize n_bytes); gpointer (*try_realloc) (gpointer mem, gsize n_bytes); }; extern void g_mem_set_vtable (GMemVTable *vtable); extern gboolean g_mem_is_system_malloc (void); extern gboolean g_mem_gc_friendly; extern GMemVTable *glib_mem_profiler_table; extern void g_mem_profile (void); # 33 "/usr/include/glib-2.0/glib/glist.h" 2 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1 # 34 "/usr/include/glib-2.0/glib/gnode.h" typedef struct _GNode GNode; typedef enum { G_TRAVERSE_LEAVES = 1 << 0, G_TRAVERSE_NON_LEAVES = 1 << 1, G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES, G_TRAVERSE_MASK = 0x03, G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES, G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES } GTraverseFlags; typedef enum { G_IN_ORDER, G_PRE_ORDER, G_POST_ORDER, G_LEVEL_ORDER } GTraverseType; typedef gboolean (*GNodeTraverseFunc) (GNode *node, gpointer data); typedef void (*GNodeForeachFunc) (GNode *node, gpointer data); # 75 "/usr/include/glib-2.0/glib/gnode.h" typedef gpointer (*GCopyFunc) (gconstpointer src, gpointer data); struct _GNode { gpointer data; GNode *next; GNode *prev; GNode *parent; GNode *children; }; # 113 "/usr/include/glib-2.0/glib/gnode.h" extern GNode* g_node_new (gpointer data); extern void g_node_destroy (GNode *root); extern void g_node_unlink (GNode *node); extern GNode* g_node_copy_deep (GNode *node, GCopyFunc copy_func, gpointer data); extern GNode* g_node_copy (GNode *node); extern GNode* g_node_insert (GNode *parent, gint position, GNode *node); extern GNode* g_node_insert_before (GNode *parent, GNode *sibling, GNode *node); extern GNode* g_node_insert_after (GNode *parent, GNode *sibling, GNode *node); extern GNode* g_node_prepend (GNode *parent, GNode *node); extern guint g_node_n_nodes (GNode *root, GTraverseFlags flags); extern GNode* g_node_get_root (GNode *node); extern gboolean g_node_is_ancestor (GNode *node, GNode *descendant); extern guint g_node_depth (GNode *node); extern GNode* g_node_find (GNode *root, GTraverseType order, GTraverseFlags flags, gpointer data); # 238 "/usr/include/glib-2.0/glib/gnode.h" extern void g_node_traverse (GNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, GNodeTraverseFunc func, gpointer data); extern guint g_node_max_height (GNode *root); extern void g_node_children_foreach (GNode *node, GTraverseFlags flags, GNodeForeachFunc func, gpointer data); extern void g_node_reverse_children (GNode *node); extern guint g_node_n_children (GNode *node); extern GNode* g_node_nth_child (GNode *node, guint n); extern GNode* g_node_last_child (GNode *node); extern GNode* g_node_find_child (GNode *node, GTraverseFlags flags, gpointer data); extern gint g_node_child_position (GNode *node, GNode *child); extern gint g_node_child_index (GNode *node, gpointer data); extern GNode* g_node_first_sibling (GNode *node); extern GNode* g_node_last_sibling (GNode *node); # 320 "/usr/include/glib-2.0/glib/gnode.h" # 34 "/usr/include/glib-2.0/glib/glist.h" 2 typedef struct _GList GList; struct _GList { gpointer data; GList *next; GList *prev; }; extern GList* g_list_alloc (void) __attribute__((warn_unused_result)); extern void g_list_free (GList *list); extern void g_list_free_1 (GList *list); extern void g_list_free_full (GList *list, GDestroyNotify free_func); extern GList* g_list_append (GList *list, gpointer data) __attribute__((warn_unused_result)); extern GList* g_list_prepend (GList *list, gpointer data) __attribute__((warn_unused_result)); extern GList* g_list_insert (GList *list, gpointer data, gint position) __attribute__((warn_unused_result)); extern GList* g_list_insert_sorted (GList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); extern GList* g_list_insert_sorted_with_data (GList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GList* g_list_insert_before (GList *list, GList *sibling, gpointer data) __attribute__((warn_unused_result)); extern GList* g_list_concat (GList *list1, GList *list2) __attribute__((warn_unused_result)); extern GList* g_list_remove (GList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GList* g_list_remove_all (GList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GList* g_list_remove_link (GList *list, GList *llink) __attribute__((warn_unused_result)); extern GList* g_list_delete_link (GList *list, GList *link_) __attribute__((warn_unused_result)); extern GList* g_list_reverse (GList *list) __attribute__((warn_unused_result)); extern GList* g_list_copy (GList *list) __attribute__((warn_unused_result)); extern GList* g_list_copy_deep (GList *list, GCopyFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GList* g_list_nth (GList *list, guint n); extern GList* g_list_nth_prev (GList *list, guint n); extern GList* g_list_find (GList *list, gconstpointer data); extern GList* g_list_find_custom (GList *list, gconstpointer data, GCompareFunc func); extern gint g_list_position (GList *list, GList *llink); extern gint g_list_index (GList *list, gconstpointer data); extern GList* g_list_last (GList *list); extern GList* g_list_first (GList *list); extern guint g_list_length (GList *list); extern void g_list_foreach (GList *list, GFunc func, gpointer user_data); extern GList* g_list_sort (GList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); extern GList* g_list_sort_with_data (GList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); extern gpointer g_list_nth_data (GList *list, guint n); # 34 "/usr/include/glib-2.0/glib/ghash.h" 2 typedef struct _GHashTable GHashTable; typedef gboolean (*GHRFunc) (gpointer key, gpointer value, gpointer user_data); typedef struct _GHashTableIter GHashTableIter; struct _GHashTableIter { gpointer dummy1; gpointer dummy2; gpointer dummy3; int dummy4; gboolean dummy5; gpointer dummy6; }; extern GHashTable* g_hash_table_new (GHashFunc hash_func, GEqualFunc key_equal_func); extern GHashTable* g_hash_table_new_full (GHashFunc hash_func, GEqualFunc key_equal_func, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); extern void g_hash_table_destroy (GHashTable *hash_table); extern gboolean g_hash_table_insert (GHashTable *hash_table, gpointer key, gpointer value); extern gboolean g_hash_table_replace (GHashTable *hash_table, gpointer key, gpointer value); extern gboolean g_hash_table_add (GHashTable *hash_table, gpointer key); extern gboolean g_hash_table_remove (GHashTable *hash_table, gconstpointer key); extern void g_hash_table_remove_all (GHashTable *hash_table); extern gboolean g_hash_table_steal (GHashTable *hash_table, gconstpointer key); extern void g_hash_table_steal_all (GHashTable *hash_table); extern gpointer g_hash_table_lookup (GHashTable *hash_table, gconstpointer key); extern gboolean g_hash_table_contains (GHashTable *hash_table, gconstpointer key); extern gboolean g_hash_table_lookup_extended (GHashTable *hash_table, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); extern void g_hash_table_foreach (GHashTable *hash_table, GHFunc func, gpointer user_data); extern gpointer g_hash_table_find (GHashTable *hash_table, GHRFunc predicate, gpointer user_data); extern guint g_hash_table_foreach_remove (GHashTable *hash_table, GHRFunc func, gpointer user_data); extern guint g_hash_table_foreach_steal (GHashTable *hash_table, GHRFunc func, gpointer user_data); extern guint g_hash_table_size (GHashTable *hash_table); extern GList * g_hash_table_get_keys (GHashTable *hash_table); extern GList * g_hash_table_get_values (GHashTable *hash_table); extern gpointer * g_hash_table_get_keys_as_array (GHashTable *hash_table, guint *length); extern void g_hash_table_iter_init (GHashTableIter *iter, GHashTable *hash_table); extern gboolean g_hash_table_iter_next (GHashTableIter *iter, gpointer *key, gpointer *value); extern GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter); extern void g_hash_table_iter_remove (GHashTableIter *iter); extern void g_hash_table_iter_replace (GHashTableIter *iter, gpointer value); extern void g_hash_table_iter_steal (GHashTableIter *iter); extern GHashTable* g_hash_table_ref (GHashTable *hash_table); extern void g_hash_table_unref (GHashTable *hash_table); # 153 "/usr/include/glib-2.0/glib/ghash.h" extern gboolean g_str_equal (gconstpointer v1, gconstpointer v2); extern guint g_str_hash (gconstpointer v); extern gboolean g_int_equal (gconstpointer v1, gconstpointer v2); extern guint g_int_hash (gconstpointer v); extern gboolean g_int64_equal (gconstpointer v1, gconstpointer v2); extern guint g_int64_hash (gconstpointer v); extern gboolean g_double_equal (gconstpointer v1, gconstpointer v2); extern guint g_double_hash (gconstpointer v); extern guint g_direct_hash (gconstpointer v) __attribute__((__const__)); extern gboolean g_direct_equal (gconstpointer v1, gconstpointer v2) __attribute__((__const__)); # 51 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghmac.h" 1 # 27 "/usr/include/glib-2.0/glib/ghmac.h" # 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1 # 28 "/usr/include/glib-2.0/glib/ghmac.h" 2 # 40 "/usr/include/glib-2.0/glib/ghmac.h" typedef struct _GHmac GHmac; extern GHmac * g_hmac_new (GChecksumType digest_type, const guchar *key, gsize key_len); extern GHmac * g_hmac_copy (const GHmac *hmac); extern GHmac * g_hmac_ref (GHmac *hmac); extern void g_hmac_unref (GHmac *hmac); extern void g_hmac_update (GHmac *hmac, const guchar *data, gssize length); extern const gchar * g_hmac_get_string (GHmac *hmac); extern void g_hmac_get_digest (GHmac *hmac, guint8 *buffer, gsize *digest_len); extern gchar *g_compute_hmac_for_data (GChecksumType digest_type, const guchar *key, gsize key_len, const guchar *data, gsize length); extern gchar *g_compute_hmac_for_string (GChecksumType digest_type, const guchar *key, gsize key_len, const gchar *str, gssize length); # 52 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghook.h" 1 # 34 "/usr/include/glib-2.0/glib/ghook.h" typedef struct _GHook GHook; typedef struct _GHookList GHookList; typedef gint (*GHookCompareFunc) (GHook *new_hook, GHook *sibling); typedef gboolean (*GHookFindFunc) (GHook *hook, gpointer data); typedef void (*GHookMarshaller) (GHook *hook, gpointer marshal_data); typedef gboolean (*GHookCheckMarshaller) (GHook *hook, gpointer marshal_data); typedef void (*GHookFunc) (gpointer data); typedef gboolean (*GHookCheckFunc) (gpointer data); typedef void (*GHookFinalizeFunc) (GHookList *hook_list, GHook *hook); typedef enum { G_HOOK_FLAG_ACTIVE = 1 << 0, G_HOOK_FLAG_IN_CALL = 1 << 1, G_HOOK_FLAG_MASK = 0x0f } GHookFlagMask; struct _GHookList { gulong seq_id; guint hook_size : 16; guint is_setup : 1; GHook *hooks; gpointer dummy3; GHookFinalizeFunc finalize_hook; gpointer dummy[2]; }; struct _GHook { gpointer data; GHook *next; GHook *prev; guint ref_count; gulong hook_id; guint flags; gpointer func; GDestroyNotify destroy; }; # 104 "/usr/include/glib-2.0/glib/ghook.h" extern void g_hook_list_init (GHookList *hook_list, guint hook_size); extern void g_hook_list_clear (GHookList *hook_list); extern GHook* g_hook_alloc (GHookList *hook_list); extern void g_hook_free (GHookList *hook_list, GHook *hook); extern GHook * g_hook_ref (GHookList *hook_list, GHook *hook); extern void g_hook_unref (GHookList *hook_list, GHook *hook); extern gboolean g_hook_destroy (GHookList *hook_list, gulong hook_id); extern void g_hook_destroy_link (GHookList *hook_list, GHook *hook); extern void g_hook_prepend (GHookList *hook_list, GHook *hook); extern void g_hook_insert_before (GHookList *hook_list, GHook *sibling, GHook *hook); extern void g_hook_insert_sorted (GHookList *hook_list, GHook *hook, GHookCompareFunc func); extern GHook* g_hook_get (GHookList *hook_list, gulong hook_id); extern GHook* g_hook_find (GHookList *hook_list, gboolean need_valids, GHookFindFunc func, gpointer data); extern GHook* g_hook_find_data (GHookList *hook_list, gboolean need_valids, gpointer data); extern GHook* g_hook_find_func (GHookList *hook_list, gboolean need_valids, gpointer func); extern GHook* g_hook_find_func_data (GHookList *hook_list, gboolean need_valids, gpointer func, gpointer data); extern GHook* g_hook_first_valid (GHookList *hook_list, gboolean may_be_in_call); extern GHook* g_hook_next_valid (GHookList *hook_list, GHook *hook, gboolean may_be_in_call); extern gint g_hook_compare_ids (GHook *new_hook, GHook *sibling); extern void g_hook_list_invoke (GHookList *hook_list, gboolean may_recurse); extern void g_hook_list_invoke_check (GHookList *hook_list, gboolean may_recurse); extern void g_hook_list_marshal (GHookList *hook_list, gboolean may_recurse, GHookMarshaller marshaller, gpointer marshal_data); extern void g_hook_list_marshal_check (GHookList *hook_list, gboolean may_recurse, GHookCheckMarshaller marshaller, gpointer marshal_data); # 53 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghostutils.h" 1 # 27 "/usr/include/glib-2.0/glib/ghostutils.h" extern gboolean g_hostname_is_non_ascii (const gchar *hostname); extern gboolean g_hostname_is_ascii_encoded (const gchar *hostname); extern gboolean g_hostname_is_ip_address (const gchar *hostname); extern gchar *g_hostname_to_ascii (const gchar *hostname); extern gchar *g_hostname_to_unicode (const gchar *hostname); # 54 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1 # 33 "/usr/include/glib-2.0/glib/giochannel.h" # 1 "/usr/include/glib-2.0/glib/gmain.h" 1 # 25 "/usr/include/glib-2.0/glib/gmain.h" # 1 "/usr/include/glib-2.0/glib/gpoll.h" 1 # 27 "/usr/include/glib-2.0/glib/gpoll.h" # 58 "/usr/include/glib-2.0/glib/gpoll.h" typedef struct _GPollFD GPollFD; # 73 "/usr/include/glib-2.0/glib/gpoll.h" typedef gint (*GPollFunc) (GPollFD *ufds, guint nfsd, gint timeout_); # 90 "/usr/include/glib-2.0/glib/gpoll.h" struct _GPollFD { gint fd; gushort events; gushort revents; }; # 111 "/usr/include/glib-2.0/glib/gpoll.h" extern gint g_poll (GPollFD *fds, guint nfds, gint timeout); # 26 "/usr/include/glib-2.0/glib/gmain.h" 2 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1 # 35 "/usr/include/glib-2.0/glib/gslist.h" typedef struct _GSList GSList; struct _GSList { gpointer data; GSList *next; }; extern GSList* g_slist_alloc (void) __attribute__((warn_unused_result)); extern void g_slist_free (GSList *list); extern void g_slist_free_1 (GSList *list); extern void g_slist_free_full (GSList *list, GDestroyNotify free_func); extern GSList* g_slist_append (GSList *list, gpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_prepend (GSList *list, gpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_insert (GSList *list, gpointer data, gint position) __attribute__((warn_unused_result)); extern GSList* g_slist_insert_sorted (GSList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); extern GSList* g_slist_insert_sorted_with_data (GSList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GSList* g_slist_insert_before (GSList *slist, GSList *sibling, gpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_concat (GSList *list1, GSList *list2) __attribute__((warn_unused_result)); extern GSList* g_slist_remove (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_remove_all (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_remove_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); extern GSList* g_slist_delete_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); extern GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result)); extern GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result)); extern GSList* g_slist_copy_deep (GSList *list, GCopyFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GSList* g_slist_nth (GSList *list, guint n); extern GSList* g_slist_find (GSList *list, gconstpointer data); extern GSList* g_slist_find_custom (GSList *list, gconstpointer data, GCompareFunc func); extern gint g_slist_position (GSList *list, GSList *llink); extern gint g_slist_index (GSList *list, gconstpointer data); extern GSList* g_slist_last (GSList *list); extern guint g_slist_length (GSList *list); extern void g_slist_foreach (GSList *list, GFunc func, gpointer user_data); extern GSList* g_slist_sort (GSList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); extern GSList* g_slist_sort_with_data (GSList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); extern gpointer g_slist_nth_data (GSList *list, guint n); # 27 "/usr/include/glib-2.0/glib/gmain.h" 2 typedef enum { G_IO_IN =1, G_IO_OUT =4, G_IO_PRI =2, G_IO_ERR =8, G_IO_HUP =16, G_IO_NVAL =32 } GIOCondition; # 48 "/usr/include/glib-2.0/glib/gmain.h" typedef struct _GMainContext GMainContext; typedef struct _GMainLoop GMainLoop; typedef struct _GSource GSource; typedef struct _GSourcePrivate GSourcePrivate; # 77 "/usr/include/glib-2.0/glib/gmain.h" typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; # 128 "/usr/include/glib-2.0/glib/gmain.h" typedef struct _GSourceFuncs GSourceFuncs; # 153 "/usr/include/glib-2.0/glib/gmain.h" typedef gboolean (*GSourceFunc) (gpointer user_data); # 166 "/usr/include/glib-2.0/glib/gmain.h" typedef void (*GChildWatchFunc) (GPid pid, gint status, gpointer user_data); struct _GSource { gpointer callback_data; GSourceCallbackFuncs *callback_funcs; const GSourceFuncs *source_funcs; guint ref_count; GMainContext *context; gint priority; guint flags; guint source_id; GSList *poll_fds; GSource *prev; GSource *next; char *name; GSourcePrivate *priv; }; struct _GSourceCallbackFuncs { void (*ref) (gpointer cb_data); void (*unref) (gpointer cb_data); void (*get) (gpointer cb_data, GSource *source, GSourceFunc *func, gpointer *data); }; typedef void (*GSourceDummyMarshal) (void); struct _GSourceFuncs { gboolean (*prepare) (GSource *source, gint *timeout_); gboolean (*check) (GSource *source); gboolean (*dispatch) (GSource *source, GSourceFunc callback, gpointer user_data); void (*finalize) (GSource *source); GSourceFunc closure_callback; GSourceDummyMarshal closure_marshal; }; # 303 "/usr/include/glib-2.0/glib/gmain.h" extern GMainContext *g_main_context_new (void); extern GMainContext *g_main_context_ref (GMainContext *context); extern void g_main_context_unref (GMainContext *context); extern GMainContext *g_main_context_default (void); extern gboolean g_main_context_iteration (GMainContext *context, gboolean may_block); extern gboolean g_main_context_pending (GMainContext *context); extern GSource *g_main_context_find_source_by_id (GMainContext *context, guint source_id); extern GSource *g_main_context_find_source_by_user_data (GMainContext *context, gpointer user_data); extern GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context, GSourceFuncs *funcs, gpointer user_data); extern void g_main_context_wakeup (GMainContext *context); extern gboolean g_main_context_acquire (GMainContext *context); extern void g_main_context_release (GMainContext *context); extern gboolean g_main_context_is_owner (GMainContext *context); extern gboolean g_main_context_wait (GMainContext *context, GCond *cond, GMutex *mutex); extern gboolean g_main_context_prepare (GMainContext *context, gint *priority); extern gint g_main_context_query (GMainContext *context, gint max_priority, gint *timeout_, GPollFD *fds, gint n_fds); extern gint g_main_context_check (GMainContext *context, gint max_priority, GPollFD *fds, gint n_fds); extern void g_main_context_dispatch (GMainContext *context); extern void g_main_context_set_poll_func (GMainContext *context, GPollFunc func); extern GPollFunc g_main_context_get_poll_func (GMainContext *context); extern void g_main_context_add_poll (GMainContext *context, GPollFD *fd, gint priority); extern void g_main_context_remove_poll (GMainContext *context, GPollFD *fd); extern gint g_main_depth (void); extern GSource *g_main_current_source (void); extern void g_main_context_push_thread_default (GMainContext *context); extern void g_main_context_pop_thread_default (GMainContext *context); extern GMainContext *g_main_context_get_thread_default (void); extern GMainContext *g_main_context_ref_thread_default (void); extern GMainLoop *g_main_loop_new (GMainContext *context, gboolean is_running); extern void g_main_loop_run (GMainLoop *loop); extern void g_main_loop_quit (GMainLoop *loop); extern GMainLoop *g_main_loop_ref (GMainLoop *loop); extern void g_main_loop_unref (GMainLoop *loop); extern gboolean g_main_loop_is_running (GMainLoop *loop); extern GMainContext *g_main_loop_get_context (GMainLoop *loop); extern GSource *g_source_new (GSourceFuncs *source_funcs, guint struct_size); extern GSource *g_source_ref (GSource *source); extern void g_source_unref (GSource *source); extern guint g_source_attach (GSource *source, GMainContext *context); extern void g_source_destroy (GSource *source); extern void g_source_set_priority (GSource *source, gint priority); extern gint g_source_get_priority (GSource *source); extern void g_source_set_can_recurse (GSource *source, gboolean can_recurse); extern gboolean g_source_get_can_recurse (GSource *source); extern guint g_source_get_id (GSource *source); extern GMainContext *g_source_get_context (GSource *source); extern void g_source_set_callback (GSource *source, GSourceFunc func, gpointer data, GDestroyNotify notify); extern void g_source_set_funcs (GSource *source, GSourceFuncs *funcs); extern gboolean g_source_is_destroyed (GSource *source); extern void g_source_set_name (GSource *source, const char *name); extern const char * g_source_get_name (GSource *source); extern void g_source_set_name_by_id (guint tag, const char *name); extern void g_source_set_ready_time (GSource *source, gint64 ready_time); extern gint64 g_source_get_ready_time (GSource *source); extern gpointer g_source_add_unix_fd (GSource *source, gint fd, GIOCondition events); extern void g_source_modify_unix_fd (GSource *source, gpointer tag, GIOCondition new_events); extern void g_source_remove_unix_fd (GSource *source, gpointer tag); extern GIOCondition g_source_query_unix_fd (GSource *source, gpointer tag); extern void g_source_set_callback_indirect (GSource *source, gpointer callback_data, GSourceCallbackFuncs *callback_funcs); extern void g_source_add_poll (GSource *source, GPollFD *fd); extern void g_source_remove_poll (GSource *source, GPollFD *fd); extern void g_source_add_child_source (GSource *source, GSource *child_source); extern void g_source_remove_child_source (GSource *source, GSource *child_source); __attribute__((__deprecated__("Use '" "g_source_get_time" "' instead"))) extern void g_source_get_current_time (GSource *source, GTimeVal *timeval); extern gint64 g_source_get_time (GSource *source); extern GSource *g_idle_source_new (void); extern GSource *g_child_watch_source_new (GPid pid); extern GSource *g_timeout_source_new (guint interval); extern GSource *g_timeout_source_new_seconds (guint interval); extern void g_get_current_time (GTimeVal *result); extern gint64 g_get_monotonic_time (void); extern gint64 g_get_real_time (void); extern gboolean g_source_remove (guint tag); extern gboolean g_source_remove_by_user_data (gpointer user_data); extern gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, gpointer user_data); extern guint g_timeout_add_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); extern guint g_timeout_add (guint interval, GSourceFunc function, gpointer data); extern guint g_timeout_add_seconds_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); extern guint g_timeout_add_seconds (guint interval, GSourceFunc function, gpointer data); extern guint g_child_watch_add_full (gint priority, GPid pid, GChildWatchFunc function, gpointer data, GDestroyNotify notify); extern guint g_child_watch_add (GPid pid, GChildWatchFunc function, gpointer data); extern guint g_idle_add (GSourceFunc function, gpointer data); extern guint g_idle_add_full (gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); extern gboolean g_idle_remove_by_data (gpointer data); extern void g_main_context_invoke_full (GMainContext *context, gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); extern void g_main_context_invoke (GMainContext *context, GSourceFunc function, gpointer data); extern GSourceFuncs g_timeout_funcs; extern GSourceFuncs g_child_watch_funcs; extern GSourceFuncs g_idle_funcs; extern GSourceFuncs g_unix_signal_funcs; extern GSourceFuncs g_unix_fd_source_funcs; # 34 "/usr/include/glib-2.0/glib/giochannel.h" 2 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1 # 33 "/usr/include/glib-2.0/glib/gstring.h" # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1 # 31 "/usr/include/glib-2.0/glib/gunicode.h" # 60 "/usr/include/glib-2.0/glib/gunicode.h" typedef guint32 gunichar; # 78 "/usr/include/glib-2.0/glib/gunicode.h" typedef guint16 gunichar2; # 117 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_UNICODE_CONTROL, G_UNICODE_FORMAT, G_UNICODE_UNASSIGNED, G_UNICODE_PRIVATE_USE, G_UNICODE_SURROGATE, G_UNICODE_LOWERCASE_LETTER, G_UNICODE_MODIFIER_LETTER, G_UNICODE_OTHER_LETTER, G_UNICODE_TITLECASE_LETTER, G_UNICODE_UPPERCASE_LETTER, G_UNICODE_SPACING_MARK, G_UNICODE_ENCLOSING_MARK, G_UNICODE_NON_SPACING_MARK, G_UNICODE_DECIMAL_NUMBER, G_UNICODE_LETTER_NUMBER, G_UNICODE_OTHER_NUMBER, G_UNICODE_CONNECT_PUNCTUATION, G_UNICODE_DASH_PUNCTUATION, G_UNICODE_CLOSE_PUNCTUATION, G_UNICODE_FINAL_PUNCTUATION, G_UNICODE_INITIAL_PUNCTUATION, G_UNICODE_OTHER_PUNCTUATION, G_UNICODE_OPEN_PUNCTUATION, G_UNICODE_CURRENCY_SYMBOL, G_UNICODE_MODIFIER_SYMBOL, G_UNICODE_MATH_SYMBOL, G_UNICODE_OTHER_SYMBOL, G_UNICODE_LINE_SEPARATOR, G_UNICODE_PARAGRAPH_SEPARATOR, G_UNICODE_SPACE_SEPARATOR } GUnicodeType; # 212 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_UNICODE_BREAK_MANDATORY, G_UNICODE_BREAK_CARRIAGE_RETURN, G_UNICODE_BREAK_LINE_FEED, G_UNICODE_BREAK_COMBINING_MARK, G_UNICODE_BREAK_SURROGATE, G_UNICODE_BREAK_ZERO_WIDTH_SPACE, G_UNICODE_BREAK_INSEPARABLE, G_UNICODE_BREAK_NON_BREAKING_GLUE, G_UNICODE_BREAK_CONTINGENT, G_UNICODE_BREAK_SPACE, G_UNICODE_BREAK_AFTER, G_UNICODE_BREAK_BEFORE, G_UNICODE_BREAK_BEFORE_AND_AFTER, G_UNICODE_BREAK_HYPHEN, G_UNICODE_BREAK_NON_STARTER, G_UNICODE_BREAK_OPEN_PUNCTUATION, G_UNICODE_BREAK_CLOSE_PUNCTUATION, G_UNICODE_BREAK_QUOTATION, G_UNICODE_BREAK_EXCLAMATION, G_UNICODE_BREAK_IDEOGRAPHIC, G_UNICODE_BREAK_NUMERIC, G_UNICODE_BREAK_INFIX_SEPARATOR, G_UNICODE_BREAK_SYMBOL, G_UNICODE_BREAK_ALPHABETIC, G_UNICODE_BREAK_PREFIX, G_UNICODE_BREAK_POSTFIX, G_UNICODE_BREAK_COMPLEX_CONTEXT, G_UNICODE_BREAK_AMBIGUOUS, G_UNICODE_BREAK_UNKNOWN, G_UNICODE_BREAK_NEXT_LINE, G_UNICODE_BREAK_WORD_JOINER, G_UNICODE_BREAK_HANGUL_L_JAMO, G_UNICODE_BREAK_HANGUL_V_JAMO, G_UNICODE_BREAK_HANGUL_T_JAMO, G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE, G_UNICODE_BREAK_CLOSE_PARANTHESIS, G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER, G_UNICODE_BREAK_HEBREW_LETTER, G_UNICODE_BREAK_REGIONAL_INDICATOR } GUnicodeBreakType; # 386 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_UNICODE_SCRIPT_INVALID_CODE = -1, G_UNICODE_SCRIPT_COMMON = 0, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BOPOMOFO, G_UNICODE_SCRIPT_CHEROKEE, G_UNICODE_SCRIPT_COPTIC, G_UNICODE_SCRIPT_CYRILLIC, G_UNICODE_SCRIPT_DESERET, G_UNICODE_SCRIPT_DEVANAGARI, G_UNICODE_SCRIPT_ETHIOPIC, G_UNICODE_SCRIPT_GEORGIAN, G_UNICODE_SCRIPT_GOTHIC, G_UNICODE_SCRIPT_GREEK, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_HAN, G_UNICODE_SCRIPT_HANGUL, G_UNICODE_SCRIPT_HEBREW, G_UNICODE_SCRIPT_HIRAGANA, G_UNICODE_SCRIPT_KANNADA, G_UNICODE_SCRIPT_KATAKANA, G_UNICODE_SCRIPT_KHMER, G_UNICODE_SCRIPT_LAO, G_UNICODE_SCRIPT_LATIN, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MONGOLIAN, G_UNICODE_SCRIPT_MYANMAR, G_UNICODE_SCRIPT_OGHAM, G_UNICODE_SCRIPT_OLD_ITALIC, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_RUNIC, G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_TAMIL, G_UNICODE_SCRIPT_TELUGU, G_UNICODE_SCRIPT_THAANA, G_UNICODE_SCRIPT_THAI, G_UNICODE_SCRIPT_TIBETAN, G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, G_UNICODE_SCRIPT_YI, G_UNICODE_SCRIPT_TAGALOG, G_UNICODE_SCRIPT_HANUNOO, G_UNICODE_SCRIPT_BUHID, G_UNICODE_SCRIPT_TAGBANWA, G_UNICODE_SCRIPT_BRAILLE, G_UNICODE_SCRIPT_CYPRIOT, G_UNICODE_SCRIPT_LIMBU, G_UNICODE_SCRIPT_OSMANYA, G_UNICODE_SCRIPT_SHAVIAN, G_UNICODE_SCRIPT_LINEAR_B, G_UNICODE_SCRIPT_TAI_LE, G_UNICODE_SCRIPT_UGARITIC, G_UNICODE_SCRIPT_NEW_TAI_LUE, G_UNICODE_SCRIPT_BUGINESE, G_UNICODE_SCRIPT_GLAGOLITIC, G_UNICODE_SCRIPT_TIFINAGH, G_UNICODE_SCRIPT_SYLOTI_NAGRI, G_UNICODE_SCRIPT_OLD_PERSIAN, G_UNICODE_SCRIPT_KHAROSHTHI, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_BALINESE, G_UNICODE_SCRIPT_CUNEIFORM, G_UNICODE_SCRIPT_PHOENICIAN, G_UNICODE_SCRIPT_PHAGS_PA, G_UNICODE_SCRIPT_NKO, G_UNICODE_SCRIPT_KAYAH_LI, G_UNICODE_SCRIPT_LEPCHA, G_UNICODE_SCRIPT_REJANG, G_UNICODE_SCRIPT_SUNDANESE, G_UNICODE_SCRIPT_SAURASHTRA, G_UNICODE_SCRIPT_CHAM, G_UNICODE_SCRIPT_OL_CHIKI, G_UNICODE_SCRIPT_VAI, G_UNICODE_SCRIPT_CARIAN, G_UNICODE_SCRIPT_LYCIAN, G_UNICODE_SCRIPT_LYDIAN, G_UNICODE_SCRIPT_AVESTAN, G_UNICODE_SCRIPT_BAMUM, G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS, G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC, G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI, G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN, G_UNICODE_SCRIPT_JAVANESE, G_UNICODE_SCRIPT_KAITHI, G_UNICODE_SCRIPT_LISU, G_UNICODE_SCRIPT_MEETEI_MAYEK, G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN, G_UNICODE_SCRIPT_OLD_TURKIC, G_UNICODE_SCRIPT_SAMARITAN, G_UNICODE_SCRIPT_TAI_THAM, G_UNICODE_SCRIPT_TAI_VIET, G_UNICODE_SCRIPT_BATAK, G_UNICODE_SCRIPT_BRAHMI, G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_CHAKMA, G_UNICODE_SCRIPT_MEROITIC_CURSIVE, G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS, G_UNICODE_SCRIPT_MIAO, G_UNICODE_SCRIPT_SHARADA, G_UNICODE_SCRIPT_SORA_SOMPENG, G_UNICODE_SCRIPT_TAKRI } GUnicodeScript; extern guint32 g_unicode_script_to_iso15924 (GUnicodeScript script); extern GUnicodeScript g_unicode_script_from_iso15924 (guint32 iso15924); extern gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_islower (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isprint (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isspace (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isupper (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_istitle (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_iswide (gunichar c) __attribute__((__const__)); extern gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__)); extern gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__)); extern gboolean g_unichar_ismark (gunichar c) __attribute__((__const__)); extern gunichar g_unichar_toupper (gunichar c) __attribute__((__const__)); extern gunichar g_unichar_tolower (gunichar c) __attribute__((__const__)); extern gunichar g_unichar_totitle (gunichar c) __attribute__((__const__)); extern gint g_unichar_digit_value (gunichar c) __attribute__((__const__)); extern gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__)); extern GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__)); extern GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__)); extern gint g_unichar_combining_class (gunichar uc) __attribute__((__const__)); extern gboolean g_unichar_get_mirror_char (gunichar ch, gunichar *mirrored_ch); extern GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__)); extern gboolean g_unichar_validate (gunichar ch) __attribute__((__const__)); extern gboolean g_unichar_compose (gunichar a, gunichar b, gunichar *ch); extern gboolean g_unichar_decompose (gunichar ch, gunichar *a, gunichar *b); extern gsize g_unichar_fully_decompose (gunichar ch, gboolean compat, gunichar *result, gsize result_len); # 621 "/usr/include/glib-2.0/glib/gunicode.h" extern void g_unicode_canonical_ordering (gunichar *string, gsize len); __attribute__((__deprecated__)) extern gunichar *g_unicode_canonical_decomposition (gunichar ch, gsize *result_len) __attribute__((__malloc__)); extern const gchar * const g_utf8_skip; # 647 "/usr/include/glib-2.0/glib/gunicode.h" extern gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__)); extern gunichar g_utf8_get_char_validated (const gchar *p, gssize max_len) __attribute__((__pure__)); extern gchar* g_utf8_offset_to_pointer (const gchar *str, glong offset) __attribute__((__pure__)); extern glong g_utf8_pointer_to_offset (const gchar *str, const gchar *pos) __attribute__((__pure__)); extern gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__)); extern gchar* g_utf8_find_next_char (const gchar *p, const gchar *end) __attribute__((__pure__)); extern gchar* g_utf8_find_prev_char (const gchar *str, const gchar *p) __attribute__((__pure__)); extern glong g_utf8_strlen (const gchar *p, gssize max) __attribute__((__pure__)); extern gchar *g_utf8_substring (const gchar *str, glong start_pos, glong end_pos) __attribute__((__malloc__)); extern gchar *g_utf8_strncpy (gchar *dest, const gchar *src, gsize n); extern gchar* g_utf8_strchr (const gchar *p, gssize len, gunichar c); extern gchar* g_utf8_strrchr (const gchar *p, gssize len, gunichar c); extern gchar* g_utf8_strreverse (const gchar *str, gssize len); extern gunichar2 *g_utf8_to_utf16 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); extern gunichar * g_utf8_to_ucs4 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); extern gunichar * g_utf8_to_ucs4_fast (const gchar *str, glong len, glong *items_written) __attribute__((__malloc__)); extern gunichar * g_utf16_to_ucs4 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); extern gchar* g_utf16_to_utf8 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); extern gunichar2 *g_ucs4_to_utf16 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); extern gchar* g_ucs4_to_utf8 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); extern gint g_unichar_to_utf8 (gunichar c, gchar *outbuf); extern gboolean g_utf8_validate (const gchar *str, gssize max_len, const gchar **end); extern gchar *g_utf8_strup (const gchar *str, gssize len) __attribute__((__malloc__)); extern gchar *g_utf8_strdown (const gchar *str, gssize len) __attribute__((__malloc__)); extern gchar *g_utf8_casefold (const gchar *str, gssize len) __attribute__((__malloc__)); # 780 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_NORMALIZE_DEFAULT, G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT, G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_ALL, G_NORMALIZE_NFKD = G_NORMALIZE_ALL, G_NORMALIZE_ALL_COMPOSE, G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE } GNormalizeMode; extern gchar *g_utf8_normalize (const gchar *str, gssize len, GNormalizeMode mode) __attribute__((__malloc__)); extern gint g_utf8_collate (const gchar *str1, const gchar *str2) __attribute__((__pure__)); extern gchar *g_utf8_collate_key (const gchar *str, gssize len) __attribute__((__malloc__)); extern gchar *g_utf8_collate_key_for_filename (const gchar *str, gssize len) __attribute__((__malloc__)); gchar *_g_utf8_make_valid (const gchar *name); # 34 "/usr/include/glib-2.0/glib/gstring.h" 2 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1 # 35 "/usr/include/glib-2.0/glib/gutils.h" # 85 "/usr/include/glib-2.0/glib/gutils.h" extern const gchar * g_get_user_name (void); extern const gchar * g_get_real_name (void); extern const gchar * g_get_home_dir (void); extern const gchar * g_get_tmp_dir (void); extern const gchar * g_get_host_name (void); extern const gchar * g_get_prgname (void); extern void g_set_prgname (const gchar *prgname); extern const gchar * g_get_application_name (void); extern void g_set_application_name (const gchar *application_name); extern void g_reload_user_special_dirs_cache (void); extern const gchar * g_get_user_data_dir (void); extern const gchar * g_get_user_config_dir (void); extern const gchar * g_get_user_cache_dir (void); extern const gchar * const * g_get_system_data_dirs (void); # 134 "/usr/include/glib-2.0/glib/gutils.h" extern const gchar * const * g_get_system_config_dirs (void); extern const gchar * g_get_user_runtime_dir (void); # 162 "/usr/include/glib-2.0/glib/gutils.h" typedef enum { G_USER_DIRECTORY_DESKTOP, G_USER_DIRECTORY_DOCUMENTS, G_USER_DIRECTORY_DOWNLOAD, G_USER_DIRECTORY_MUSIC, G_USER_DIRECTORY_PICTURES, G_USER_DIRECTORY_PUBLIC_SHARE, G_USER_DIRECTORY_TEMPLATES, G_USER_DIRECTORY_VIDEOS, G_USER_N_DIRECTORIES } GUserDirectory; extern const gchar * g_get_user_special_dir (GUserDirectory directory); # 186 "/usr/include/glib-2.0/glib/gutils.h" typedef struct _GDebugKey GDebugKey; struct _GDebugKey { const gchar *key; guint value; }; extern guint g_parse_debug_string (const gchar *string, const GDebugKey *keys, guint nkeys); extern gint g_snprintf (gchar *string, gulong n, gchar const *format, ...) __attribute__((__format__ (__printf__, 3, 4))); extern gint g_vsnprintf (gchar *string, gulong n, gchar const *format, va_list args) __attribute__((__format__ (__printf__, 3, 0))); extern void g_nullify_pointer (gpointer *nullify_location); typedef enum { G_FORMAT_SIZE_DEFAULT = 0, G_FORMAT_SIZE_LONG_FORMAT = 1 << 0, G_FORMAT_SIZE_IEC_UNITS = 1 << 1 } GFormatSizeFlags; extern gchar *g_format_size_full (guint64 size, GFormatSizeFlags flags); extern gchar *g_format_size (guint64 size); __attribute__((__deprecated__("Use '" "g_format_size" "' instead"))) extern gchar *g_format_size_for_display (goffset size); # 239 "/usr/include/glib-2.0/glib/gutils.h" typedef void (*GVoidFunc) (void); __attribute__((__deprecated__)) extern void g_atexit (GVoidFunc func); # 261 "/usr/include/glib-2.0/glib/gutils.h" extern gchar* g_find_program_in_path (const gchar *program); static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask, gint nth_bit) __attribute__((__const__)); static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask, gint nth_bit) __attribute__((__const__)); static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) __attribute__((__const__)); static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask, gint nth_bit) { if ((__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit < -1) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0))) nth_bit = -1; while (nth_bit < ((4 * 8) - 1)) { nth_bit++; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask, gint nth_bit) { if (nth_bit < 0 || (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit > 4 * 8) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0))) nth_bit = 4 * 8; while (nth_bit > 0) { nth_bit--; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) { return (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (number) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ? ((4 * 8U - 1) ^ (guint) __builtin_clzl(number)) + 1 : 1; # 320 "/usr/include/glib-2.0/glib/gutils.h" } # 372 "/usr/include/glib-2.0/glib/gutils.h" # 36 "/usr/include/glib-2.0/glib/gstring.h" 2 typedef struct _GString GString; struct _GString { gchar *str; gsize len; gsize allocated_len; }; extern GString* g_string_new (const gchar *init); extern GString* g_string_new_len (const gchar *init, gssize len); extern GString* g_string_sized_new (gsize dfl_size); extern gchar* g_string_free (GString *string, gboolean free_segment); extern GBytes* g_string_free_to_bytes (GString *string); extern gboolean g_string_equal (const GString *v, const GString *v2); extern guint g_string_hash (const GString *str); extern GString* g_string_assign (GString *string, const gchar *rval); extern GString* g_string_truncate (GString *string, gsize len); extern GString* g_string_set_size (GString *string, gsize len); extern GString* g_string_insert_len (GString *string, gssize pos, const gchar *val, gssize len); extern GString* g_string_append (GString *string, const gchar *val); extern GString* g_string_append_len (GString *string, const gchar *val, gssize len); extern GString* g_string_append_c (GString *string, gchar c); extern GString* g_string_append_unichar (GString *string, gunichar wc); extern GString* g_string_prepend (GString *string, const gchar *val); extern GString* g_string_prepend_c (GString *string, gchar c); extern GString* g_string_prepend_unichar (GString *string, gunichar wc); extern GString* g_string_prepend_len (GString *string, const gchar *val, gssize len); extern GString* g_string_insert (GString *string, gssize pos, const gchar *val); extern GString* g_string_insert_c (GString *string, gssize pos, gchar c); extern GString* g_string_insert_unichar (GString *string, gssize pos, gunichar wc); extern GString* g_string_overwrite (GString *string, gsize pos, const gchar *val); extern GString* g_string_overwrite_len (GString *string, gsize pos, const gchar *val, gssize len); extern GString* g_string_erase (GString *string, gssize pos, gssize len); extern GString* g_string_ascii_down (GString *string); extern GString* g_string_ascii_up (GString *string); extern void g_string_vprintf (GString *string, const gchar *format, va_list args) __attribute__((__format__ (__printf__, 2, 0))); extern void g_string_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern void g_string_append_vprintf (GString *string, const gchar *format, va_list args) __attribute__((__format__ (__printf__, 2, 0))); extern void g_string_append_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern GString* g_string_append_uri_escaped (GString *string, const gchar *unescaped, const gchar *reserved_chars_allowed, gboolean allow_utf8); static inline GString* g_string_append_c_inline (GString *gstring, gchar c) { if (gstring->len + 1 < gstring->allocated_len) { gstring->str[gstring->len++] = c; gstring->str[gstring->len] = 0; } else g_string_insert_c (gstring, -1, c); return gstring; } __attribute__((__deprecated__)) extern GString *g_string_down (GString *string); __attribute__((__deprecated__)) extern GString *g_string_up (GString *string); # 35 "/usr/include/glib-2.0/glib/giochannel.h" 2 typedef struct _GIOChannel GIOChannel; typedef struct _GIOFuncs GIOFuncs; typedef enum { G_IO_ERROR_NONE, G_IO_ERROR_AGAIN, G_IO_ERROR_INVAL, G_IO_ERROR_UNKNOWN } GIOError; typedef enum { G_IO_CHANNEL_ERROR_FBIG, G_IO_CHANNEL_ERROR_INVAL, G_IO_CHANNEL_ERROR_IO, G_IO_CHANNEL_ERROR_ISDIR, G_IO_CHANNEL_ERROR_NOSPC, G_IO_CHANNEL_ERROR_NXIO, G_IO_CHANNEL_ERROR_OVERFLOW, G_IO_CHANNEL_ERROR_PIPE, G_IO_CHANNEL_ERROR_FAILED } GIOChannelError; typedef enum { G_IO_STATUS_ERROR, G_IO_STATUS_NORMAL, G_IO_STATUS_EOF, G_IO_STATUS_AGAIN } GIOStatus; typedef enum { G_SEEK_CUR, G_SEEK_SET, G_SEEK_END } GSeekType; typedef enum { G_IO_FLAG_APPEND = 1 << 0, G_IO_FLAG_NONBLOCK = 1 << 1, G_IO_FLAG_IS_READABLE = 1 << 2, G_IO_FLAG_IS_WRITABLE = 1 << 3, G_IO_FLAG_IS_WRITEABLE = 1 << 3, G_IO_FLAG_IS_SEEKABLE = 1 << 4, G_IO_FLAG_MASK = (1 << 5) - 1, G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK, G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK } GIOFlags; struct _GIOChannel { gint ref_count; GIOFuncs *funcs; gchar *encoding; GIConv read_cd; GIConv write_cd; gchar *line_term; guint line_term_len; gsize buf_size; GString *read_buf; GString *encoded_read_buf; GString *write_buf; gchar partial_write_buf[6]; guint use_buffer : 1; guint do_encode : 1; guint close_on_unref : 1; guint is_readable : 1; guint is_writeable : 1; guint is_seekable : 1; gpointer reserved1; gpointer reserved2; }; typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, gpointer data); struct _GIOFuncs { GIOStatus (*io_read) (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **err); GIOStatus (*io_write) (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written, GError **err); GIOStatus (*io_seek) (GIOChannel *channel, gint64 offset, GSeekType type, GError **err); GIOStatus (*io_close) (GIOChannel *channel, GError **err); GSource* (*io_create_watch) (GIOChannel *channel, GIOCondition condition); void (*io_free) (GIOChannel *channel); GIOStatus (*io_set_flags) (GIOChannel *channel, GIOFlags flags, GError **err); GIOFlags (*io_get_flags) (GIOChannel *channel); }; extern void g_io_channel_init (GIOChannel *channel); extern GIOChannel *g_io_channel_ref (GIOChannel *channel); extern void g_io_channel_unref (GIOChannel *channel); __attribute__((__deprecated__("Use '" "g_io_channel_read_chars" "' instead"))) extern GIOError g_io_channel_read (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read); __attribute__((__deprecated__("Use '" "g_io_channel_write_chars" "' instead"))) extern GIOError g_io_channel_write (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written); __attribute__((__deprecated__("Use '" "g_io_channel_seek_position" "' instead"))) extern GIOError g_io_channel_seek (GIOChannel *channel, gint64 offset, GSeekType type); __attribute__((__deprecated__("Use '" "g_io_channel_shutdown" "' instead"))) extern void g_io_channel_close (GIOChannel *channel); extern GIOStatus g_io_channel_shutdown (GIOChannel *channel, gboolean flush, GError **err); extern guint g_io_add_watch_full (GIOChannel *channel, gint priority, GIOCondition condition, GIOFunc func, gpointer user_data, GDestroyNotify notify); extern GSource * g_io_create_watch (GIOChannel *channel, GIOCondition condition); extern guint g_io_add_watch (GIOChannel *channel, GIOCondition condition, GIOFunc func, gpointer user_data); extern void g_io_channel_set_buffer_size (GIOChannel *channel, gsize size); extern gsize g_io_channel_get_buffer_size (GIOChannel *channel); extern GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel); extern GIOStatus g_io_channel_set_flags (GIOChannel *channel, GIOFlags flags, GError **error); extern GIOFlags g_io_channel_get_flags (GIOChannel *channel); extern void g_io_channel_set_line_term (GIOChannel *channel, const gchar *line_term, gint length); extern const gchar * g_io_channel_get_line_term (GIOChannel *channel, gint *length); extern void g_io_channel_set_buffered (GIOChannel *channel, gboolean buffered); extern gboolean g_io_channel_get_buffered (GIOChannel *channel); extern GIOStatus g_io_channel_set_encoding (GIOChannel *channel, const gchar *encoding, GError **error); extern const gchar * g_io_channel_get_encoding (GIOChannel *channel); extern void g_io_channel_set_close_on_unref (GIOChannel *channel, gboolean do_close); extern gboolean g_io_channel_get_close_on_unref (GIOChannel *channel); extern GIOStatus g_io_channel_flush (GIOChannel *channel, GError **error); extern GIOStatus g_io_channel_read_line (GIOChannel *channel, gchar **str_return, gsize *length, gsize *terminator_pos, GError **error); extern GIOStatus g_io_channel_read_line_string (GIOChannel *channel, GString *buffer, gsize *terminator_pos, GError **error); extern GIOStatus g_io_channel_read_to_end (GIOChannel *channel, gchar **str_return, gsize *length, GError **error); extern GIOStatus g_io_channel_read_chars (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **error); extern GIOStatus g_io_channel_read_unichar (GIOChannel *channel, gunichar *thechar, GError **error); extern GIOStatus g_io_channel_write_chars (GIOChannel *channel, const gchar *buf, gssize count, gsize *bytes_written, GError **error); extern GIOStatus g_io_channel_write_unichar (GIOChannel *channel, gunichar thechar, GError **error); extern GIOStatus g_io_channel_seek_position (GIOChannel *channel, gint64 offset, GSeekType type, GError **error); extern GIOChannel* g_io_channel_new_file (const gchar *filename, const gchar *mode, GError **error); extern GQuark g_io_channel_error_quark (void); extern GIOChannelError g_io_channel_error_from_errno (gint en); # 320 "/usr/include/glib-2.0/glib/giochannel.h" extern GIOChannel* g_io_channel_unix_new (int fd); extern gint g_io_channel_unix_get_fd (GIOChannel *channel); extern GSourceFuncs g_io_watch_funcs; # 411 "/usr/include/glib-2.0/glib/giochannel.h" # 55 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1 # 31 "/usr/include/glib-2.0/glib/gkeyfile.h" typedef enum { G_KEY_FILE_ERROR_UNKNOWN_ENCODING, G_KEY_FILE_ERROR_PARSE, G_KEY_FILE_ERROR_NOT_FOUND, G_KEY_FILE_ERROR_KEY_NOT_FOUND, G_KEY_FILE_ERROR_GROUP_NOT_FOUND, G_KEY_FILE_ERROR_INVALID_VALUE } GKeyFileError; extern GQuark g_key_file_error_quark (void); typedef struct _GKeyFile GKeyFile; typedef enum { G_KEY_FILE_NONE = 0, G_KEY_FILE_KEEP_COMMENTS = 1 << 0, G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1 } GKeyFileFlags; extern GKeyFile *g_key_file_new (void); extern GKeyFile *g_key_file_ref (GKeyFile *key_file); extern void g_key_file_unref (GKeyFile *key_file); extern void g_key_file_free (GKeyFile *key_file); extern void g_key_file_set_list_separator (GKeyFile *key_file, gchar separator); extern gboolean g_key_file_load_from_file (GKeyFile *key_file, const gchar *file, GKeyFileFlags flags, GError **error); extern gboolean g_key_file_load_from_data (GKeyFile *key_file, const gchar *data, gsize length, GKeyFileFlags flags, GError **error); extern gboolean g_key_file_load_from_dirs (GKeyFile *key_file, const gchar *file, const gchar **search_dirs, gchar **full_path, GKeyFileFlags flags, GError **error); extern gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file, const gchar *file, gchar **full_path, GKeyFileFlags flags, GError **error); extern gchar *g_key_file_to_data (GKeyFile *key_file, gsize *length, GError **error) __attribute__((__malloc__)); extern gboolean g_key_file_save_to_file (GKeyFile *key_file, const gchar *filename, GError **error); extern gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__)); extern gchar **g_key_file_get_groups (GKeyFile *key_file, gsize *length) __attribute__((__malloc__)); extern gchar **g_key_file_get_keys (GKeyFile *key_file, const gchar *group_name, gsize *length, GError **error) __attribute__((__malloc__)); extern gboolean g_key_file_has_group (GKeyFile *key_file, const gchar *group_name); extern gboolean g_key_file_has_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern gchar *g_key_file_get_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *value); extern gchar *g_key_file_get_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *string); extern gchar *g_key_file_get_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar *string); extern gboolean g_key_file_get_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean value); extern gint g_key_file_get_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint value); extern gint64 g_key_file_get_int64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_int64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint64 value); extern guint64 g_key_file_get_uint64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_uint64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, guint64 value); extern gdouble g_key_file_get_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble value); extern gchar **g_key_file_get_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar * const list[], gsize length); extern gchar **g_key_file_get_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, gsize *length, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar * const list[], gsize length); extern gboolean *g_key_file_get_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean list[], gsize length); extern gint *g_key_file_get_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble list[], gsize length); extern gdouble *g_key_file_get_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); extern void g_key_file_set_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint list[], gsize length); extern gboolean g_key_file_set_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *comment, GError **error); extern gchar *g_key_file_get_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); extern gboolean g_key_file_remove_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern gboolean g_key_file_remove_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern gboolean g_key_file_remove_group (GKeyFile *key_file, const gchar *group_name, GError **error); # 321 "/usr/include/glib-2.0/glib/gkeyfile.h" # 56 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1 # 30 "/usr/include/glib-2.0/glib/gmappedfile.h" typedef struct _GMappedFile GMappedFile; extern GMappedFile *g_mapped_file_new (const gchar *filename, gboolean writable, GError **error) __attribute__((__malloc__)); extern GMappedFile *g_mapped_file_new_from_fd (gint fd, gboolean writable, GError **error) __attribute__((__malloc__)); extern gsize g_mapped_file_get_length (GMappedFile *file); extern gchar *g_mapped_file_get_contents (GMappedFile *file); extern GBytes * g_mapped_file_get_bytes (GMappedFile *file); extern GMappedFile *g_mapped_file_ref (GMappedFile *file); extern void g_mapped_file_unref (GMappedFile *file); __attribute__((__deprecated__("Use '" "g_mapped_file_unref" "' instead"))) extern void g_mapped_file_free (GMappedFile *file); # 60 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1 # 32 "/usr/include/glib-2.0/glib/gmarkup.h" # 50 "/usr/include/glib-2.0/glib/gmarkup.h" typedef enum { G_MARKUP_ERROR_BAD_UTF8, G_MARKUP_ERROR_EMPTY, G_MARKUP_ERROR_PARSE, G_MARKUP_ERROR_UNKNOWN_ELEMENT, G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, G_MARKUP_ERROR_INVALID_CONTENT, G_MARKUP_ERROR_MISSING_ATTRIBUTE } GMarkupError; # 73 "/usr/include/glib-2.0/glib/gmarkup.h" extern GQuark g_markup_error_quark (void); # 96 "/usr/include/glib-2.0/glib/gmarkup.h" typedef enum { G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0, G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1, G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2, G_MARKUP_IGNORE_QUALIFIED = 1 << 3 } GMarkupParseFlags; # 113 "/usr/include/glib-2.0/glib/gmarkup.h" typedef struct _GMarkupParseContext GMarkupParseContext; typedef struct _GMarkupParser GMarkupParser; # 143 "/usr/include/glib-2.0/glib/gmarkup.h" struct _GMarkupParser { void (*start_element) (GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, gpointer user_data, GError **error); void (*end_element) (GMarkupParseContext *context, const gchar *element_name, gpointer user_data, GError **error); void (*text) (GMarkupParseContext *context, const gchar *text, gsize text_len, gpointer user_data, GError **error); void (*passthrough) (GMarkupParseContext *context, const gchar *passthrough_text, gsize text_len, gpointer user_data, GError **error); void (*error) (GMarkupParseContext *context, GError *error, gpointer user_data); }; extern GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser, GMarkupParseFlags flags, gpointer user_data, GDestroyNotify user_data_dnotify); extern GMarkupParseContext *g_markup_parse_context_ref (GMarkupParseContext *context); extern void g_markup_parse_context_unref (GMarkupParseContext *context); extern void g_markup_parse_context_free (GMarkupParseContext *context); extern gboolean g_markup_parse_context_parse (GMarkupParseContext *context, const gchar *text, gssize text_len, GError **error); extern void g_markup_parse_context_push (GMarkupParseContext *context, const GMarkupParser *parser, gpointer user_data); extern gpointer g_markup_parse_context_pop (GMarkupParseContext *context); extern gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, GError **error); extern const gchar * g_markup_parse_context_get_element (GMarkupParseContext *context); extern const GSList * g_markup_parse_context_get_element_stack (GMarkupParseContext *context); extern void g_markup_parse_context_get_position (GMarkupParseContext *context, gint *line_number, gint *char_number); extern gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context); extern gchar* g_markup_escape_text (const gchar *text, gssize length); extern gchar *g_markup_printf_escaped (const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); extern gchar *g_markup_vprintf_escaped (const char *format, va_list args) __attribute__((__format__ (__printf__, 1, 0))); typedef enum { G_MARKUP_COLLECT_INVALID, G_MARKUP_COLLECT_STRING, G_MARKUP_COLLECT_STRDUP, G_MARKUP_COLLECT_BOOLEAN, G_MARKUP_COLLECT_TRISTATE, G_MARKUP_COLLECT_OPTIONAL = (1 << 16) } GMarkupCollectType; extern gboolean g_markup_collect_attributes (const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, GError **error, GMarkupCollectType first_type, const gchar *first_attr, ...); # 61 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1 # 39 "/usr/include/glib-2.0/glib/gmessages.h" # 40 "/usr/include/glib-2.0/glib/gmessages.h" 3 extern gsize g_printf_string_upper_bound (const gchar* format, va_list args) __attribute__((__format__ (__printf__, 1, 0))); # 57 "/usr/include/glib-2.0/glib/gmessages.h" 3 typedef enum { G_LOG_FLAG_RECURSION = 1 << 0, G_LOG_FLAG_FATAL = 1 << 1, G_LOG_LEVEL_ERROR = 1 << 2, G_LOG_LEVEL_CRITICAL = 1 << 3, G_LOG_LEVEL_WARNING = 1 << 4, G_LOG_LEVEL_MESSAGE = 1 << 5, G_LOG_LEVEL_INFO = 1 << 6, G_LOG_LEVEL_DEBUG = 1 << 7, G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) } GLogLevelFlags; typedef void (*GLogFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data); extern guint g_log_set_handler (const gchar *log_domain, GLogLevelFlags log_levels, GLogFunc log_func, gpointer user_data); extern void g_log_remove_handler (const gchar *log_domain, guint handler_id); extern void g_log_default_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); extern GLogFunc g_log_set_default_handler (GLogFunc log_func, gpointer user_data); extern void g_log (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); extern void g_logv (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, va_list args) __attribute__((__format__ (__printf__, 3, 0))); extern GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, GLogLevelFlags fatal_mask); extern GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); void _g_log_fallback_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); extern void g_return_if_fail_warning (const char *log_domain, const char *pretty_function, const char *expression) ; extern void g_warn_message (const char *domain, const char *file, int line, const char *func, const char *warnexpr) ; __attribute__((__deprecated__)) extern void g_assert_warning (const char *log_domain, const char *file, const int line, const char *pretty_function, const char *expression) __attribute__((__noreturn__)); # 263 "/usr/include/glib-2.0/glib/gmessages.h" 3 typedef void (*GPrintFunc) (const gchar *string); extern void g_print (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))); extern GPrintFunc g_set_print_handler (GPrintFunc func); extern void g_printerr (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))); extern GPrintFunc g_set_printerr_handler (GPrintFunc func); # 405 "/usr/include/glib-2.0/glib/gmessages.h" 3 # 63 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/goption.h" 1 # 29 "/usr/include/glib-2.0/glib/goption.h" # 38 "/usr/include/glib-2.0/glib/goption.h" typedef struct _GOptionContext GOptionContext; # 51 "/usr/include/glib-2.0/glib/goption.h" typedef struct _GOptionGroup GOptionGroup; typedef struct _GOptionEntry GOptionEntry; # 80 "/usr/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_FLAG_HIDDEN = 1 << 0, G_OPTION_FLAG_IN_MAIN = 1 << 1, G_OPTION_FLAG_REVERSE = 1 << 2, G_OPTION_FLAG_NO_ARG = 1 << 3, G_OPTION_FLAG_FILENAME = 1 << 4, G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5, G_OPTION_FLAG_NOALIAS = 1 << 6 } GOptionFlags; # 116 "/usr/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_ARG_NONE, G_OPTION_ARG_STRING, G_OPTION_ARG_INT, G_OPTION_ARG_CALLBACK, G_OPTION_ARG_FILENAME, G_OPTION_ARG_STRING_ARRAY, G_OPTION_ARG_FILENAME_ARRAY, G_OPTION_ARG_DOUBLE, G_OPTION_ARG_INT64 } GOptionArg; # 146 "/usr/include/glib-2.0/glib/goption.h" typedef gboolean (*GOptionArgFunc) (const gchar *option_name, const gchar *value, gpointer data, GError **error); # 164 "/usr/include/glib-2.0/glib/goption.h" typedef gboolean (*GOptionParseFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); # 179 "/usr/include/glib-2.0/glib/goption.h" typedef void (*GOptionErrorFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); # 203 "/usr/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_ERROR_UNKNOWN_OPTION, G_OPTION_ERROR_BAD_VALUE, G_OPTION_ERROR_FAILED } GOptionError; extern GQuark g_option_error_quark (void); # 255 "/usr/include/glib-2.0/glib/goption.h" struct _GOptionEntry { const gchar *long_name; gchar short_name; gint flags; GOptionArg arg; gpointer arg_data; const gchar *description; const gchar *arg_description; }; # 286 "/usr/include/glib-2.0/glib/goption.h" extern GOptionContext *g_option_context_new (const gchar *parameter_string); extern void g_option_context_set_summary (GOptionContext *context, const gchar *summary); extern const gchar * g_option_context_get_summary (GOptionContext *context); extern void g_option_context_set_description (GOptionContext *context, const gchar *description); extern const gchar * g_option_context_get_description (GOptionContext *context); extern void g_option_context_free (GOptionContext *context); extern void g_option_context_set_help_enabled (GOptionContext *context, gboolean help_enabled); extern gboolean g_option_context_get_help_enabled (GOptionContext *context); extern void g_option_context_set_ignore_unknown_options (GOptionContext *context, gboolean ignore_unknown); extern gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context); extern void g_option_context_add_main_entries (GOptionContext *context, const GOptionEntry *entries, const gchar *translation_domain); extern gboolean g_option_context_parse (GOptionContext *context, gint *argc, gchar ***argv, GError **error); extern gboolean g_option_context_parse_strv (GOptionContext *context, gchar ***arguments, GError **error); extern void g_option_context_set_translate_func (GOptionContext *context, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); extern void g_option_context_set_translation_domain (GOptionContext *context, const gchar *domain); extern void g_option_context_add_group (GOptionContext *context, GOptionGroup *group); extern void g_option_context_set_main_group (GOptionContext *context, GOptionGroup *group); extern GOptionGroup *g_option_context_get_main_group (GOptionContext *context); extern gchar *g_option_context_get_help (GOptionContext *context, gboolean main_help, GOptionGroup *group); extern GOptionGroup *g_option_group_new (const gchar *name, const gchar *description, const gchar *help_description, gpointer user_data, GDestroyNotify destroy); extern void g_option_group_set_parse_hooks (GOptionGroup *group, GOptionParseFunc pre_parse_func, GOptionParseFunc post_parse_func); extern void g_option_group_set_error_hook (GOptionGroup *group, GOptionErrorFunc error_func); extern void g_option_group_free (GOptionGroup *group); extern void g_option_group_add_entries (GOptionGroup *group, const GOptionEntry *entries); extern void g_option_group_set_translate_func (GOptionGroup *group, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); extern void g_option_group_set_translation_domain (GOptionGroup *group, const gchar *domain); # 65 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gpattern.h" 1 # 27 "/usr/include/glib-2.0/glib/gpattern.h" typedef struct _GPatternSpec GPatternSpec; extern GPatternSpec* g_pattern_spec_new (const gchar *pattern); extern void g_pattern_spec_free (GPatternSpec *pspec); extern gboolean g_pattern_spec_equal (GPatternSpec *pspec1, GPatternSpec *pspec2); extern gboolean g_pattern_match (GPatternSpec *pspec, guint string_length, const gchar *string, const gchar *string_reversed); extern gboolean g_pattern_match_string (GPatternSpec *pspec, const gchar *string); extern gboolean g_pattern_match_simple (const gchar *pattern, const gchar *string); # 66 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gprimes.h" 1 # 34 "/usr/include/glib-2.0/glib/gprimes.h" # 45 "/usr/include/glib-2.0/glib/gprimes.h" extern guint g_spaced_primes_closest (guint num) __attribute__((__const__)); # 68 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gqsort.h" 1 # 34 "/usr/include/glib-2.0/glib/gqsort.h" extern void g_qsort_with_data (gconstpointer pbase, gint total_elems, gsize size, GCompareDataFunc compare_func, gpointer user_data); # 69 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gqueue.h" 1 # 34 "/usr/include/glib-2.0/glib/gqueue.h" typedef struct _GQueue GQueue; # 47 "/usr/include/glib-2.0/glib/gqueue.h" struct _GQueue { GList *head; GList *tail; guint length; }; # 72 "/usr/include/glib-2.0/glib/gqueue.h" extern GQueue* g_queue_new (void); extern void g_queue_free (GQueue *queue); extern void g_queue_free_full (GQueue *queue, GDestroyNotify free_func); extern void g_queue_init (GQueue *queue); extern void g_queue_clear (GQueue *queue); extern gboolean g_queue_is_empty (GQueue *queue); extern guint g_queue_get_length (GQueue *queue); extern void g_queue_reverse (GQueue *queue); extern GQueue * g_queue_copy (GQueue *queue); extern void g_queue_foreach (GQueue *queue, GFunc func, gpointer user_data); extern GList * g_queue_find (GQueue *queue, gconstpointer data); extern GList * g_queue_find_custom (GQueue *queue, gconstpointer data, GCompareFunc func); extern void g_queue_sort (GQueue *queue, GCompareDataFunc compare_func, gpointer user_data); extern void g_queue_push_head (GQueue *queue, gpointer data); extern void g_queue_push_tail (GQueue *queue, gpointer data); extern void g_queue_push_nth (GQueue *queue, gpointer data, gint n); extern gpointer g_queue_pop_head (GQueue *queue); extern gpointer g_queue_pop_tail (GQueue *queue); extern gpointer g_queue_pop_nth (GQueue *queue, guint n); extern gpointer g_queue_peek_head (GQueue *queue); extern gpointer g_queue_peek_tail (GQueue *queue); extern gpointer g_queue_peek_nth (GQueue *queue, guint n); extern gint g_queue_index (GQueue *queue, gconstpointer data); extern gboolean g_queue_remove (GQueue *queue, gconstpointer data); extern guint g_queue_remove_all (GQueue *queue, gconstpointer data); extern void g_queue_insert_before (GQueue *queue, GList *sibling, gpointer data); extern void g_queue_insert_after (GQueue *queue, GList *sibling, gpointer data); extern void g_queue_insert_sorted (GQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); extern void g_queue_push_head_link (GQueue *queue, GList *link_); extern void g_queue_push_tail_link (GQueue *queue, GList *link_); extern void g_queue_push_nth_link (GQueue *queue, gint n, GList *link_); extern GList* g_queue_pop_head_link (GQueue *queue); extern GList* g_queue_pop_tail_link (GQueue *queue); extern GList* g_queue_pop_nth_link (GQueue *queue, guint n); extern GList* g_queue_peek_head_link (GQueue *queue); extern GList* g_queue_peek_tail_link (GQueue *queue); extern GList* g_queue_peek_nth_link (GQueue *queue, guint n); extern gint g_queue_link_index (GQueue *queue, GList *link_); extern void g_queue_unlink (GQueue *queue, GList *link_); extern void g_queue_delete_link (GQueue *queue, GList *link_); # 71 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/grand.h" 1 # 34 "/usr/include/glib-2.0/glib/grand.h" typedef struct _GRand GRand; # 47 "/usr/include/glib-2.0/glib/grand.h" extern GRand* g_rand_new_with_seed (guint32 seed); extern GRand* g_rand_new_with_seed_array (const guint32 *seed, guint seed_length); extern GRand* g_rand_new (void); extern void g_rand_free (GRand *rand_); extern GRand* g_rand_copy (GRand *rand_); extern void g_rand_set_seed (GRand *rand_, guint32 seed); extern void g_rand_set_seed_array (GRand *rand_, const guint32 *seed, guint seed_length); extern guint32 g_rand_int (GRand *rand_); extern gint32 g_rand_int_range (GRand *rand_, gint32 begin, gint32 end); extern gdouble g_rand_double (GRand *rand_); extern gdouble g_rand_double_range (GRand *rand_, gdouble begin, gdouble end); extern void g_random_set_seed (guint32 seed); extern guint32 g_random_int (void); extern gint32 g_random_int_range (gint32 begin, gint32 end); extern gdouble g_random_double (void); extern gdouble g_random_double_range (gdouble begin, gdouble end); # 72 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gregex.h" 1 # 32 "/usr/include/glib-2.0/glib/gregex.h" # 141 "/usr/include/glib-2.0/glib/gregex.h" typedef enum { G_REGEX_ERROR_COMPILE, G_REGEX_ERROR_OPTIMIZE, G_REGEX_ERROR_REPLACE, G_REGEX_ERROR_MATCH, G_REGEX_ERROR_INTERNAL, G_REGEX_ERROR_STRAY_BACKSLASH = 101, G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102, G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103, G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104, G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105, G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106, G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107, G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108, G_REGEX_ERROR_NOTHING_TO_REPEAT = 109, G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112, G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113, G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114, G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115, G_REGEX_ERROR_UNTERMINATED_COMMENT = 118, G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120, G_REGEX_ERROR_MEMORY_ERROR = 121, G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125, G_REGEX_ERROR_MALFORMED_CONDITION = 126, G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127, G_REGEX_ERROR_ASSERTION_EXPECTED = 128, G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130, G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131, G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134, G_REGEX_ERROR_INVALID_CONDITION = 135, G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136, G_REGEX_ERROR_INFINITE_LOOP = 140, G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142, G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143, G_REGEX_ERROR_MALFORMED_PROPERTY = 146, G_REGEX_ERROR_UNKNOWN_PROPERTY = 147, G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148, G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149, G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151, G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154, G_REGEX_ERROR_DEFINE_REPETION = 155, G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156, G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157, G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE = 158, G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN = 159, G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB = 160, G_REGEX_ERROR_NUMBER_TOO_BIG = 161, G_REGEX_ERROR_MISSING_SUBPATTERN_NAME = 162, G_REGEX_ERROR_MISSING_DIGIT = 163, G_REGEX_ERROR_INVALID_DATA_CHARACTER = 164, G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME = 165, G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED = 166, G_REGEX_ERROR_INVALID_CONTROL_CHAR = 168, G_REGEX_ERROR_MISSING_NAME = 169, G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS = 171, G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES = 172, G_REGEX_ERROR_NAME_TOO_LONG = 175, G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE = 176 } GRegexError; # 215 "/usr/include/glib-2.0/glib/gregex.h" extern GQuark g_regex_error_quark (void); # 296 "/usr/include/glib-2.0/glib/gregex.h" typedef enum { G_REGEX_CASELESS = 1 << 0, G_REGEX_MULTILINE = 1 << 1, G_REGEX_DOTALL = 1 << 2, G_REGEX_EXTENDED = 1 << 3, G_REGEX_ANCHORED = 1 << 4, G_REGEX_DOLLAR_ENDONLY = 1 << 5, G_REGEX_UNGREEDY = 1 << 9, G_REGEX_RAW = 1 << 11, G_REGEX_NO_AUTO_CAPTURE = 1 << 12, G_REGEX_OPTIMIZE = 1 << 13, G_REGEX_FIRSTLINE = 1 << 18, G_REGEX_DUPNAMES = 1 << 19, G_REGEX_NEWLINE_CR = 1 << 20, G_REGEX_NEWLINE_LF = 1 << 21, G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF, G_REGEX_NEWLINE_ANYCRLF = G_REGEX_NEWLINE_CR | 1 << 22, G_REGEX_BSR_ANYCRLF = 1 << 23, G_REGEX_JAVASCRIPT_COMPAT = 1 << 25 } GRegexCompileFlags; # 386 "/usr/include/glib-2.0/glib/gregex.h" typedef enum { G_REGEX_MATCH_ANCHORED = 1 << 4, G_REGEX_MATCH_NOTBOL = 1 << 7, G_REGEX_MATCH_NOTEOL = 1 << 8, G_REGEX_MATCH_NOTEMPTY = 1 << 10, G_REGEX_MATCH_PARTIAL = 1 << 15, G_REGEX_MATCH_NEWLINE_CR = 1 << 20, G_REGEX_MATCH_NEWLINE_LF = 1 << 21, G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF, G_REGEX_MATCH_NEWLINE_ANY = 1 << 22, G_REGEX_MATCH_NEWLINE_ANYCRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_ANY, G_REGEX_MATCH_BSR_ANYCRLF = 1 << 23, G_REGEX_MATCH_BSR_ANY = 1 << 24, G_REGEX_MATCH_PARTIAL_SOFT = G_REGEX_MATCH_PARTIAL, G_REGEX_MATCH_PARTIAL_HARD = 1 << 27, G_REGEX_MATCH_NOTEMPTY_ATSTART = 1 << 28 } GRegexMatchFlags; # 413 "/usr/include/glib-2.0/glib/gregex.h" typedef struct _GRegex GRegex; typedef struct _GMatchInfo GMatchInfo; # 435 "/usr/include/glib-2.0/glib/gregex.h" typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info, GString *result, gpointer user_data); extern GRegex *g_regex_new (const gchar *pattern, GRegexCompileFlags compile_options, GRegexMatchFlags match_options, GError **error); extern GRegex *g_regex_ref (GRegex *regex); extern void g_regex_unref (GRegex *regex); extern const gchar *g_regex_get_pattern (const GRegex *regex); extern gint g_regex_get_max_backref (const GRegex *regex); extern gint g_regex_get_capture_count (const GRegex *regex); extern gboolean g_regex_get_has_cr_or_lf (const GRegex *regex); extern gint g_regex_get_max_lookbehind (const GRegex *regex); extern gint g_regex_get_string_number (const GRegex *regex, const gchar *name); extern gchar *g_regex_escape_string (const gchar *string, gint length); extern gchar *g_regex_escape_nul (const gchar *string, gint length); extern GRegexCompileFlags g_regex_get_compile_flags (const GRegex *regex); extern GRegexMatchFlags g_regex_get_match_flags (const GRegex *regex); extern gboolean g_regex_match_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); extern gboolean g_regex_match (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); extern gboolean g_regex_match_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); extern gboolean g_regex_match_all (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); extern gboolean g_regex_match_all_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); extern gchar **g_regex_split_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); extern gchar **g_regex_split (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options); extern gchar **g_regex_split_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, gint max_tokens, GError **error); extern gchar *g_regex_replace (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); extern gchar *g_regex_replace_literal (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); extern gchar *g_regex_replace_eval (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data, GError **error); extern gboolean g_regex_check_replacement (const gchar *replacement, gboolean *has_references, GError **error); extern GRegex *g_match_info_get_regex (const GMatchInfo *match_info); extern const gchar *g_match_info_get_string (const GMatchInfo *match_info); extern GMatchInfo *g_match_info_ref (GMatchInfo *match_info); extern void g_match_info_unref (GMatchInfo *match_info); extern void g_match_info_free (GMatchInfo *match_info); extern gboolean g_match_info_next (GMatchInfo *match_info, GError **error); extern gboolean g_match_info_matches (const GMatchInfo *match_info); extern gint g_match_info_get_match_count (const GMatchInfo *match_info); extern gboolean g_match_info_is_partial_match (const GMatchInfo *match_info); extern gchar *g_match_info_expand_references(const GMatchInfo *match_info, const gchar *string_to_expand, GError **error); extern gchar *g_match_info_fetch (const GMatchInfo *match_info, gint match_num); extern gboolean g_match_info_fetch_pos (const GMatchInfo *match_info, gint match_num, gint *start_pos, gint *end_pos); extern gchar *g_match_info_fetch_named (const GMatchInfo *match_info, const gchar *name); extern gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info, const gchar *name, gint *start_pos, gint *end_pos); extern gchar **g_match_info_fetch_all (const GMatchInfo *match_info); # 73 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gscanner.h" 1 # 35 "/usr/include/glib-2.0/glib/gscanner.h" typedef struct _GScanner GScanner; typedef struct _GScannerConfig GScannerConfig; typedef union _GTokenValue GTokenValue; typedef void (*GScannerMsgFunc) (GScanner *scanner, gchar *message, gboolean error); # 62 "/usr/include/glib-2.0/glib/gscanner.h" typedef enum { G_ERR_UNKNOWN, G_ERR_UNEXP_EOF, G_ERR_UNEXP_EOF_IN_STRING, G_ERR_UNEXP_EOF_IN_COMMENT, G_ERR_NON_DIGIT_IN_CONST, G_ERR_DIGIT_RADIX, G_ERR_FLOAT_RADIX, G_ERR_FLOAT_MALFORMED } GErrorType; typedef enum { G_TOKEN_EOF = 0, G_TOKEN_LEFT_PAREN = '(', G_TOKEN_RIGHT_PAREN = ')', G_TOKEN_LEFT_CURLY = '{', G_TOKEN_RIGHT_CURLY = '}', G_TOKEN_LEFT_BRACE = '[', G_TOKEN_RIGHT_BRACE = ']', G_TOKEN_EQUAL_SIGN = '=', G_TOKEN_COMMA = ',', G_TOKEN_NONE = 256, G_TOKEN_ERROR, G_TOKEN_CHAR, G_TOKEN_BINARY, G_TOKEN_OCTAL, G_TOKEN_INT, G_TOKEN_HEX, G_TOKEN_FLOAT, G_TOKEN_STRING, G_TOKEN_SYMBOL, G_TOKEN_IDENTIFIER, G_TOKEN_IDENTIFIER_NULL, G_TOKEN_COMMENT_SINGLE, G_TOKEN_COMMENT_MULTI, G_TOKEN_LAST } GTokenType; union _GTokenValue { gpointer v_symbol; gchar *v_identifier; gulong v_binary; gulong v_octal; gulong v_int; guint64 v_int64; gdouble v_float; gulong v_hex; gchar *v_string; gchar *v_comment; guchar v_char; guint v_error; }; struct _GScannerConfig { gchar *cset_skip_characters; gchar *cset_identifier_first; gchar *cset_identifier_nth; gchar *cpair_comment_single; guint case_sensitive : 1; guint skip_comment_multi : 1; guint skip_comment_single : 1; guint scan_comment_multi : 1; guint scan_identifier : 1; guint scan_identifier_1char : 1; guint scan_identifier_NULL : 1; guint scan_symbols : 1; guint scan_binary : 1; guint scan_octal : 1; guint scan_float : 1; guint scan_hex : 1; guint scan_hex_dollar : 1; guint scan_string_sq : 1; guint scan_string_dq : 1; guint numbers_2_int : 1; guint int_2_float : 1; guint identifier_2_string : 1; guint char_2_token : 1; guint symbol_2_token : 1; guint scope_0_fallback : 1; guint store_int64 : 1; guint padding_dummy; }; struct _GScanner { gpointer user_data; guint max_parse_errors; guint parse_errors; const gchar *input_name; GData *qdata; GScannerConfig *config; GTokenType token; GTokenValue value; guint line; guint position; GTokenType next_token; GTokenValue next_value; guint next_line; guint next_position; GHashTable *symbol_table; gint input_fd; const gchar *text; const gchar *text_end; gchar *buffer; guint scope_id; GScannerMsgFunc msg_handler; }; extern GScanner* g_scanner_new (const GScannerConfig *config_templ); extern void g_scanner_destroy (GScanner *scanner); extern void g_scanner_input_file (GScanner *scanner, gint input_fd); extern void g_scanner_sync_file_offset (GScanner *scanner); extern void g_scanner_input_text (GScanner *scanner, const gchar *text, guint text_len); extern GTokenType g_scanner_get_next_token (GScanner *scanner); extern GTokenType g_scanner_peek_next_token (GScanner *scanner); extern GTokenType g_scanner_cur_token (GScanner *scanner); extern GTokenValue g_scanner_cur_value (GScanner *scanner); extern guint g_scanner_cur_line (GScanner *scanner); extern guint g_scanner_cur_position (GScanner *scanner); extern gboolean g_scanner_eof (GScanner *scanner); extern guint g_scanner_set_scope (GScanner *scanner, guint scope_id); extern void g_scanner_scope_add_symbol (GScanner *scanner, guint scope_id, const gchar *symbol, gpointer value); extern void g_scanner_scope_remove_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); extern gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); extern void g_scanner_scope_foreach_symbol (GScanner *scanner, guint scope_id, GHFunc func, gpointer user_data); extern gpointer g_scanner_lookup_symbol (GScanner *scanner, const gchar *symbol); extern void g_scanner_unexp_token (GScanner *scanner, GTokenType expected_token, const gchar *identifier_spec, const gchar *symbol_spec, const gchar *symbol_name, const gchar *message, gint is_error); extern void g_scanner_error (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern void g_scanner_warn (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); # 301 "/usr/include/glib-2.0/glib/gscanner.h" # 74 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gsequence.h" 1 # 28 "/usr/include/glib-2.0/glib/gsequence.h" typedef struct _GSequence GSequence; typedef struct _GSequenceNode GSequenceIter; typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a, GSequenceIter *b, gpointer data); extern GSequence * g_sequence_new (GDestroyNotify data_destroy); extern void g_sequence_free (GSequence *seq); extern gint g_sequence_get_length (GSequence *seq); extern void g_sequence_foreach (GSequence *seq, GFunc func, gpointer user_data); extern void g_sequence_foreach_range (GSequenceIter *begin, GSequenceIter *end, GFunc func, gpointer user_data); extern void g_sequence_sort (GSequence *seq, GCompareDataFunc cmp_func, gpointer cmp_data); extern void g_sequence_sort_iter (GSequence *seq, GSequenceIterCompareFunc cmp_func, gpointer cmp_data); extern GSequenceIter *g_sequence_get_begin_iter (GSequence *seq); extern GSequenceIter *g_sequence_get_end_iter (GSequence *seq); extern GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq, gint pos); extern GSequenceIter *g_sequence_append (GSequence *seq, gpointer data); extern GSequenceIter *g_sequence_prepend (GSequence *seq, gpointer data); extern GSequenceIter *g_sequence_insert_before (GSequenceIter *iter, gpointer data); extern void g_sequence_move (GSequenceIter *src, GSequenceIter *dest); extern void g_sequence_swap (GSequenceIter *a, GSequenceIter *b); extern GSequenceIter *g_sequence_insert_sorted (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); extern GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern void g_sequence_sort_changed (GSequenceIter *iter, GCompareDataFunc cmp_func, gpointer cmp_data); extern void g_sequence_sort_changed_iter (GSequenceIter *iter, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern void g_sequence_remove (GSequenceIter *iter); extern void g_sequence_remove_range (GSequenceIter *begin, GSequenceIter *end); extern void g_sequence_move_range (GSequenceIter *dest, GSequenceIter *begin, GSequenceIter *end); extern GSequenceIter *g_sequence_search (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); extern GSequenceIter *g_sequence_search_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern GSequenceIter *g_sequence_lookup (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); extern GSequenceIter *g_sequence_lookup_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern gpointer g_sequence_get (GSequenceIter *iter); extern void g_sequence_set (GSequenceIter *iter, gpointer data); extern gboolean g_sequence_iter_is_begin (GSequenceIter *iter); extern gboolean g_sequence_iter_is_end (GSequenceIter *iter); extern GSequenceIter *g_sequence_iter_next (GSequenceIter *iter); extern GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter); extern gint g_sequence_iter_get_position (GSequenceIter *iter); extern GSequenceIter *g_sequence_iter_move (GSequenceIter *iter, gint delta); extern GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter); extern gint g_sequence_iter_compare (GSequenceIter *a, GSequenceIter *b); extern GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin, GSequenceIter *end); # 75 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gshell.h" 1 # 30 "/usr/include/glib-2.0/glib/gshell.h" typedef enum { G_SHELL_ERROR_BAD_QUOTING, G_SHELL_ERROR_EMPTY_STRING, G_SHELL_ERROR_FAILED } GShellError; extern GQuark g_shell_error_quark (void); extern gchar* g_shell_quote (const gchar *unquoted_string); extern gchar* g_shell_unquote (const gchar *quoted_string, GError **error); extern gboolean g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp, GError **error); # 76 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1 # 27 "/usr/include/glib-2.0/glib/gslice.h" extern gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_slice_copy (gsize block_size, gconstpointer mem_block) __attribute__((__malloc__)) __attribute__((__alloc_size__(1))); extern void g_slice_free1 (gsize block_size, gpointer mem_block); extern void g_slice_free_chain_with_offset (gsize block_size, gpointer mem_chain, gsize next_offset); # 75 "/usr/include/glib-2.0/glib/gslice.h" typedef enum { G_SLICE_CONFIG_ALWAYS_MALLOC = 1, G_SLICE_CONFIG_BYPASS_MAGAZINES, G_SLICE_CONFIG_WORKING_SET_MSECS, G_SLICE_CONFIG_COLOR_INCREMENT, G_SLICE_CONFIG_CHUNK_SIZES, G_SLICE_CONFIG_CONTENTION_COUNTER } GSliceConfig; __attribute__((__deprecated__)) extern void g_slice_set_config (GSliceConfig ckey, gint64 value); __attribute__((__deprecated__)) extern gint64 g_slice_get_config (GSliceConfig ckey); __attribute__((__deprecated__)) extern gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values); # 77 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gspawn.h" 1 # 30 "/usr/include/glib-2.0/glib/gspawn.h" # 70 "/usr/include/glib-2.0/glib/gspawn.h" typedef enum { G_SPAWN_ERROR_FORK, G_SPAWN_ERROR_READ, G_SPAWN_ERROR_CHDIR, G_SPAWN_ERROR_ACCES, G_SPAWN_ERROR_PERM, G_SPAWN_ERROR_TOO_BIG, G_SPAWN_ERROR_2BIG = G_SPAWN_ERROR_TOO_BIG, G_SPAWN_ERROR_NOEXEC, G_SPAWN_ERROR_NAMETOOLONG, G_SPAWN_ERROR_NOENT, G_SPAWN_ERROR_NOMEM, G_SPAWN_ERROR_NOTDIR, G_SPAWN_ERROR_LOOP, G_SPAWN_ERROR_TXTBUSY, G_SPAWN_ERROR_IO, G_SPAWN_ERROR_NFILE, G_SPAWN_ERROR_MFILE, G_SPAWN_ERROR_INVAL, G_SPAWN_ERROR_ISDIR, G_SPAWN_ERROR_LIBBAD, G_SPAWN_ERROR_FAILED } GSpawnError; # 142 "/usr/include/glib-2.0/glib/gspawn.h" typedef void (* GSpawnChildSetupFunc) (gpointer user_data); # 172 "/usr/include/glib-2.0/glib/gspawn.h" typedef enum { G_SPAWN_DEFAULT = 0, G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, G_SPAWN_SEARCH_PATH = 1 << 2, G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4, G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5, G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6, G_SPAWN_SEARCH_PATH_FROM_ENVP = 1 << 7, G_SPAWN_CLOEXEC_PIPES = 1 << 8 } GSpawnFlags; extern GQuark g_spawn_error_quark (void); extern GQuark g_spawn_exit_error_quark (void); extern gboolean g_spawn_async (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, GError **error); extern gboolean g_spawn_async_with_pipes (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, gint *standard_input, gint *standard_output, gint *standard_error, GError **error); extern gboolean g_spawn_sync (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, gchar **standard_output, gchar **standard_error, gint *exit_status, GError **error); extern gboolean g_spawn_command_line_sync (const gchar *command_line, gchar **standard_output, gchar **standard_error, gint *exit_status, GError **error); extern gboolean g_spawn_command_line_async (const gchar *command_line, GError **error); extern gboolean g_spawn_check_exit_status (gint exit_status, GError **error); extern void g_spawn_close_pid (GPid pid); # 305 "/usr/include/glib-2.0/glib/gspawn.h" # 79 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1 # 36 "/usr/include/glib-2.0/glib/gstrfuncs.h" typedef enum { G_ASCII_ALNUM = 1 << 0, G_ASCII_ALPHA = 1 << 1, G_ASCII_CNTRL = 1 << 2, G_ASCII_DIGIT = 1 << 3, G_ASCII_GRAPH = 1 << 4, G_ASCII_LOWER = 1 << 5, G_ASCII_PRINT = 1 << 6, G_ASCII_PUNCT = 1 << 7, G_ASCII_SPACE = 1 << 8, G_ASCII_UPPER = 1 << 9, G_ASCII_XDIGIT = 1 << 10 } GAsciiType; extern const guint16 * const g_ascii_table; # 88 "/usr/include/glib-2.0/glib/gstrfuncs.h" extern gchar g_ascii_tolower (gchar c) __attribute__((__const__)); extern gchar g_ascii_toupper (gchar c) __attribute__((__const__)); extern gint g_ascii_digit_value (gchar c) __attribute__((__const__)); extern gint g_ascii_xdigit_value (gchar c) __attribute__((__const__)); extern gchar* g_strdelimit (gchar *string, const gchar *delimiters, gchar new_delimiter); extern gchar* g_strcanon (gchar *string, const gchar *valid_chars, gchar substitutor); extern const gchar * g_strerror (gint errnum) __attribute__((__const__)); extern const gchar * g_strsignal (gint signum) __attribute__((__const__)); extern gchar * g_strreverse (gchar *string); extern gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size); extern gsize g_strlcat (gchar *dest, const gchar *src, gsize dest_size); extern gchar * g_strstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); extern gchar * g_strrstr (const gchar *haystack, const gchar *needle); extern gchar * g_strrstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); extern gboolean g_str_has_suffix (const gchar *str, const gchar *suffix); extern gboolean g_str_has_prefix (const gchar *str, const gchar *prefix); extern gdouble g_strtod (const gchar *nptr, gchar **endptr); extern gdouble g_ascii_strtod (const gchar *nptr, gchar **endptr); extern guint64 g_ascii_strtoull (const gchar *nptr, gchar **endptr, guint base); extern gint64 g_ascii_strtoll (const gchar *nptr, gchar **endptr, guint base); extern gchar * g_ascii_dtostr (gchar *buffer, gint buf_len, gdouble d); extern gchar * g_ascii_formatd (gchar *buffer, gint buf_len, const gchar *format, gdouble d); extern gchar* g_strchug (gchar *string); extern gchar* g_strchomp (gchar *string); extern gint g_ascii_strcasecmp (const gchar *s1, const gchar *s2); extern gint g_ascii_strncasecmp (const gchar *s1, const gchar *s2, gsize n); extern gchar* g_ascii_strdown (const gchar *str, gssize len) __attribute__((__malloc__)); extern gchar* g_ascii_strup (const gchar *str, gssize len) __attribute__((__malloc__)); extern gboolean g_str_is_ascii (const gchar *str); __attribute__((__deprecated__)) extern gint g_strcasecmp (const gchar *s1, const gchar *s2); __attribute__((__deprecated__)) extern gint g_strncasecmp (const gchar *s1, const gchar *s2, guint n); __attribute__((__deprecated__)) extern gchar* g_strdown (gchar *string); __attribute__((__deprecated__)) extern gchar* g_strup (gchar *string); extern gchar* g_strdup (const gchar *str) __attribute__((__malloc__)); extern gchar* g_strdup_printf (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__)); extern gchar* g_strdup_vprintf (const gchar *format, va_list args) __attribute__((__format__ (__printf__, 1, 0))) __attribute__((__malloc__)); extern gchar* g_strndup (const gchar *str, gsize n) __attribute__((__malloc__)); extern gchar* g_strnfill (gsize length, gchar fill_char) __attribute__((__malloc__)); extern gchar* g_strconcat (const gchar *string1, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); extern gchar* g_strjoin (const gchar *separator, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); extern gchar* g_strcompress (const gchar *source) __attribute__((__malloc__)); # 251 "/usr/include/glib-2.0/glib/gstrfuncs.h" extern gchar* g_strescape (const gchar *source, const gchar *exceptions) __attribute__((__malloc__)); extern gpointer g_memdup (gconstpointer mem, guint byte_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(2))); # 268 "/usr/include/glib-2.0/glib/gstrfuncs.h" extern gchar** g_strsplit (const gchar *string, const gchar *delimiter, gint max_tokens) __attribute__((__malloc__)); extern gchar ** g_strsplit_set (const gchar *string, const gchar *delimiters, gint max_tokens) __attribute__((__malloc__)); extern gchar* g_strjoinv (const gchar *separator, gchar **str_array) __attribute__((__malloc__)); extern void g_strfreev (gchar **str_array); extern gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__)); extern guint g_strv_length (gchar **str_array); extern gchar* g_stpcpy (gchar *dest, const char *src); extern gchar * g_str_to_ascii (const gchar *str, const gchar *from_locale); extern gchar ** g_str_tokenize_and_fold (const gchar *string, const gchar *translit_locale, gchar ***ascii_alternates); extern gboolean g_str_match_string (const gchar *search_term, const gchar *potential_hit, gboolean accept_alternates); # 80 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gstringchunk.h" 1 # 34 "/usr/include/glib-2.0/glib/gstringchunk.h" typedef struct _GStringChunk GStringChunk; extern GStringChunk* g_string_chunk_new (gsize size); extern void g_string_chunk_free (GStringChunk *chunk); extern void g_string_chunk_clear (GStringChunk *chunk); extern gchar* g_string_chunk_insert (GStringChunk *chunk, const gchar *string); extern gchar* g_string_chunk_insert_len (GStringChunk *chunk, const gchar *string, gssize len); extern gchar* g_string_chunk_insert_const (GStringChunk *chunk, const gchar *string); # 82 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtestutils.h" 1 # 31 "/usr/include/glib-2.0/glib/gtestutils.h" typedef struct GTestCase GTestCase; typedef struct GTestSuite GTestSuite; typedef void (*GTestFunc) (void); typedef void (*GTestDataFunc) (gconstpointer user_data); typedef void (*GTestFixtureFunc) (gpointer fixture, gconstpointer user_data); # 94 "/usr/include/glib-2.0/glib/gtestutils.h" extern int g_strcmp0 (const char *str1, const char *str2); extern void g_test_minimized_result (double minimized_quantity, const char *format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern void g_test_maximized_result (double maximized_quantity, const char *format, ...) __attribute__((__format__ (__printf__, 2, 3))); extern void g_test_init (int *argc, char ***argv, ...) __attribute__((__sentinel__)); # 122 "/usr/include/glib-2.0/glib/gtestutils.h" extern gboolean g_test_subprocess (void); extern int g_test_run (void); extern void g_test_add_func (const char *testpath, GTestFunc test_func); extern void g_test_add_data_func (const char *testpath, gconstpointer test_data, GTestDataFunc test_func); extern void g_test_add_data_func_full (const char *testpath, gpointer test_data, GTestDataFunc test_func, GDestroyNotify data_free_func); extern void g_test_fail (void); extern void g_test_incomplete (const gchar *msg); extern void g_test_skip (const gchar *msg); extern gboolean g_test_failed (void); extern void g_test_set_nonfatal_assertions (void); # 170 "/usr/include/glib-2.0/glib/gtestutils.h" extern void g_test_message (const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); extern void g_test_bug_base (const char *uri_pattern); extern void g_test_bug (const char *bug_uri_snippet); extern void g_test_timer_start (void); extern double g_test_timer_elapsed (void); extern double g_test_timer_last (void); extern void g_test_queue_free (gpointer gfree_pointer); extern void g_test_queue_destroy (GDestroyNotify destroy_func, gpointer destroy_data); typedef enum { G_TEST_TRAP_SILENCE_STDOUT = 1 << 7, G_TEST_TRAP_SILENCE_STDERR = 1 << 8, G_TEST_TRAP_INHERIT_STDIN = 1 << 9 } GTestTrapFlags; __attribute__((__deprecated__("Use '" "g_test_trap_subprocess" "' instead"))) extern gboolean g_test_trap_fork (guint64 usec_timeout, GTestTrapFlags test_trap_flags); typedef enum { G_TEST_SUBPROCESS_INHERIT_STDIN = 1 << 0, G_TEST_SUBPROCESS_INHERIT_STDOUT = 1 << 1, G_TEST_SUBPROCESS_INHERIT_STDERR = 1 << 2 } GTestSubprocessFlags; extern void g_test_trap_subprocess (const char *test_path, guint64 usec_timeout, GTestSubprocessFlags test_flags); extern gboolean g_test_trap_has_passed (void); extern gboolean g_test_trap_reached_timeout (void); # 227 "/usr/include/glib-2.0/glib/gtestutils.h" extern gint32 g_test_rand_int (void); extern gint32 g_test_rand_int_range (gint32 begin, gint32 end); extern double g_test_rand_double (void); extern double g_test_rand_double_range (double range_start, double range_end); extern GTestCase* g_test_create_case (const char *test_name, gsize data_size, gconstpointer test_data, GTestFixtureFunc data_setup, GTestFixtureFunc data_test, GTestFixtureFunc data_teardown); extern GTestSuite* g_test_create_suite (const char *suite_name); extern GTestSuite* g_test_get_root (void); extern void g_test_suite_add (GTestSuite *suite, GTestCase *test_case); extern void g_test_suite_add_suite (GTestSuite *suite, GTestSuite *nestedsuite); extern int g_test_run_suite (GTestSuite *suite); extern void g_test_trap_assertions (const char *domain, const char *file, int line, const char *func, guint64 assertion_flags, const char *pattern); extern void g_assertion_message (const char *domain, const char *file, int line, const char *func, const char *message); extern void g_assertion_message_expr (const char *domain, const char *file, int line, const char *func, const char *expr) __attribute__((__noreturn__)); extern void g_assertion_message_cmpstr (const char *domain, const char *file, int line, const char *func, const char *expr, const char *arg1, const char *cmp, const char *arg2); extern void g_assertion_message_cmpnum (const char *domain, const char *file, int line, const char *func, const char *expr, long double arg1, const char *cmp, long double arg2, char numtype); extern void g_assertion_message_error (const char *domain, const char *file, int line, const char *func, const char *expr, const GError *error, GQuark error_domain, int error_code); extern void g_test_add_vtable (const char *testpath, gsize data_size, gconstpointer test_data, GTestFixtureFunc data_setup, GTestFixtureFunc data_test, GTestFixtureFunc data_teardown); typedef struct { gboolean test_initialized; gboolean test_quick; gboolean test_perf; gboolean test_verbose; gboolean test_quiet; gboolean test_undefined; } GTestConfig; extern const GTestConfig * const g_test_config_vars; typedef enum { G_TEST_LOG_NONE, G_TEST_LOG_ERROR, G_TEST_LOG_START_BINARY, G_TEST_LOG_LIST_CASE, G_TEST_LOG_SKIP_CASE, G_TEST_LOG_START_CASE, G_TEST_LOG_STOP_CASE, G_TEST_LOG_MIN_RESULT, G_TEST_LOG_MAX_RESULT, G_TEST_LOG_MESSAGE, G_TEST_LOG_START_SUITE, G_TEST_LOG_STOP_SUITE } GTestLogType; typedef struct { GTestLogType log_type; guint n_strings; gchar **strings; guint n_nums; long double *nums; } GTestLogMsg; typedef struct { GString *data; GSList *msgs; } GTestLogBuffer; extern const char* g_test_log_type_name (GTestLogType log_type); extern GTestLogBuffer* g_test_log_buffer_new (void); extern void g_test_log_buffer_free (GTestLogBuffer *tbuffer); extern void g_test_log_buffer_push (GTestLogBuffer *tbuffer, guint n_bytes, const guint8 *bytes); extern GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer); extern void g_test_log_msg_free (GTestLogMsg *tmsg); # 381 "/usr/include/glib-2.0/glib/gtestutils.h" typedef gboolean (*GTestLogFatalFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data); extern void g_test_log_set_fatal_handler (GTestLogFatalFunc log_func, gpointer user_data); extern void g_test_expect_message (const gchar *log_domain, GLogLevelFlags log_level, const gchar *pattern); extern void g_test_assert_expected_messages_internal (const char *domain, const char *file, int line, const char *func); typedef enum { G_TEST_DIST, G_TEST_BUILT } GTestFileType; extern gchar * g_test_build_filename (GTestFileType file_type, const gchar *first_path, ...) __attribute__((__sentinel__)); extern const gchar *g_test_get_dir (GTestFileType file_type); extern const gchar *g_test_get_filename (GTestFileType file_type, const gchar *first_path, ...) __attribute__((__sentinel__)); # 83 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1 # 34 "/usr/include/glib-2.0/glib/gthreadpool.h" typedef struct _GThreadPool GThreadPool; struct _GThreadPool { GFunc func; gpointer user_data; gboolean exclusive; }; extern GThreadPool * g_thread_pool_new (GFunc func, gpointer user_data, gint max_threads, gboolean exclusive, GError **error); extern void g_thread_pool_free (GThreadPool *pool, gboolean immediate, gboolean wait_); extern gboolean g_thread_pool_push (GThreadPool *pool, gpointer data, GError **error); extern guint g_thread_pool_unprocessed (GThreadPool *pool); extern void g_thread_pool_set_sort_function (GThreadPool *pool, GCompareDataFunc func, gpointer user_data); extern gboolean g_thread_pool_set_max_threads (GThreadPool *pool, gint max_threads, GError **error); extern gint g_thread_pool_get_max_threads (GThreadPool *pool); extern guint g_thread_pool_get_num_threads (GThreadPool *pool); extern void g_thread_pool_set_max_unused_threads (gint max_threads); extern gint g_thread_pool_get_max_unused_threads (void); extern guint g_thread_pool_get_num_unused_threads (void); extern void g_thread_pool_stop_unused_threads (void); extern void g_thread_pool_set_max_idle_time (guint interval); extern guint g_thread_pool_get_max_idle_time (void); # 85 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtimer.h" 1 # 34 "/usr/include/glib-2.0/glib/gtimer.h" typedef struct _GTimer GTimer; extern GTimer* g_timer_new (void); extern void g_timer_destroy (GTimer *timer); extern void g_timer_start (GTimer *timer); extern void g_timer_stop (GTimer *timer); extern void g_timer_reset (GTimer *timer); extern void g_timer_continue (GTimer *timer); extern gdouble g_timer_elapsed (GTimer *timer, gulong *microseconds); extern void g_usleep (gulong microseconds); extern void g_time_val_add (GTimeVal *time_, glong microseconds); extern gboolean g_time_val_from_iso8601 (const gchar *iso_date, GTimeVal *time_); extern gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__)); # 86 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtrashstack.h" 1 # 34 "/usr/include/glib-2.0/glib/gtrashstack.h" typedef struct _GTrashStack GTrashStack; struct _GTrashStack { GTrashStack *next; }; static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p); static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p); static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p); static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p); static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p) { GTrashStack *data = (GTrashStack *) data_p; data->next = *stack_p; *stack_p = data; } static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p) { GTrashStack *data; data = *stack_p; if (data) { *stack_p = data->next; data->next = ((void *)0); } return data; } static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p) { GTrashStack *data; data = *stack_p; return data; } static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p) { GTrashStack *data; guint i = 0; for (data = *stack_p; data; data = data->next) i++; return i; } # 88 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtree.h" 1 # 34 "/usr/include/glib-2.0/glib/gtree.h" typedef struct _GTree GTree; typedef gboolean (*GTraverseFunc) (gpointer key, gpointer value, gpointer data); extern GTree* g_tree_new (GCompareFunc key_compare_func); extern GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func, gpointer key_compare_data); extern GTree* g_tree_new_full (GCompareDataFunc key_compare_func, gpointer key_compare_data, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); extern GTree* g_tree_ref (GTree *tree); extern void g_tree_unref (GTree *tree); extern void g_tree_destroy (GTree *tree); extern void g_tree_insert (GTree *tree, gpointer key, gpointer value); extern void g_tree_replace (GTree *tree, gpointer key, gpointer value); extern gboolean g_tree_remove (GTree *tree, gconstpointer key); extern gboolean g_tree_steal (GTree *tree, gconstpointer key); extern gpointer g_tree_lookup (GTree *tree, gconstpointer key); extern gboolean g_tree_lookup_extended (GTree *tree, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); extern void g_tree_foreach (GTree *tree, GTraverseFunc func, gpointer user_data); __attribute__((__deprecated__)) extern void g_tree_traverse (GTree *tree, GTraverseFunc traverse_func, GTraverseType traverse_type, gpointer user_data); extern gpointer g_tree_search (GTree *tree, GCompareFunc search_func, gconstpointer user_data); extern gint g_tree_height (GTree *tree); extern gint g_tree_nnodes (GTree *tree); # 89 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gurifuncs.h" 1 # 30 "/usr/include/glib-2.0/glib/gurifuncs.h" # 67 "/usr/include/glib-2.0/glib/gurifuncs.h" extern char * g_uri_unescape_string (const char *escaped_string, const char *illegal_characters); extern char * g_uri_unescape_segment (const char *escaped_string, const char *escaped_string_end, const char *illegal_characters); extern char * g_uri_parse_scheme (const char *uri); extern char * g_uri_escape_string (const char *unescaped, const char *reserved_chars_allowed, gboolean allow_utf8); # 92 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1 # 31 "/usr/include/glib-2.0/glib/gvarianttype.h" # 42 "/usr/include/glib-2.0/glib/gvarianttype.h" typedef struct _GVariantType GVariantType; # 295 "/usr/include/glib-2.0/glib/gvarianttype.h" extern gboolean g_variant_type_string_is_valid (const gchar *type_string); extern gboolean g_variant_type_string_scan (const gchar *string, const gchar *limit, const gchar **endptr); extern void g_variant_type_free (GVariantType *type); extern GVariantType * g_variant_type_copy (const GVariantType *type); extern GVariantType * g_variant_type_new (const gchar *type_string); extern gsize g_variant_type_get_string_length (const GVariantType *type); extern const gchar * g_variant_type_peek_string (const GVariantType *type); extern gchar * g_variant_type_dup_string (const GVariantType *type); extern gboolean g_variant_type_is_definite (const GVariantType *type); extern gboolean g_variant_type_is_container (const GVariantType *type); extern gboolean g_variant_type_is_basic (const GVariantType *type); extern gboolean g_variant_type_is_maybe (const GVariantType *type); extern gboolean g_variant_type_is_array (const GVariantType *type); extern gboolean g_variant_type_is_tuple (const GVariantType *type); extern gboolean g_variant_type_is_dict_entry (const GVariantType *type); extern gboolean g_variant_type_is_variant (const GVariantType *type); extern guint g_variant_type_hash (gconstpointer type); extern gboolean g_variant_type_equal (gconstpointer type1, gconstpointer type2); extern gboolean g_variant_type_is_subtype_of (const GVariantType *type, const GVariantType *supertype); extern const GVariantType * g_variant_type_element (const GVariantType *type); extern const GVariantType * g_variant_type_first (const GVariantType *type); extern const GVariantType * g_variant_type_next (const GVariantType *type); extern gsize g_variant_type_n_items (const GVariantType *type); extern const GVariantType * g_variant_type_key (const GVariantType *type); extern const GVariantType * g_variant_type_value (const GVariantType *type); extern GVariantType * g_variant_type_new_array (const GVariantType *element); extern GVariantType * g_variant_type_new_maybe (const GVariantType *element); extern GVariantType * g_variant_type_new_tuple (const GVariantType * const *items, gint length); extern GVariantType * g_variant_type_new_dict_entry (const GVariantType *key, const GVariantType *value); extern const GVariantType * g_variant_type_checked_ (const gchar *); # 94 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gvariant.h" 1 # 32 "/usr/include/glib-2.0/glib/gvariant.h" typedef struct _GVariant GVariant; typedef enum { G_VARIANT_CLASS_BOOLEAN = 'b', G_VARIANT_CLASS_BYTE = 'y', G_VARIANT_CLASS_INT16 = 'n', G_VARIANT_CLASS_UINT16 = 'q', G_VARIANT_CLASS_INT32 = 'i', G_VARIANT_CLASS_UINT32 = 'u', G_VARIANT_CLASS_INT64 = 'x', G_VARIANT_CLASS_UINT64 = 't', G_VARIANT_CLASS_HANDLE = 'h', G_VARIANT_CLASS_DOUBLE = 'd', G_VARIANT_CLASS_STRING = 's', G_VARIANT_CLASS_OBJECT_PATH = 'o', G_VARIANT_CLASS_SIGNATURE = 'g', G_VARIANT_CLASS_VARIANT = 'v', G_VARIANT_CLASS_MAYBE = 'm', G_VARIANT_CLASS_ARRAY = 'a', G_VARIANT_CLASS_TUPLE = '(', G_VARIANT_CLASS_DICT_ENTRY = '{' } GVariantClass; extern void g_variant_unref (GVariant *value); extern GVariant * g_variant_ref (GVariant *value); extern GVariant * g_variant_ref_sink (GVariant *value); extern gboolean g_variant_is_floating (GVariant *value); extern GVariant * g_variant_take_ref (GVariant *value); extern const GVariantType * g_variant_get_type (GVariant *value); extern const gchar * g_variant_get_type_string (GVariant *value); extern gboolean g_variant_is_of_type (GVariant *value, const GVariantType *type); extern gboolean g_variant_is_container (GVariant *value); extern GVariantClass g_variant_classify (GVariant *value); extern GVariant * g_variant_new_boolean (gboolean value); extern GVariant * g_variant_new_byte (guchar value); extern GVariant * g_variant_new_int16 (gint16 value); extern GVariant * g_variant_new_uint16 (guint16 value); extern GVariant * g_variant_new_int32 (gint32 value); extern GVariant * g_variant_new_uint32 (guint32 value); extern GVariant * g_variant_new_int64 (gint64 value); extern GVariant * g_variant_new_uint64 (guint64 value); extern GVariant * g_variant_new_handle (gint32 value); extern GVariant * g_variant_new_double (gdouble value); extern GVariant * g_variant_new_string (const gchar *string); extern GVariant * g_variant_new_take_string (gchar *string); extern GVariant * g_variant_new_printf (const gchar *format_string, ...) __attribute__((__format__ (__printf__, 1, 2))); extern GVariant * g_variant_new_object_path (const gchar *object_path); extern gboolean g_variant_is_object_path (const gchar *string); extern GVariant * g_variant_new_signature (const gchar *signature); extern gboolean g_variant_is_signature (const gchar *string); extern GVariant * g_variant_new_variant (GVariant *value); extern GVariant * g_variant_new_strv (const gchar * const *strv, gssize length); extern GVariant * g_variant_new_objv (const gchar * const *strv, gssize length); extern GVariant * g_variant_new_bytestring (const gchar *string); extern GVariant * g_variant_new_bytestring_array (const gchar * const *strv, gssize length); extern GVariant * g_variant_new_fixed_array (const GVariantType *element_type, gconstpointer elements, gsize n_elements, gsize element_size); extern gboolean g_variant_get_boolean (GVariant *value); extern guchar g_variant_get_byte (GVariant *value); extern gint16 g_variant_get_int16 (GVariant *value); extern guint16 g_variant_get_uint16 (GVariant *value); extern gint32 g_variant_get_int32 (GVariant *value); extern guint32 g_variant_get_uint32 (GVariant *value); extern gint64 g_variant_get_int64 (GVariant *value); extern guint64 g_variant_get_uint64 (GVariant *value); extern gint32 g_variant_get_handle (GVariant *value); extern gdouble g_variant_get_double (GVariant *value); extern GVariant * g_variant_get_variant (GVariant *value); extern const gchar * g_variant_get_string (GVariant *value, gsize *length); extern gchar * g_variant_dup_string (GVariant *value, gsize *length); extern const gchar ** g_variant_get_strv (GVariant *value, gsize *length); extern gchar ** g_variant_dup_strv (GVariant *value, gsize *length); extern const gchar ** g_variant_get_objv (GVariant *value, gsize *length); extern gchar ** g_variant_dup_objv (GVariant *value, gsize *length); extern const gchar * g_variant_get_bytestring (GVariant *value); extern gchar * g_variant_dup_bytestring (GVariant *value, gsize *length); extern const gchar ** g_variant_get_bytestring_array (GVariant *value, gsize *length); extern gchar ** g_variant_dup_bytestring_array (GVariant *value, gsize *length); extern GVariant * g_variant_new_maybe (const GVariantType *child_type, GVariant *child); extern GVariant * g_variant_new_array (const GVariantType *child_type, GVariant * const *children, gsize n_children); extern GVariant * g_variant_new_tuple (GVariant * const *children, gsize n_children); extern GVariant * g_variant_new_dict_entry (GVariant *key, GVariant *value); extern GVariant * g_variant_get_maybe (GVariant *value); extern gsize g_variant_n_children (GVariant *value); extern void g_variant_get_child (GVariant *value, gsize index_, const gchar *format_string, ...); extern GVariant * g_variant_get_child_value (GVariant *value, gsize index_); extern gboolean g_variant_lookup (GVariant *dictionary, const gchar *key, const gchar *format_string, ...); extern GVariant * g_variant_lookup_value (GVariant *dictionary, const gchar *key, const GVariantType *expected_type); extern gconstpointer g_variant_get_fixed_array (GVariant *value, gsize *n_elements, gsize element_size); extern gsize g_variant_get_size (GVariant *value); extern gconstpointer g_variant_get_data (GVariant *value); extern GBytes * g_variant_get_data_as_bytes (GVariant *value); extern void g_variant_store (GVariant *value, gpointer data); extern gchar * g_variant_print (GVariant *value, gboolean type_annotate); extern GString * g_variant_print_string (GVariant *value, GString *string, gboolean type_annotate); extern guint g_variant_hash (gconstpointer value); extern gboolean g_variant_equal (gconstpointer one, gconstpointer two); extern GVariant * g_variant_get_normal_form (GVariant *value); extern gboolean g_variant_is_normal_form (GVariant *value); extern GVariant * g_variant_byteswap (GVariant *value); extern GVariant * g_variant_new_from_bytes (const GVariantType *type, GBytes *bytes, gboolean trusted); extern GVariant * g_variant_new_from_data (const GVariantType *type, gconstpointer data, gsize size, gboolean trusted, GDestroyNotify notify, gpointer user_data); typedef struct _GVariantIter GVariantIter; struct _GVariantIter { gsize x[16]; }; extern GVariantIter * g_variant_iter_new (GVariant *value); extern gsize g_variant_iter_init (GVariantIter *iter, GVariant *value); extern GVariantIter * g_variant_iter_copy (GVariantIter *iter); extern gsize g_variant_iter_n_children (GVariantIter *iter); extern void g_variant_iter_free (GVariantIter *iter); extern GVariant * g_variant_iter_next_value (GVariantIter *iter); extern gboolean g_variant_iter_next (GVariantIter *iter, const gchar *format_string, ...); extern gboolean g_variant_iter_loop (GVariantIter *iter, const gchar *format_string, ...); typedef struct _GVariantBuilder GVariantBuilder; struct _GVariantBuilder { gsize x[16]; }; typedef enum { G_VARIANT_PARSE_ERROR_FAILED, G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED, G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE, G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED, G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END, G_VARIANT_PARSE_ERROR_INVALID_CHARACTER, G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING, G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH, G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE, G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING, G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE, G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE, G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG, G_VARIANT_PARSE_ERROR_TYPE_ERROR, G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN, G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD, G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT, G_VARIANT_PARSE_ERROR_VALUE_EXPECTED } GVariantParseError; __attribute__((__deprecated__("Use '" "g_variant_parse_error_quark" "' instead"))) extern GQuark g_variant_parser_get_error_quark (void); extern GQuark g_variant_parse_error_quark (void); extern GVariantBuilder * g_variant_builder_new (const GVariantType *type); extern void g_variant_builder_unref (GVariantBuilder *builder); extern GVariantBuilder * g_variant_builder_ref (GVariantBuilder *builder); extern void g_variant_builder_init (GVariantBuilder *builder, const GVariantType *type); extern GVariant * g_variant_builder_end (GVariantBuilder *builder); extern void g_variant_builder_clear (GVariantBuilder *builder); extern void g_variant_builder_open (GVariantBuilder *builder, const GVariantType *type); extern void g_variant_builder_close (GVariantBuilder *builder); extern void g_variant_builder_add_value (GVariantBuilder *builder, GVariant *value); extern void g_variant_builder_add (GVariantBuilder *builder, const gchar *format_string, ...); extern void g_variant_builder_add_parsed (GVariantBuilder *builder, const gchar *format, ...); extern GVariant * g_variant_new (const gchar *format_string, ...); extern void g_variant_get (GVariant *value, const gchar *format_string, ...); extern GVariant * g_variant_new_va (const gchar *format_string, const gchar **endptr, va_list *app); extern void g_variant_get_va (GVariant *value, const gchar *format_string, const gchar **endptr, va_list *app); extern gboolean g_variant_check_format_string (GVariant *value, const gchar *format_string, gboolean copy_only); extern GVariant * g_variant_parse (const GVariantType *type, const gchar *text, const gchar *limit, const gchar **endptr, GError **error); extern GVariant * g_variant_new_parsed (const gchar *format, ...); extern GVariant * g_variant_new_parsed_va (const gchar *format, va_list *app); extern gchar * g_variant_parse_error_print_context (GError *error, const gchar *source_str); extern gint g_variant_compare (gconstpointer one, gconstpointer two); typedef struct _GVariantDict GVariantDict; struct _GVariantDict { gsize x[16]; }; extern GVariantDict * g_variant_dict_new (GVariant *from_asv); extern void g_variant_dict_init (GVariantDict *dict, GVariant *from_asv); extern gboolean g_variant_dict_lookup (GVariantDict *dict, const gchar *key, const gchar *format_string, ...); extern GVariant * g_variant_dict_lookup_value (GVariantDict *dict, const gchar *key, const GVariantType *expected_type); extern gboolean g_variant_dict_contains (GVariantDict *dict, const gchar *key); extern void g_variant_dict_insert (GVariantDict *dict, const gchar *key, const gchar *format_string, ...); extern void g_variant_dict_insert_value (GVariantDict *dict, const gchar *key, GVariant *value); extern gboolean g_variant_dict_remove (GVariantDict *dict, const gchar *key); extern void g_variant_dict_clear (GVariantDict *dict); extern GVariant * g_variant_dict_end (GVariantDict *dict); extern GVariantDict * g_variant_dict_ref (GVariantDict *dict); extern void g_variant_dict_unref (GVariantDict *dict); # 95 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gversion.h" 1 # 34 "/usr/include/glib-2.0/glib/gversion.h" extern const guint glib_major_version; extern const guint glib_minor_version; extern const guint glib_micro_version; extern const guint glib_interface_age; extern const guint glib_binary_age; extern const gchar * glib_check_version (guint required_major, guint required_minor, guint required_micro); # 96 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gallocator.h" 1 # 25 "/usr/include/glib-2.0/glib/deprecated/gallocator.h" typedef struct _GAllocator GAllocator; typedef struct _GMemChunk GMemChunk; # 42 "/usr/include/glib-2.0/glib/deprecated/gallocator.h" __attribute__((__deprecated__)) extern GMemChunk * g_mem_chunk_new (const gchar *name, gint atom_size, gsize area_size, gint type); __attribute__((__deprecated__)) extern void g_mem_chunk_destroy (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_free (GMemChunk *mem_chunk, gpointer mem); __attribute__((__deprecated__)) extern void g_mem_chunk_clean (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_reset (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_print (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_info (void); __attribute__((__deprecated__)) extern void g_blow_chunks (void); __attribute__((__deprecated__)) extern GAllocator * g_allocator_new (const gchar *name, guint n_preallocs); __attribute__((__deprecated__)) extern void g_allocator_free (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_list_push_allocator (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_list_pop_allocator (void); __attribute__((__deprecated__)) extern void g_slist_push_allocator (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_slist_pop_allocator (void); __attribute__((__deprecated__)) extern void g_node_push_allocator (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_node_pop_allocator (void); # 103 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gcache.h" 1 # 34 "/usr/include/glib-2.0/glib/deprecated/gcache.h" typedef struct _GCache GCache; typedef gpointer (*GCacheNewFunc) (gpointer key); typedef gpointer (*GCacheDupFunc) (gpointer value); typedef void (*GCacheDestroyFunc) (gpointer value); __attribute__((__deprecated__)) extern GCache* g_cache_new (GCacheNewFunc value_new_func, GCacheDestroyFunc value_destroy_func, GCacheDupFunc key_dup_func, GCacheDestroyFunc key_destroy_func, GHashFunc hash_key_func, GHashFunc hash_value_func, GEqualFunc key_equal_func); __attribute__((__deprecated__)) extern void g_cache_destroy (GCache *cache); __attribute__((__deprecated__)) extern gpointer g_cache_insert (GCache *cache, gpointer key); __attribute__((__deprecated__)) extern void g_cache_remove (GCache *cache, gconstpointer value); __attribute__((__deprecated__)) extern void g_cache_key_foreach (GCache *cache, GHFunc func, gpointer user_data); __attribute__((__deprecated__)) extern void g_cache_value_foreach (GCache *cache, GHFunc func, gpointer user_data); # 104 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gcompletion.h" 1 # 34 "/usr/include/glib-2.0/glib/deprecated/gcompletion.h" typedef struct _GCompletion GCompletion; typedef gchar* (*GCompletionFunc) (gpointer); typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, const gchar *s2, gsize n); struct _GCompletion { GList* items; GCompletionFunc func; gchar* prefix; GList* cache; GCompletionStrncmpFunc strncmp_func; }; __attribute__((__deprecated__)) extern GCompletion* g_completion_new (GCompletionFunc func); __attribute__((__deprecated__)) extern void g_completion_add_items (GCompletion* cmp, GList* items); __attribute__((__deprecated__)) extern void g_completion_remove_items (GCompletion* cmp, GList* items); __attribute__((__deprecated__)) extern void g_completion_clear_items (GCompletion* cmp); __attribute__((__deprecated__)) extern GList* g_completion_complete (GCompletion* cmp, const gchar* prefix, gchar** new_prefix); __attribute__((__deprecated__)) extern GList* g_completion_complete_utf8 (GCompletion *cmp, const gchar* prefix, gchar** new_prefix); __attribute__((__deprecated__)) extern void g_completion_set_compare (GCompletion *cmp, GCompletionStrncmpFunc strncmp_func); __attribute__((__deprecated__)) extern void g_completion_free (GCompletion* cmp); # 105 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gmain.h" 1 # 34 "/usr/include/glib-2.0/glib/deprecated/gmain.h" # 137 "/usr/include/glib-2.0/glib/deprecated/gmain.h" # 106 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/grel.h" 1 # 34 "/usr/include/glib-2.0/glib/deprecated/grel.h" typedef struct _GRelation GRelation; typedef struct _GTuples GTuples; struct _GTuples { guint len; }; # 67 "/usr/include/glib-2.0/glib/deprecated/grel.h" __attribute__((__deprecated__)) extern GRelation* g_relation_new (gint fields); __attribute__((__deprecated__)) extern void g_relation_destroy (GRelation *relation); __attribute__((__deprecated__)) extern void g_relation_index (GRelation *relation, gint field, GHashFunc hash_func, GEqualFunc key_equal_func); __attribute__((__deprecated__)) extern void g_relation_insert (GRelation *relation, ...); __attribute__((__deprecated__)) extern gint g_relation_delete (GRelation *relation, gconstpointer key, gint field); __attribute__((__deprecated__)) extern GTuples* g_relation_select (GRelation *relation, gconstpointer key, gint field); __attribute__((__deprecated__)) extern gint g_relation_count (GRelation *relation, gconstpointer key, gint field); __attribute__((__deprecated__)) extern gboolean g_relation_exists (GRelation *relation, ...); __attribute__((__deprecated__)) extern void g_relation_print (GRelation *relation); __attribute__((__deprecated__)) extern void g_tuples_destroy (GTuples *tuples); __attribute__((__deprecated__)) extern gpointer g_tuples_index (GTuples *tuples, gint index_, gint field); # 107 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gthread.h" 1 # 34 "/usr/include/glib-2.0/glib/deprecated/gthread.h" typedef enum { G_THREAD_PRIORITY_LOW, G_THREAD_PRIORITY_NORMAL, G_THREAD_PRIORITY_HIGH, G_THREAD_PRIORITY_URGENT } GThreadPriority; struct _GThread { GThreadFunc func; gpointer data; gboolean joinable; GThreadPriority priority; }; typedef struct _GThreadFunctions GThreadFunctions; struct _GThreadFunctions { GMutex* (*mutex_new) (void); void (*mutex_lock) (GMutex *mutex); gboolean (*mutex_trylock) (GMutex *mutex); void (*mutex_unlock) (GMutex *mutex); void (*mutex_free) (GMutex *mutex); GCond* (*cond_new) (void); void (*cond_signal) (GCond *cond); void (*cond_broadcast) (GCond *cond); void (*cond_wait) (GCond *cond, GMutex *mutex); gboolean (*cond_timed_wait) (GCond *cond, GMutex *mutex, GTimeVal *end_time); void (*cond_free) (GCond *cond); GPrivate* (*private_new) (GDestroyNotify destructor); gpointer (*private_get) (GPrivate *private_key); void (*private_set) (GPrivate *private_key, gpointer data); void (*thread_create) (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, gpointer thread, GError **error); void (*thread_yield) (void); void (*thread_join) (gpointer thread); void (*thread_exit) (void); void (*thread_set_priority)(gpointer thread, GThreadPriority priority); void (*thread_self) (gpointer thread); gboolean (*thread_equal) (gpointer thread1, gpointer thread2); }; extern GThreadFunctions g_thread_functions_for_glib_use; extern gboolean g_thread_use_default_impl; extern guint64 (*g_thread_gettime) (void); __attribute__((__deprecated__("Use '" "g_thread_new" "' instead"))) extern GThread *g_thread_create (GThreadFunc func, gpointer data, gboolean joinable, GError **error); __attribute__((__deprecated__("Use '" "g_thread_new" "' instead"))) extern GThread *g_thread_create_full (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, GError **error); __attribute__((__deprecated__)) extern void g_thread_set_priority (GThread *thread, GThreadPriority priority); __attribute__((__deprecated__)) extern void g_thread_foreach (GFunc thread_func, gpointer user_data); # 1 "/usr/include/pthread.h" 1 3 4 # 25 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/sched.h" 1 3 4 # 30 "/usr/include/sched.h" 3 4 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 31 "/usr/include/sched.h" 2 3 4 # 43 "/usr/include/sched.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 1 3 4 # 74 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) __attribute__ ((__nothrow__)); extern int unshare (int __flags) __attribute__ ((__nothrow__)); extern int sched_getcpu (void) __attribute__ ((__nothrow__)); struct __sched_param { int __sched_priority; }; # 116 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 199 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 3 4 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__)); # 44 "/usr/include/sched.h" 2 3 4 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_setscheduler (__pid_t __pid, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__)); extern int sched_yield (void) __attribute__ ((__nothrow__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__)); # 118 "/usr/include/sched.h" 3 4 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); # 26 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/setjmp.h" 1 3 4 # 35 "/usr/include/arm-linux-gnueabihf/bits/setjmp.h" 3 4 typedef int __jmp_buf[64] __attribute__((__aligned__ (8))); # 30 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 # 31 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 115 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 147 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 182 "/usr/include/pthread.h" 3 4 struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 220 "/usr/include/pthread.h" 3 4 extern int pthread_create (pthread_t *__restrict __newthread, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__)); extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, __const struct timespec *__abstime); extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, __const struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, size_t __cpusetsize, __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr, size_t __cpusetsize, cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int pthread_setschedparam (pthread_t __target_thread, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__)); extern int pthread_getname_np (pthread_t __target_thread, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int pthread_setname_np (pthread_t __target_thread, __const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__)); extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__)); extern int pthread_yield (void) __attribute__ ((__nothrow__)); extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, cpu_set_t *__cpuset) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); # 478 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 490 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 524 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 664 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) ; # 676 "/usr/include/pthread.h" 3 4 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) ; # 699 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf) ; # 712 "/usr/include/pthread.h" 3 4 extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf) ; extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute__ ((__noreturn__)) __attribute__ ((__weak__)) ; struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutexattr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (__const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 790 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (__const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 872 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, __const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, __const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 984 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (__const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (__const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 1028 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, __const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 1095 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__)); extern int pthread_setspecific (pthread_key_t __key, __const void *__pointer) __attribute__ ((__nothrow__)) ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 1129 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__)); extern __inline int __attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) { return __thread1 == __thread2; } # 125 "/usr/include/glib-2.0/glib/deprecated/gthread.h" 2 typedef struct { GMutex *mutex; pthread_mutex_t unused; } GStaticMutex; # 145 "/usr/include/glib-2.0/glib/deprecated/gthread.h" __attribute__((__deprecated__("Use '" "g_mutex_init" "' instead"))) extern void g_static_mutex_init (GStaticMutex *mutex); __attribute__((__deprecated__("Use '" "g_mutex_clear" "' instead"))) extern void g_static_mutex_free (GStaticMutex *mutex); __attribute__((__deprecated__("Use '" "GMutex" "' instead"))) extern GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); typedef struct _GStaticRecMutex GStaticRecMutex; struct _GStaticRecMutex { GStaticMutex mutex; guint depth; union { pthread_t owner; gdouble dummy; } unused; }; __attribute__((__deprecated__("Use '" "g_rec_mutex_init" "' instead"))) extern void g_static_rec_mutex_init (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_lock" "' instead"))) extern void g_static_rec_mutex_lock (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_try_lock" "' instead"))) extern gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_unlock" "' instead"))) extern void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); __attribute__((__deprecated__)) extern void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, guint depth); __attribute__((__deprecated__)) extern guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_free" "' instead"))) extern void g_static_rec_mutex_free (GStaticRecMutex *mutex); typedef struct _GStaticRWLock GStaticRWLock; struct _GStaticRWLock { GStaticMutex mutex; GCond *read_cond; GCond *write_cond; guint read_counter; gboolean have_writer; guint want_to_read; guint want_to_write; }; __attribute__((__deprecated__("Use '" "g_rw_lock_init" "' instead"))) extern void g_static_rw_lock_init (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_reader_lock" "' instead"))) extern void g_static_rw_lock_reader_lock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_reader_trylock" "' instead"))) extern gboolean g_static_rw_lock_reader_trylock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_reader_unlock" "' instead"))) extern void g_static_rw_lock_reader_unlock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_writer_lock" "' instead"))) extern void g_static_rw_lock_writer_lock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_writer_trylock" "' instead"))) extern gboolean g_static_rw_lock_writer_trylock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_writer_unlock" "' instead"))) extern void g_static_rw_lock_writer_unlock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_free" "' instead"))) extern void g_static_rw_lock_free (GStaticRWLock *lock); __attribute__((__deprecated__)) extern GPrivate * g_private_new (GDestroyNotify notify); typedef struct _GStaticPrivate GStaticPrivate; struct _GStaticPrivate { guint index; }; __attribute__((__deprecated__)) extern void g_static_private_init (GStaticPrivate *private_key); __attribute__((__deprecated__("Use '" "g_private_get" "' instead"))) extern gpointer g_static_private_get (GStaticPrivate *private_key); __attribute__((__deprecated__("Use '" "g_private_set" "' instead"))) extern void g_static_private_set (GStaticPrivate *private_key, gpointer data, GDestroyNotify notify); __attribute__((__deprecated__)) extern void g_static_private_free (GStaticPrivate *private_key); __attribute__((__deprecated__)) extern gboolean g_once_init_enter_impl (volatile gsize *location); __attribute__((__deprecated__)) extern void g_thread_init (gpointer vtable); __attribute__((__deprecated__)) extern void g_thread_init_with_errorcheck_mutexes (gpointer vtable); __attribute__((__deprecated__)) extern gboolean g_thread_get_initialized (void); extern gboolean g_threads_got_initialized; __attribute__((__deprecated__)) extern GMutex * g_mutex_new (void); __attribute__((__deprecated__)) extern void g_mutex_free (GMutex *mutex); __attribute__((__deprecated__)) extern GCond * g_cond_new (void); __attribute__((__deprecated__)) extern void g_cond_free (GCond *cond); __attribute__((__deprecated__)) extern gboolean g_cond_timed_wait (GCond *cond, GMutex *mutex, GTimeVal *timeval); # 108 "/usr/include/glib-2.0/glib.h" 2 # 20 "/home/pi/Загрузки/qemu-2.3.1/include/glib-compat.h" 2 # 44 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/option.h" 1 # 30 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/option.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/queue.h" 1 # 81 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/queue.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/atomic.h" 1 # 16 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/atomic.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/compiler.h" 1 # 17 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/atomic.h" 2 # 82 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/queue.h" 2 # 31 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/option.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/error.h" 1 # 16 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/error.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/qapi-types.h" 1 # 27 "/home/pi/Загрузки/qemu-2.3.1/qapi-types.h" typedef struct strList { union { char *value; uint64_t padding; }; struct strList *next; } strList; typedef struct intList { union { int64_t value; uint64_t padding; }; struct intList *next; } intList; typedef struct numberList { union { double value; uint64_t padding; }; struct numberList *next; } numberList; typedef struct boolList { union { _Bool value; uint64_t padding; }; struct boolList *next; } boolList; typedef struct int8List { union { int8_t value; uint64_t padding; }; struct int8List *next; } int8List; typedef struct int16List { union { int16_t value; uint64_t padding; }; struct int16List *next; } int16List; typedef struct int32List { union { int32_t value; uint64_t padding; }; struct int32List *next; } int32List; typedef struct int64List { union { int64_t value; uint64_t padding; }; struct int64List *next; } int64List; typedef struct uint8List { union { uint8_t value; uint64_t padding; }; struct uint8List *next; } uint8List; typedef struct uint16List { union { uint16_t value; uint64_t padding; }; struct uint16List *next; } uint16List; typedef struct uint32List { union { uint32_t value; uint64_t padding; }; struct uint32List *next; } uint32List; typedef struct uint64List { union { uint64_t value; uint64_t padding; }; struct uint64List *next; } uint64List; extern const char *ErrorClass_lookup[]; typedef enum ErrorClass { ERROR_CLASS_GENERIC_ERROR = 0, ERROR_CLASS_COMMAND_NOT_FOUND = 1, ERROR_CLASS_DEVICE_ENCRYPTED = 2, ERROR_CLASS_DEVICE_NOT_ACTIVE = 3, ERROR_CLASS_DEVICE_NOT_FOUND = 4, ERROR_CLASS_KVM_MISSING_CAP = 5, ERROR_CLASS_MAX = 6, } ErrorClass; typedef struct ErrorClassList { union { ErrorClass value; uint64_t padding; }; struct ErrorClassList *next; } ErrorClassList; typedef struct VersionInfo VersionInfo; typedef struct VersionInfoList { union { VersionInfo *value; uint64_t padding; }; struct VersionInfoList *next; } VersionInfoList; typedef struct CommandInfo CommandInfo; typedef struct CommandInfoList { union { CommandInfo *value; uint64_t padding; }; struct CommandInfoList *next; } CommandInfoList; extern const char *OnOffAuto_lookup[]; typedef enum OnOffAuto { ON_OFF_AUTO_AUTO = 0, ON_OFF_AUTO_ON = 1, ON_OFF_AUTO_OFF = 2, ON_OFF_AUTO_MAX = 3, } OnOffAuto; typedef struct OnOffAutoList { union { OnOffAuto value; uint64_t padding; }; struct OnOffAutoList *next; } OnOffAutoList; typedef struct SnapshotInfo SnapshotInfo; typedef struct SnapshotInfoList { union { SnapshotInfo *value; uint64_t padding; }; struct SnapshotInfoList *next; } SnapshotInfoList; typedef struct ImageInfoSpecificQCow2 ImageInfoSpecificQCow2; typedef struct ImageInfoSpecificQCow2List { union { ImageInfoSpecificQCow2 *value; uint64_t padding; }; struct ImageInfoSpecificQCow2List *next; } ImageInfoSpecificQCow2List; typedef struct ImageInfoSpecificVmdk ImageInfoSpecificVmdk; typedef struct ImageInfoSpecificVmdkList { union { ImageInfoSpecificVmdk *value; uint64_t padding; }; struct ImageInfoSpecificVmdkList *next; } ImageInfoSpecificVmdkList; typedef struct ImageInfoSpecific ImageInfoSpecific; typedef struct ImageInfoSpecificList { union { ImageInfoSpecific *value; uint64_t padding; }; struct ImageInfoSpecificList *next; } ImageInfoSpecificList; extern const char *ImageInfoSpecificKind_lookup[]; typedef enum ImageInfoSpecificKind { IMAGE_INFO_SPECIFIC_KIND_QCOW2 = 0, IMAGE_INFO_SPECIFIC_KIND_VMDK = 1, IMAGE_INFO_SPECIFIC_KIND_MAX = 2, } ImageInfoSpecificKind; typedef struct ImageInfo ImageInfo; typedef struct ImageInfoList { union { ImageInfo *value; uint64_t padding; }; struct ImageInfoList *next; } ImageInfoList; typedef struct ImageCheck ImageCheck; typedef struct ImageCheckList { union { ImageCheck *value; uint64_t padding; }; struct ImageCheckList *next; } ImageCheckList; typedef struct BlockdevCacheInfo BlockdevCacheInfo; typedef struct BlockdevCacheInfoList { union { BlockdevCacheInfo *value; uint64_t padding; }; struct BlockdevCacheInfoList *next; } BlockdevCacheInfoList; typedef struct BlockDeviceInfo BlockDeviceInfo; typedef struct BlockDeviceInfoList { union { BlockDeviceInfo *value; uint64_t padding; }; struct BlockDeviceInfoList *next; } BlockDeviceInfoList; extern const char *BlockDeviceIoStatus_lookup[]; typedef enum BlockDeviceIoStatus { BLOCK_DEVICE_IO_STATUS_OK = 0, BLOCK_DEVICE_IO_STATUS_FAILED = 1, BLOCK_DEVICE_IO_STATUS_NOSPACE = 2, BLOCK_DEVICE_IO_STATUS_MAX = 3, } BlockDeviceIoStatus; typedef struct BlockDeviceIoStatusList { union { BlockDeviceIoStatus value; uint64_t padding; }; struct BlockDeviceIoStatusList *next; } BlockDeviceIoStatusList; typedef struct BlockDeviceMapEntry BlockDeviceMapEntry; typedef struct BlockDeviceMapEntryList { union { BlockDeviceMapEntry *value; uint64_t padding; }; struct BlockDeviceMapEntryList *next; } BlockDeviceMapEntryList; typedef struct BlockDirtyInfo BlockDirtyInfo; typedef struct BlockDirtyInfoList { union { BlockDirtyInfo *value; uint64_t padding; }; struct BlockDirtyInfoList *next; } BlockDirtyInfoList; typedef struct BlockInfo BlockInfo; typedef struct BlockInfoList { union { BlockInfo *value; uint64_t padding; }; struct BlockInfoList *next; } BlockInfoList; typedef struct BlockDeviceStats BlockDeviceStats; typedef struct BlockDeviceStatsList { union { BlockDeviceStats *value; uint64_t padding; }; struct BlockDeviceStatsList *next; } BlockDeviceStatsList; typedef struct BlockStats BlockStats; typedef struct BlockStatsList { union { BlockStats *value; uint64_t padding; }; struct BlockStatsList *next; } BlockStatsList; extern const char *BlockdevOnError_lookup[]; typedef enum BlockdevOnError { BLOCKDEV_ON_ERROR_REPORT = 0, BLOCKDEV_ON_ERROR_IGNORE = 1, BLOCKDEV_ON_ERROR_ENOSPC = 2, BLOCKDEV_ON_ERROR_STOP = 3, BLOCKDEV_ON_ERROR_MAX = 4, } BlockdevOnError; typedef struct BlockdevOnErrorList { union { BlockdevOnError value; uint64_t padding; }; struct BlockdevOnErrorList *next; } BlockdevOnErrorList; extern const char *MirrorSyncMode_lookup[]; typedef enum MirrorSyncMode { MIRROR_SYNC_MODE_TOP = 0, MIRROR_SYNC_MODE_FULL = 1, MIRROR_SYNC_MODE_NONE = 2, MIRROR_SYNC_MODE_MAX = 3, } MirrorSyncMode; typedef struct MirrorSyncModeList { union { MirrorSyncMode value; uint64_t padding; }; struct MirrorSyncModeList *next; } MirrorSyncModeList; extern const char *BlockJobType_lookup[]; typedef enum BlockJobType { BLOCK_JOB_TYPE_COMMIT = 0, BLOCK_JOB_TYPE_STREAM = 1, BLOCK_JOB_TYPE_MIRROR = 2, BLOCK_JOB_TYPE_BACKUP = 3, BLOCK_JOB_TYPE_MAX = 4, } BlockJobType; typedef struct BlockJobTypeList { union { BlockJobType value; uint64_t padding; }; struct BlockJobTypeList *next; } BlockJobTypeList; typedef struct BlockJobInfo BlockJobInfo; typedef struct BlockJobInfoList { union { BlockJobInfo *value; uint64_t padding; }; struct BlockJobInfoList *next; } BlockJobInfoList; extern const char *NewImageMode_lookup[]; typedef enum NewImageMode { NEW_IMAGE_MODE_EXISTING = 0, NEW_IMAGE_MODE_ABSOLUTE_PATHS = 1, NEW_IMAGE_MODE_MAX = 2, } NewImageMode; typedef struct NewImageModeList { union { NewImageMode value; uint64_t padding; }; struct NewImageModeList *next; } NewImageModeList; typedef struct BlockdevSnapshot BlockdevSnapshot; typedef struct BlockdevSnapshotList { union { BlockdevSnapshot *value; uint64_t padding; }; struct BlockdevSnapshotList *next; } BlockdevSnapshotList; typedef struct DriveBackup DriveBackup; typedef struct DriveBackupList { union { DriveBackup *value; uint64_t padding; }; struct DriveBackupList *next; } DriveBackupList; typedef struct BlockdevBackup BlockdevBackup; typedef struct BlockdevBackupList { union { BlockdevBackup *value; uint64_t padding; }; struct BlockdevBackupList *next; } BlockdevBackupList; extern const char *BlockdevDiscardOptions_lookup[]; typedef enum BlockdevDiscardOptions { BLOCKDEV_DISCARD_OPTIONS_IGNORE = 0, BLOCKDEV_DISCARD_OPTIONS_UNMAP = 1, BLOCKDEV_DISCARD_OPTIONS_MAX = 2, } BlockdevDiscardOptions; typedef struct BlockdevDiscardOptionsList { union { BlockdevDiscardOptions value; uint64_t padding; }; struct BlockdevDiscardOptionsList *next; } BlockdevDiscardOptionsList; extern const char *BlockdevDetectZeroesOptions_lookup[]; typedef enum BlockdevDetectZeroesOptions { BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF = 0, BLOCKDEV_DETECT_ZEROES_OPTIONS_ON = 1, BLOCKDEV_DETECT_ZEROES_OPTIONS_UNMAP = 2, BLOCKDEV_DETECT_ZEROES_OPTIONS_MAX = 3, } BlockdevDetectZeroesOptions; typedef struct BlockdevDetectZeroesOptionsList { union { BlockdevDetectZeroesOptions value; uint64_t padding; }; struct BlockdevDetectZeroesOptionsList *next; } BlockdevDetectZeroesOptionsList; extern const char *BlockdevAioOptions_lookup[]; typedef enum BlockdevAioOptions { BLOCKDEV_AIO_OPTIONS_THREADS = 0, BLOCKDEV_AIO_OPTIONS_NATIVE = 1, BLOCKDEV_AIO_OPTIONS_MAX = 2, } BlockdevAioOptions; typedef struct BlockdevAioOptionsList { union { BlockdevAioOptions value; uint64_t padding; }; struct BlockdevAioOptionsList *next; } BlockdevAioOptionsList; typedef struct BlockdevCacheOptions BlockdevCacheOptions; typedef struct BlockdevCacheOptionsList { union { BlockdevCacheOptions *value; uint64_t padding; }; struct BlockdevCacheOptionsList *next; } BlockdevCacheOptionsList; extern const char *BlockdevDriver_lookup[]; typedef enum BlockdevDriver { BLOCKDEV_DRIVER_ARCHIPELAGO = 0, BLOCKDEV_DRIVER_BLKDEBUG = 1, BLOCKDEV_DRIVER_BLKVERIFY = 2, BLOCKDEV_DRIVER_BOCHS = 3, BLOCKDEV_DRIVER_CLOOP = 4, BLOCKDEV_DRIVER_DMG = 5, BLOCKDEV_DRIVER_FILE = 6, BLOCKDEV_DRIVER_FTP = 7, BLOCKDEV_DRIVER_FTPS = 8, BLOCKDEV_DRIVER_HOST_CDROM = 9, BLOCKDEV_DRIVER_HOST_DEVICE = 10, BLOCKDEV_DRIVER_HOST_FLOPPY = 11, BLOCKDEV_DRIVER_HTTP = 12, BLOCKDEV_DRIVER_HTTPS = 13, BLOCKDEV_DRIVER_NULL_AIO = 14, BLOCKDEV_DRIVER_NULL_CO = 15, BLOCKDEV_DRIVER_PARALLELS = 16, BLOCKDEV_DRIVER_QCOW = 17, BLOCKDEV_DRIVER_QCOW2 = 18, BLOCKDEV_DRIVER_QED = 19, BLOCKDEV_DRIVER_QUORUM = 20, BLOCKDEV_DRIVER_RAW = 21, BLOCKDEV_DRIVER_TFTP = 22, BLOCKDEV_DRIVER_VDI = 23, BLOCKDEV_DRIVER_VHDX = 24, BLOCKDEV_DRIVER_VMDK = 25, BLOCKDEV_DRIVER_VPC = 26, BLOCKDEV_DRIVER_VVFAT = 27, BLOCKDEV_DRIVER_MAX = 28, } BlockdevDriver; typedef struct BlockdevDriverList { union { BlockdevDriver value; uint64_t padding; }; struct BlockdevDriverList *next; } BlockdevDriverList; typedef struct BlockdevOptionsBase BlockdevOptionsBase; typedef struct BlockdevOptionsBaseList { union { BlockdevOptionsBase *value; uint64_t padding; }; struct BlockdevOptionsBaseList *next; } BlockdevOptionsBaseList; typedef struct BlockdevOptionsFile BlockdevOptionsFile; typedef struct BlockdevOptionsFileList { union { BlockdevOptionsFile *value; uint64_t padding; }; struct BlockdevOptionsFileList *next; } BlockdevOptionsFileList; typedef struct BlockdevOptionsNull BlockdevOptionsNull; typedef struct BlockdevOptionsNullList { union { BlockdevOptionsNull *value; uint64_t padding; }; struct BlockdevOptionsNullList *next; } BlockdevOptionsNullList; typedef struct BlockdevOptionsVVFAT BlockdevOptionsVVFAT; typedef struct BlockdevOptionsVVFATList { union { BlockdevOptionsVVFAT *value; uint64_t padding; }; struct BlockdevOptionsVVFATList *next; } BlockdevOptionsVVFATList; typedef struct BlockdevOptionsGenericFormat BlockdevOptionsGenericFormat; typedef struct BlockdevOptionsGenericFormatList { union { BlockdevOptionsGenericFormat *value; uint64_t padding; }; struct BlockdevOptionsGenericFormatList *next; } BlockdevOptionsGenericFormatList; typedef struct BlockdevOptionsGenericCOWFormat BlockdevOptionsGenericCOWFormat; typedef struct BlockdevOptionsGenericCOWFormatList { union { BlockdevOptionsGenericCOWFormat *value; uint64_t padding; }; struct BlockdevOptionsGenericCOWFormatList *next; } BlockdevOptionsGenericCOWFormatList; extern const char *Qcow2OverlapCheckMode_lookup[]; typedef enum Qcow2OverlapCheckMode { QCOW2_OVERLAP_CHECK_MODE_NONE = 0, QCOW2_OVERLAP_CHECK_MODE_CONSTANT = 1, QCOW2_OVERLAP_CHECK_MODE_CACHED = 2, QCOW2_OVERLAP_CHECK_MODE_ALL = 3, QCOW2_OVERLAP_CHECK_MODE_MAX = 4, } Qcow2OverlapCheckMode; typedef struct Qcow2OverlapCheckModeList { union { Qcow2OverlapCheckMode value; uint64_t padding; }; struct Qcow2OverlapCheckModeList *next; } Qcow2OverlapCheckModeList; typedef struct Qcow2OverlapCheckFlags Qcow2OverlapCheckFlags; typedef struct Qcow2OverlapCheckFlagsList { union { Qcow2OverlapCheckFlags *value; uint64_t padding; }; struct Qcow2OverlapCheckFlagsList *next; } Qcow2OverlapCheckFlagsList; typedef struct Qcow2OverlapChecks Qcow2OverlapChecks; typedef struct Qcow2OverlapChecksList { union { Qcow2OverlapChecks *value; uint64_t padding; }; struct Qcow2OverlapChecksList *next; } Qcow2OverlapChecksList; extern const char *Qcow2OverlapChecksKind_lookup[]; typedef enum Qcow2OverlapChecksKind { QCOW2_OVERLAP_CHECKS_KIND_FLAGS = 0, QCOW2_OVERLAP_CHECKS_KIND_MODE = 1, QCOW2_OVERLAP_CHECKS_KIND_MAX = 2, } Qcow2OverlapChecksKind; typedef struct BlockdevOptionsQcow2 BlockdevOptionsQcow2; typedef struct BlockdevOptionsQcow2List { union { BlockdevOptionsQcow2 *value; uint64_t padding; }; struct BlockdevOptionsQcow2List *next; } BlockdevOptionsQcow2List; typedef struct BlockdevOptionsArchipelago BlockdevOptionsArchipelago; typedef struct BlockdevOptionsArchipelagoList { union { BlockdevOptionsArchipelago *value; uint64_t padding; }; struct BlockdevOptionsArchipelagoList *next; } BlockdevOptionsArchipelagoList; extern const char *BlkdebugEvent_lookup[]; typedef enum BlkdebugEvent { BLKDEBUG_EVENT_L1_UPDATE = 0, BLKDEBUG_EVENT_L1_GROW_ALLOC_TABLE = 1, BLKDEBUG_EVENT_L1_GROW_WRITE_TABLE = 2, BLKDEBUG_EVENT_L1_GROW_ACTIVATE_TABLE = 3, BLKDEBUG_EVENT_L2_LOAD = 4, BLKDEBUG_EVENT_L2_UPDATE = 5, BLKDEBUG_EVENT_L2_UPDATE_COMPRESSED = 6, BLKDEBUG_EVENT_L2_ALLOC_COW_READ = 7, BLKDEBUG_EVENT_L2_ALLOC_WRITE = 8, BLKDEBUG_EVENT_READ_AIO = 9, BLKDEBUG_EVENT_READ_BACKING_AIO = 10, BLKDEBUG_EVENT_READ_COMPRESSED = 11, BLKDEBUG_EVENT_WRITE_AIO = 12, BLKDEBUG_EVENT_WRITE_COMPRESSED = 13, BLKDEBUG_EVENT_VMSTATE_LOAD = 14, BLKDEBUG_EVENT_VMSTATE_SAVE = 15, BLKDEBUG_EVENT_COW_READ = 16, BLKDEBUG_EVENT_COW_WRITE = 17, BLKDEBUG_EVENT_REFTABLE_LOAD = 18, BLKDEBUG_EVENT_REFTABLE_GROW = 19, BLKDEBUG_EVENT_REFTABLE_UPDATE = 20, BLKDEBUG_EVENT_REFBLOCK_LOAD = 21, BLKDEBUG_EVENT_REFBLOCK_UPDATE = 22, BLKDEBUG_EVENT_REFBLOCK_UPDATE_PART = 23, BLKDEBUG_EVENT_REFBLOCK_ALLOC = 24, BLKDEBUG_EVENT_REFBLOCK_ALLOC_HOOKUP = 25, BLKDEBUG_EVENT_REFBLOCK_ALLOC_WRITE = 26, BLKDEBUG_EVENT_REFBLOCK_ALLOC_WRITE_BLOCKS = 27, BLKDEBUG_EVENT_REFBLOCK_ALLOC_WRITE_TABLE = 28, BLKDEBUG_EVENT_REFBLOCK_ALLOC_SWITCH_TABLE = 29, BLKDEBUG_EVENT_CLUSTER_ALLOC = 30, BLKDEBUG_EVENT_CLUSTER_ALLOC_BYTES = 31, BLKDEBUG_EVENT_CLUSTER_FREE = 32, BLKDEBUG_EVENT_FLUSH_TO_OS = 33, BLKDEBUG_EVENT_FLUSH_TO_DISK = 34, BLKDEBUG_EVENT_PWRITEV_RMW_HEAD = 35, BLKDEBUG_EVENT_PWRITEV_RMW_AFTER_HEAD = 36, BLKDEBUG_EVENT_PWRITEV_RMW_TAIL = 37, BLKDEBUG_EVENT_PWRITEV_RMW_AFTER_TAIL = 38, BLKDEBUG_EVENT_PWRITEV = 39, BLKDEBUG_EVENT_PWRITEV_ZERO = 40, BLKDEBUG_EVENT_PWRITEV_DONE = 41, BLKDEBUG_EVENT_EMPTY_IMAGE_PREPARE = 42, BLKDEBUG_EVENT_MAX = 43, } BlkdebugEvent; typedef struct BlkdebugEventList { union { BlkdebugEvent value; uint64_t padding; }; struct BlkdebugEventList *next; } BlkdebugEventList; typedef struct BlkdebugInjectErrorOptions BlkdebugInjectErrorOptions; typedef struct BlkdebugInjectErrorOptionsList { union { BlkdebugInjectErrorOptions *value; uint64_t padding; }; struct BlkdebugInjectErrorOptionsList *next; } BlkdebugInjectErrorOptionsList; typedef struct BlkdebugSetStateOptions BlkdebugSetStateOptions; typedef struct BlkdebugSetStateOptionsList { union { BlkdebugSetStateOptions *value; uint64_t padding; }; struct BlkdebugSetStateOptionsList *next; } BlkdebugSetStateOptionsList; typedef struct BlockdevOptionsBlkdebug BlockdevOptionsBlkdebug; typedef struct BlockdevOptionsBlkdebugList { union { BlockdevOptionsBlkdebug *value; uint64_t padding; }; struct BlockdevOptionsBlkdebugList *next; } BlockdevOptionsBlkdebugList; typedef struct BlockdevOptionsBlkverify BlockdevOptionsBlkverify; typedef struct BlockdevOptionsBlkverifyList { union { BlockdevOptionsBlkverify *value; uint64_t padding; }; struct BlockdevOptionsBlkverifyList *next; } BlockdevOptionsBlkverifyList; extern const char *QuorumReadPattern_lookup[]; typedef enum QuorumReadPattern { QUORUM_READ_PATTERN_QUORUM = 0, QUORUM_READ_PATTERN_FIFO = 1, QUORUM_READ_PATTERN_MAX = 2, } QuorumReadPattern; typedef struct QuorumReadPatternList { union { QuorumReadPattern value; uint64_t padding; }; struct QuorumReadPatternList *next; } QuorumReadPatternList; typedef struct BlockdevOptionsQuorum BlockdevOptionsQuorum; typedef struct BlockdevOptionsQuorumList { union { BlockdevOptionsQuorum *value; uint64_t padding; }; struct BlockdevOptionsQuorumList *next; } BlockdevOptionsQuorumList; typedef struct BlockdevOptions BlockdevOptions; typedef struct BlockdevOptionsList { union { BlockdevOptions *value; uint64_t padding; }; struct BlockdevOptionsList *next; } BlockdevOptionsList; typedef struct BlockdevRef BlockdevRef; typedef struct BlockdevRefList { union { BlockdevRef *value; uint64_t padding; }; struct BlockdevRefList *next; } BlockdevRefList; extern const char *BlockdevRefKind_lookup[]; typedef enum BlockdevRefKind { BLOCKDEV_REF_KIND_DEFINITION = 0, BLOCKDEV_REF_KIND_REFERENCE = 1, BLOCKDEV_REF_KIND_MAX = 2, } BlockdevRefKind; extern const char *BlockErrorAction_lookup[]; typedef enum BlockErrorAction { BLOCK_ERROR_ACTION_IGNORE = 0, BLOCK_ERROR_ACTION_REPORT = 1, BLOCK_ERROR_ACTION_STOP = 2, BLOCK_ERROR_ACTION_MAX = 3, } BlockErrorAction; typedef struct BlockErrorActionList { union { BlockErrorAction value; uint64_t padding; }; struct BlockErrorActionList *next; } BlockErrorActionList; extern const char *PreallocMode_lookup[]; typedef enum PreallocMode { PREALLOC_MODE_OFF = 0, PREALLOC_MODE_METADATA = 1, PREALLOC_MODE_FALLOC = 2, PREALLOC_MODE_FULL = 3, PREALLOC_MODE_MAX = 4, } PreallocMode; typedef struct PreallocModeList { union { PreallocMode value; uint64_t padding; }; struct PreallocModeList *next; } PreallocModeList; extern const char *BiosAtaTranslation_lookup[]; typedef enum BiosAtaTranslation { BIOS_ATA_TRANSLATION_AUTO = 0, BIOS_ATA_TRANSLATION_NONE = 1, BIOS_ATA_TRANSLATION_LBA = 2, BIOS_ATA_TRANSLATION_LARGE = 3, BIOS_ATA_TRANSLATION_RECHS = 4, BIOS_ATA_TRANSLATION_MAX = 5, } BiosAtaTranslation; typedef struct BiosAtaTranslationList { union { BiosAtaTranslation value; uint64_t padding; }; struct BiosAtaTranslationList *next; } BiosAtaTranslationList; typedef struct BlockdevSnapshotInternal BlockdevSnapshotInternal; typedef struct BlockdevSnapshotInternalList { union { BlockdevSnapshotInternal *value; uint64_t padding; }; struct BlockdevSnapshotInternalList *next; } BlockdevSnapshotInternalList; extern const char *TraceEventState_lookup[]; typedef enum TraceEventState { TRACE_EVENT_STATE_UNAVAILABLE = 0, TRACE_EVENT_STATE_DISABLED = 1, TRACE_EVENT_STATE_ENABLED = 2, TRACE_EVENT_STATE_MAX = 3, } TraceEventState; typedef struct TraceEventStateList { union { TraceEventState value; uint64_t padding; }; struct TraceEventStateList *next; } TraceEventStateList; typedef struct TraceEventInfo TraceEventInfo; typedef struct TraceEventInfoList { union { TraceEventInfo *value; uint64_t padding; }; struct TraceEventInfoList *next; } TraceEventInfoList; extern const char *LostTickPolicy_lookup[]; typedef enum LostTickPolicy { LOST_TICK_POLICY_DISCARD = 0, LOST_TICK_POLICY_DELAY = 1, LOST_TICK_POLICY_MERGE = 2, LOST_TICK_POLICY_SLEW = 3, LOST_TICK_POLICY_MAX = 4, } LostTickPolicy; typedef struct LostTickPolicyList { union { LostTickPolicy value; uint64_t padding; }; struct LostTickPolicyList *next; } LostTickPolicyList; typedef struct NameInfo NameInfo; typedef struct NameInfoList { union { NameInfo *value; uint64_t padding; }; struct NameInfoList *next; } NameInfoList; typedef struct KvmInfo KvmInfo; typedef struct KvmInfoList { union { KvmInfo *value; uint64_t padding; }; struct KvmInfoList *next; } KvmInfoList; extern const char *RunState_lookup[]; typedef enum RunState { RUN_STATE_DEBUG = 0, RUN_STATE_INMIGRATE = 1, RUN_STATE_INTERNAL_ERROR = 2, RUN_STATE_IO_ERROR = 3, RUN_STATE_PAUSED = 4, RUN_STATE_POSTMIGRATE = 5, RUN_STATE_PRELAUNCH = 6, RUN_STATE_FINISH_MIGRATE = 7, RUN_STATE_RESTORE_VM = 8, RUN_STATE_RUNNING = 9, RUN_STATE_SAVE_VM = 10, RUN_STATE_SHUTDOWN = 11, RUN_STATE_SUSPENDED = 12, RUN_STATE_WATCHDOG = 13, RUN_STATE_GUEST_PANICKED = 14, RUN_STATE_MAX = 15, } RunState; typedef struct RunStateList { union { RunState value; uint64_t padding; }; struct RunStateList *next; } RunStateList; typedef struct StatusInfo StatusInfo; typedef struct StatusInfoList { union { StatusInfo *value; uint64_t padding; }; struct StatusInfoList *next; } StatusInfoList; typedef struct UuidInfo UuidInfo; typedef struct UuidInfoList { union { UuidInfo *value; uint64_t padding; }; struct UuidInfoList *next; } UuidInfoList; typedef struct ChardevInfo ChardevInfo; typedef struct ChardevInfoList { union { ChardevInfo *value; uint64_t padding; }; struct ChardevInfoList *next; } ChardevInfoList; typedef struct ChardevBackendInfo ChardevBackendInfo; typedef struct ChardevBackendInfoList { union { ChardevBackendInfo *value; uint64_t padding; }; struct ChardevBackendInfoList *next; } ChardevBackendInfoList; extern const char *DataFormat_lookup[]; typedef enum DataFormat { DATA_FORMAT_UTF8 = 0, DATA_FORMAT_BASE64 = 1, DATA_FORMAT_MAX = 2, } DataFormat; typedef struct DataFormatList { union { DataFormat value; uint64_t padding; }; struct DataFormatList *next; } DataFormatList; typedef struct EventInfo EventInfo; typedef struct EventInfoList { union { EventInfo *value; uint64_t padding; }; struct EventInfoList *next; } EventInfoList; typedef struct MigrationStats MigrationStats; typedef struct MigrationStatsList { union { MigrationStats *value; uint64_t padding; }; struct MigrationStatsList *next; } MigrationStatsList; typedef struct XBZRLECacheStats XBZRLECacheStats; typedef struct XBZRLECacheStatsList { union { XBZRLECacheStats *value; uint64_t padding; }; struct XBZRLECacheStatsList *next; } XBZRLECacheStatsList; extern const char *MigrationStatus_lookup[]; typedef enum MigrationStatus { MIGRATION_STATUS_NONE = 0, MIGRATION_STATUS_SETUP = 1, MIGRATION_STATUS_CANCELLING = 2, MIGRATION_STATUS_CANCELLED = 3, MIGRATION_STATUS_ACTIVE = 4, MIGRATION_STATUS_COMPLETED = 5, MIGRATION_STATUS_FAILED = 6, MIGRATION_STATUS_MAX = 7, } MigrationStatus; typedef struct MigrationStatusList { union { MigrationStatus value; uint64_t padding; }; struct MigrationStatusList *next; } MigrationStatusList; typedef struct MigrationInfo MigrationInfo; typedef struct MigrationInfoList { union { MigrationInfo *value; uint64_t padding; }; struct MigrationInfoList *next; } MigrationInfoList; extern const char *MigrationCapability_lookup[]; typedef enum MigrationCapability { MIGRATION_CAPABILITY_XBZRLE = 0, MIGRATION_CAPABILITY_RDMA_PIN_ALL = 1, MIGRATION_CAPABILITY_AUTO_CONVERGE = 2, MIGRATION_CAPABILITY_ZERO_BLOCKS = 3, MIGRATION_CAPABILITY_MAX = 4, } MigrationCapability; typedef struct MigrationCapabilityList { union { MigrationCapability value; uint64_t padding; }; struct MigrationCapabilityList *next; } MigrationCapabilityList; typedef struct MigrationCapabilityStatus MigrationCapabilityStatus; typedef struct MigrationCapabilityStatusList { union { MigrationCapabilityStatus *value; uint64_t padding; }; struct MigrationCapabilityStatusList *next; } MigrationCapabilityStatusList; typedef struct MouseInfo MouseInfo; typedef struct MouseInfoList { union { MouseInfo *value; uint64_t padding; }; struct MouseInfoList *next; } MouseInfoList; typedef struct CpuInfo CpuInfo; typedef struct CpuInfoList { union { CpuInfo *value; uint64_t padding; }; struct CpuInfoList *next; } CpuInfoList; typedef struct IOThreadInfo IOThreadInfo; typedef struct IOThreadInfoList { union { IOThreadInfo *value; uint64_t padding; }; struct IOThreadInfoList *next; } IOThreadInfoList; extern const char *NetworkAddressFamily_lookup[]; typedef enum NetworkAddressFamily { NETWORK_ADDRESS_FAMILY_IPV4 = 0, NETWORK_ADDRESS_FAMILY_IPV6 = 1, NETWORK_ADDRESS_FAMILY_UNIX = 2, NETWORK_ADDRESS_FAMILY_UNKNOWN = 3, NETWORK_ADDRESS_FAMILY_MAX = 4, } NetworkAddressFamily; typedef struct NetworkAddressFamilyList { union { NetworkAddressFamily value; uint64_t padding; }; struct NetworkAddressFamilyList *next; } NetworkAddressFamilyList; typedef struct VncBasicInfo VncBasicInfo; typedef struct VncBasicInfoList { union { VncBasicInfo *value; uint64_t padding; }; struct VncBasicInfoList *next; } VncBasicInfoList; typedef struct VncServerInfo VncServerInfo; typedef struct VncServerInfoList { union { VncServerInfo *value; uint64_t padding; }; struct VncServerInfoList *next; } VncServerInfoList; typedef struct VncClientInfo VncClientInfo; typedef struct VncClientInfoList { union { VncClientInfo *value; uint64_t padding; }; struct VncClientInfoList *next; } VncClientInfoList; typedef struct VncInfo VncInfo; typedef struct VncInfoList { union { VncInfo *value; uint64_t padding; }; struct VncInfoList *next; } VncInfoList; extern const char *VncPrimaryAuth_lookup[]; typedef enum VncPrimaryAuth { VNC_PRIMARY_AUTH_NONE = 0, VNC_PRIMARY_AUTH_VNC = 1, VNC_PRIMARY_AUTH_RA2 = 2, VNC_PRIMARY_AUTH_RA2NE = 3, VNC_PRIMARY_AUTH_TIGHT = 4, VNC_PRIMARY_AUTH_ULTRA = 5, VNC_PRIMARY_AUTH_TLS = 6, VNC_PRIMARY_AUTH_VENCRYPT = 7, VNC_PRIMARY_AUTH_SASL = 8, VNC_PRIMARY_AUTH_MAX = 9, } VncPrimaryAuth; typedef struct VncPrimaryAuthList { union { VncPrimaryAuth value; uint64_t padding; }; struct VncPrimaryAuthList *next; } VncPrimaryAuthList; extern const char *VncVencryptSubAuth_lookup[]; typedef enum VncVencryptSubAuth { VNC_VENCRYPT_SUB_AUTH_PLAIN = 0, VNC_VENCRYPT_SUB_AUTH_TLS_NONE = 1, VNC_VENCRYPT_SUB_AUTH_X509_NONE = 2, VNC_VENCRYPT_SUB_AUTH_TLS_VNC = 3, VNC_VENCRYPT_SUB_AUTH_X509_VNC = 4, VNC_VENCRYPT_SUB_AUTH_TLS_PLAIN = 5, VNC_VENCRYPT_SUB_AUTH_X509_PLAIN = 6, VNC_VENCRYPT_SUB_AUTH_TLS_SASL = 7, VNC_VENCRYPT_SUB_AUTH_X509_SASL = 8, VNC_VENCRYPT_SUB_AUTH_MAX = 9, } VncVencryptSubAuth; typedef struct VncVencryptSubAuthList { union { VncVencryptSubAuth value; uint64_t padding; }; struct VncVencryptSubAuthList *next; } VncVencryptSubAuthList; typedef struct VncInfo2 VncInfo2; typedef struct VncInfo2List { union { VncInfo2 *value; uint64_t padding; }; struct VncInfo2List *next; } VncInfo2List; typedef struct SpiceBasicInfo SpiceBasicInfo; typedef struct SpiceBasicInfoList { union { SpiceBasicInfo *value; uint64_t padding; }; struct SpiceBasicInfoList *next; } SpiceBasicInfoList; typedef struct SpiceServerInfo SpiceServerInfo; typedef struct SpiceServerInfoList { union { SpiceServerInfo *value; uint64_t padding; }; struct SpiceServerInfoList *next; } SpiceServerInfoList; typedef struct SpiceChannel SpiceChannel; typedef struct SpiceChannelList { union { SpiceChannel *value; uint64_t padding; }; struct SpiceChannelList *next; } SpiceChannelList; extern const char *SpiceQueryMouseMode_lookup[]; typedef enum SpiceQueryMouseMode { SPICE_QUERY_MOUSE_MODE_CLIENT = 0, SPICE_QUERY_MOUSE_MODE_SERVER = 1, SPICE_QUERY_MOUSE_MODE_UNKNOWN = 2, SPICE_QUERY_MOUSE_MODE_MAX = 3, } SpiceQueryMouseMode; typedef struct SpiceQueryMouseModeList { union { SpiceQueryMouseMode value; uint64_t padding; }; struct SpiceQueryMouseModeList *next; } SpiceQueryMouseModeList; typedef struct SpiceInfo SpiceInfo; typedef struct SpiceInfoList { union { SpiceInfo *value; uint64_t padding; }; struct SpiceInfoList *next; } SpiceInfoList; typedef struct BalloonInfo BalloonInfo; typedef struct BalloonInfoList { union { BalloonInfo *value; uint64_t padding; }; struct BalloonInfoList *next; } BalloonInfoList; typedef struct PciMemoryRange PciMemoryRange; typedef struct PciMemoryRangeList { union { PciMemoryRange *value; uint64_t padding; }; struct PciMemoryRangeList *next; } PciMemoryRangeList; typedef struct PciMemoryRegion PciMemoryRegion; typedef struct PciMemoryRegionList { union { PciMemoryRegion *value; uint64_t padding; }; struct PciMemoryRegionList *next; } PciMemoryRegionList; typedef struct PciBridgeInfo PciBridgeInfo; typedef struct PciBridgeInfoList { union { PciBridgeInfo *value; uint64_t padding; }; struct PciBridgeInfoList *next; } PciBridgeInfoList; typedef struct PciDeviceInfo PciDeviceInfo; typedef struct PciDeviceInfoList { union { PciDeviceInfo *value; uint64_t padding; }; struct PciDeviceInfoList *next; } PciDeviceInfoList; typedef struct PciInfo PciInfo; typedef struct PciInfoList { union { PciInfo *value; uint64_t padding; }; struct PciInfoList *next; } PciInfoList; typedef struct Abort Abort; typedef struct AbortList { union { Abort *value; uint64_t padding; }; struct AbortList *next; } AbortList; typedef struct TransactionAction TransactionAction; typedef struct TransactionActionList { union { TransactionAction *value; uint64_t padding; }; struct TransactionActionList *next; } TransactionActionList; extern const char *TransactionActionKind_lookup[]; typedef enum TransactionActionKind { TRANSACTION_ACTION_KIND_BLOCKDEV_SNAPSHOT_SYNC = 0, TRANSACTION_ACTION_KIND_DRIVE_BACKUP = 1, TRANSACTION_ACTION_KIND_BLOCKDEV_BACKUP = 2, TRANSACTION_ACTION_KIND_ABORT = 3, TRANSACTION_ACTION_KIND_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC = 4, TRANSACTION_ACTION_KIND_MAX = 5, } TransactionActionKind; typedef struct ObjectPropertyInfo ObjectPropertyInfo; typedef struct ObjectPropertyInfoList { union { ObjectPropertyInfo *value; uint64_t padding; }; struct ObjectPropertyInfoList *next; } ObjectPropertyInfoList; typedef struct ObjectTypeInfo ObjectTypeInfo; typedef struct ObjectTypeInfoList { union { ObjectTypeInfo *value; uint64_t padding; }; struct ObjectTypeInfoList *next; } ObjectTypeInfoList; typedef struct DevicePropertyInfo DevicePropertyInfo; typedef struct DevicePropertyInfoList { union { DevicePropertyInfo *value; uint64_t padding; }; struct DevicePropertyInfoList *next; } DevicePropertyInfoList; extern const char *DumpGuestMemoryFormat_lookup[]; typedef enum DumpGuestMemoryFormat { DUMP_GUEST_MEMORY_FORMAT_ELF = 0, DUMP_GUEST_MEMORY_FORMAT_KDUMP_ZLIB = 1, DUMP_GUEST_MEMORY_FORMAT_KDUMP_LZO = 2, DUMP_GUEST_MEMORY_FORMAT_KDUMP_SNAPPY = 3, DUMP_GUEST_MEMORY_FORMAT_MAX = 4, } DumpGuestMemoryFormat; typedef struct DumpGuestMemoryFormatList { union { DumpGuestMemoryFormat value; uint64_t padding; }; struct DumpGuestMemoryFormatList *next; } DumpGuestMemoryFormatList; typedef struct DumpGuestMemoryCapability DumpGuestMemoryCapability; typedef struct DumpGuestMemoryCapabilityList { union { DumpGuestMemoryCapability *value; uint64_t padding; }; struct DumpGuestMemoryCapabilityList *next; } DumpGuestMemoryCapabilityList; typedef struct NetdevNoneOptions NetdevNoneOptions; typedef struct NetdevNoneOptionsList { union { NetdevNoneOptions *value; uint64_t padding; }; struct NetdevNoneOptionsList *next; } NetdevNoneOptionsList; typedef struct NetLegacyNicOptions NetLegacyNicOptions; typedef struct NetLegacyNicOptionsList { union { NetLegacyNicOptions *value; uint64_t padding; }; struct NetLegacyNicOptionsList *next; } NetLegacyNicOptionsList; typedef struct String String; typedef struct StringList { union { String *value; uint64_t padding; }; struct StringList *next; } StringList; typedef struct NetdevUserOptions NetdevUserOptions; typedef struct NetdevUserOptionsList { union { NetdevUserOptions *value; uint64_t padding; }; struct NetdevUserOptionsList *next; } NetdevUserOptionsList; typedef struct NetdevTapOptions NetdevTapOptions; typedef struct NetdevTapOptionsList { union { NetdevTapOptions *value; uint64_t padding; }; struct NetdevTapOptionsList *next; } NetdevTapOptionsList; typedef struct NetdevSocketOptions NetdevSocketOptions; typedef struct NetdevSocketOptionsList { union { NetdevSocketOptions *value; uint64_t padding; }; struct NetdevSocketOptionsList *next; } NetdevSocketOptionsList; typedef struct NetdevL2TPv3Options NetdevL2TPv3Options; typedef struct NetdevL2TPv3OptionsList { union { NetdevL2TPv3Options *value; uint64_t padding; }; struct NetdevL2TPv3OptionsList *next; } NetdevL2TPv3OptionsList; typedef struct NetdevVdeOptions NetdevVdeOptions; typedef struct NetdevVdeOptionsList { union { NetdevVdeOptions *value; uint64_t padding; }; struct NetdevVdeOptionsList *next; } NetdevVdeOptionsList; typedef struct NetdevDumpOptions NetdevDumpOptions; typedef struct NetdevDumpOptionsList { union { NetdevDumpOptions *value; uint64_t padding; }; struct NetdevDumpOptionsList *next; } NetdevDumpOptionsList; typedef struct NetdevBridgeOptions NetdevBridgeOptions; typedef struct NetdevBridgeOptionsList { union { NetdevBridgeOptions *value; uint64_t padding; }; struct NetdevBridgeOptionsList *next; } NetdevBridgeOptionsList; typedef struct NetdevHubPortOptions NetdevHubPortOptions; typedef struct NetdevHubPortOptionsList { union { NetdevHubPortOptions *value; uint64_t padding; }; struct NetdevHubPortOptionsList *next; } NetdevHubPortOptionsList; typedef struct NetdevNetmapOptions NetdevNetmapOptions; typedef struct NetdevNetmapOptionsList { union { NetdevNetmapOptions *value; uint64_t padding; }; struct NetdevNetmapOptionsList *next; } NetdevNetmapOptionsList; typedef struct NetdevVhostUserOptions NetdevVhostUserOptions; typedef struct NetdevVhostUserOptionsList { union { NetdevVhostUserOptions *value; uint64_t padding; }; struct NetdevVhostUserOptionsList *next; } NetdevVhostUserOptionsList; typedef struct NetClientOptions NetClientOptions; typedef struct NetClientOptionsList { union { NetClientOptions *value; uint64_t padding; }; struct NetClientOptionsList *next; } NetClientOptionsList; extern const char *NetClientOptionsKind_lookup[]; typedef enum NetClientOptionsKind { NET_CLIENT_OPTIONS_KIND_NONE = 0, NET_CLIENT_OPTIONS_KIND_NIC = 1, NET_CLIENT_OPTIONS_KIND_USER = 2, NET_CLIENT_OPTIONS_KIND_TAP = 3, NET_CLIENT_OPTIONS_KIND_L2TPV3 = 4, NET_CLIENT_OPTIONS_KIND_SOCKET = 5, NET_CLIENT_OPTIONS_KIND_VDE = 6, NET_CLIENT_OPTIONS_KIND_DUMP = 7, NET_CLIENT_OPTIONS_KIND_BRIDGE = 8, NET_CLIENT_OPTIONS_KIND_HUBPORT = 9, NET_CLIENT_OPTIONS_KIND_NETMAP = 10, NET_CLIENT_OPTIONS_KIND_VHOST_USER = 11, NET_CLIENT_OPTIONS_KIND_MAX = 12, } NetClientOptionsKind; typedef struct NetLegacy NetLegacy; typedef struct NetLegacyList { union { NetLegacy *value; uint64_t padding; }; struct NetLegacyList *next; } NetLegacyList; typedef struct Netdev Netdev; typedef struct NetdevList { union { Netdev *value; uint64_t padding; }; struct NetdevList *next; } NetdevList; typedef struct InetSocketAddress InetSocketAddress; typedef struct InetSocketAddressList { union { InetSocketAddress *value; uint64_t padding; }; struct InetSocketAddressList *next; } InetSocketAddressList; typedef struct UnixSocketAddress UnixSocketAddress; typedef struct UnixSocketAddressList { union { UnixSocketAddress *value; uint64_t padding; }; struct UnixSocketAddressList *next; } UnixSocketAddressList; typedef struct SocketAddress SocketAddress; typedef struct SocketAddressList { union { SocketAddress *value; uint64_t padding; }; struct SocketAddressList *next; } SocketAddressList; extern const char *SocketAddressKind_lookup[]; typedef enum SocketAddressKind { SOCKET_ADDRESS_KIND_INET = 0, SOCKET_ADDRESS_KIND_UNIX = 1, SOCKET_ADDRESS_KIND_FD = 2, SOCKET_ADDRESS_KIND_MAX = 3, } SocketAddressKind; typedef struct MachineInfo MachineInfo; typedef struct MachineInfoList { union { MachineInfo *value; uint64_t padding; }; struct MachineInfoList *next; } MachineInfoList; typedef struct CpuDefinitionInfo CpuDefinitionInfo; typedef struct CpuDefinitionInfoList { union { CpuDefinitionInfo *value; uint64_t padding; }; struct CpuDefinitionInfoList *next; } CpuDefinitionInfoList; typedef struct AddfdInfo AddfdInfo; typedef struct AddfdInfoList { union { AddfdInfo *value; uint64_t padding; }; struct AddfdInfoList *next; } AddfdInfoList; typedef struct FdsetFdInfo FdsetFdInfo; typedef struct FdsetFdInfoList { union { FdsetFdInfo *value; uint64_t padding; }; struct FdsetFdInfoList *next; } FdsetFdInfoList; typedef struct FdsetInfo FdsetInfo; typedef struct FdsetInfoList { union { FdsetInfo *value; uint64_t padding; }; struct FdsetInfoList *next; } FdsetInfoList; typedef struct TargetInfo TargetInfo; typedef struct TargetInfoList { union { TargetInfo *value; uint64_t padding; }; struct TargetInfoList *next; } TargetInfoList; extern const char *QKeyCode_lookup[]; typedef enum QKeyCode { Q_KEY_CODE_UNMAPPED = 0, Q_KEY_CODE_SHIFT = 1, Q_KEY_CODE_SHIFT_R = 2, Q_KEY_CODE_ALT = 3, Q_KEY_CODE_ALT_R = 4, Q_KEY_CODE_ALTGR = 5, Q_KEY_CODE_ALTGR_R = 6, Q_KEY_CODE_CTRL = 7, Q_KEY_CODE_CTRL_R = 8, Q_KEY_CODE_MENU = 9, Q_KEY_CODE_ESC = 10, Q_KEY_CODE_1 = 11, Q_KEY_CODE_2 = 12, Q_KEY_CODE_3 = 13, Q_KEY_CODE_4 = 14, Q_KEY_CODE_5 = 15, Q_KEY_CODE_6 = 16, Q_KEY_CODE_7 = 17, Q_KEY_CODE_8 = 18, Q_KEY_CODE_9 = 19, Q_KEY_CODE_0 = 20, Q_KEY_CODE_MINUS = 21, Q_KEY_CODE_EQUAL = 22, Q_KEY_CODE_BACKSPACE = 23, Q_KEY_CODE_TAB = 24, Q_KEY_CODE_Q = 25, Q_KEY_CODE_W = 26, Q_KEY_CODE_E = 27, Q_KEY_CODE_R = 28, Q_KEY_CODE_T = 29, Q_KEY_CODE_Y = 30, Q_KEY_CODE_U = 31, Q_KEY_CODE_I = 32, Q_KEY_CODE_O = 33, Q_KEY_CODE_P = 34, Q_KEY_CODE_BRACKET_LEFT = 35, Q_KEY_CODE_BRACKET_RIGHT = 36, Q_KEY_CODE_RET = 37, Q_KEY_CODE_A = 38, Q_KEY_CODE_S = 39, Q_KEY_CODE_D = 40, Q_KEY_CODE_F = 41, Q_KEY_CODE_G = 42, Q_KEY_CODE_H = 43, Q_KEY_CODE_J = 44, Q_KEY_CODE_K = 45, Q_KEY_CODE_L = 46, Q_KEY_CODE_SEMICOLON = 47, Q_KEY_CODE_APOSTROPHE = 48, Q_KEY_CODE_GRAVE_ACCENT = 49, Q_KEY_CODE_BACKSLASH = 50, Q_KEY_CODE_Z = 51, Q_KEY_CODE_X = 52, Q_KEY_CODE_C = 53, Q_KEY_CODE_V = 54, Q_KEY_CODE_B = 55, Q_KEY_CODE_N = 56, Q_KEY_CODE_M = 57, Q_KEY_CODE_COMMA = 58, Q_KEY_CODE_DOT = 59, Q_KEY_CODE_SLASH = 60, Q_KEY_CODE_ASTERISK = 61, Q_KEY_CODE_SPC = 62, Q_KEY_CODE_CAPS_LOCK = 63, Q_KEY_CODE_F1 = 64, Q_KEY_CODE_F2 = 65, Q_KEY_CODE_F3 = 66, Q_KEY_CODE_F4 = 67, Q_KEY_CODE_F5 = 68, Q_KEY_CODE_F6 = 69, Q_KEY_CODE_F7 = 70, Q_KEY_CODE_F8 = 71, Q_KEY_CODE_F9 = 72, Q_KEY_CODE_F10 = 73, Q_KEY_CODE_NUM_LOCK = 74, Q_KEY_CODE_SCROLL_LOCK = 75, Q_KEY_CODE_KP_DIVIDE = 76, Q_KEY_CODE_KP_MULTIPLY = 77, Q_KEY_CODE_KP_SUBTRACT = 78, Q_KEY_CODE_KP_ADD = 79, Q_KEY_CODE_KP_ENTER = 80, Q_KEY_CODE_KP_DECIMAL = 81, Q_KEY_CODE_SYSRQ = 82, Q_KEY_CODE_KP_0 = 83, Q_KEY_CODE_KP_1 = 84, Q_KEY_CODE_KP_2 = 85, Q_KEY_CODE_KP_3 = 86, Q_KEY_CODE_KP_4 = 87, Q_KEY_CODE_KP_5 = 88, Q_KEY_CODE_KP_6 = 89, Q_KEY_CODE_KP_7 = 90, Q_KEY_CODE_KP_8 = 91, Q_KEY_CODE_KP_9 = 92, Q_KEY_CODE_LESS = 93, Q_KEY_CODE_F11 = 94, Q_KEY_CODE_F12 = 95, Q_KEY_CODE_PRINT = 96, Q_KEY_CODE_HOME = 97, Q_KEY_CODE_PGUP = 98, Q_KEY_CODE_PGDN = 99, Q_KEY_CODE_END = 100, Q_KEY_CODE_LEFT = 101, Q_KEY_CODE_UP = 102, Q_KEY_CODE_DOWN = 103, Q_KEY_CODE_RIGHT = 104, Q_KEY_CODE_INSERT = 105, Q_KEY_CODE_DELETE = 106, Q_KEY_CODE_STOP = 107, Q_KEY_CODE_AGAIN = 108, Q_KEY_CODE_PROPS = 109, Q_KEY_CODE_UNDO = 110, Q_KEY_CODE_FRONT = 111, Q_KEY_CODE_COPY = 112, Q_KEY_CODE_OPEN = 113, Q_KEY_CODE_PASTE = 114, Q_KEY_CODE_FIND = 115, Q_KEY_CODE_CUT = 116, Q_KEY_CODE_LF = 117, Q_KEY_CODE_HELP = 118, Q_KEY_CODE_META_L = 119, Q_KEY_CODE_META_R = 120, Q_KEY_CODE_COMPOSE = 121, Q_KEY_CODE_PAUSE = 122, Q_KEY_CODE_RO = 123, Q_KEY_CODE_KP_COMMA = 124, Q_KEY_CODE_MAX = 125, } QKeyCode; typedef struct QKeyCodeList { union { QKeyCode value; uint64_t padding; }; struct QKeyCodeList *next; } QKeyCodeList; typedef struct KeyValue KeyValue; typedef struct KeyValueList { union { KeyValue *value; uint64_t padding; }; struct KeyValueList *next; } KeyValueList; extern const char *KeyValueKind_lookup[]; typedef enum KeyValueKind { KEY_VALUE_KIND_NUMBER = 0, KEY_VALUE_KIND_QCODE = 1, KEY_VALUE_KIND_MAX = 2, } KeyValueKind; typedef struct ChardevFile ChardevFile; typedef struct ChardevFileList { union { ChardevFile *value; uint64_t padding; }; struct ChardevFileList *next; } ChardevFileList; typedef struct ChardevHostdev ChardevHostdev; typedef struct ChardevHostdevList { union { ChardevHostdev *value; uint64_t padding; }; struct ChardevHostdevList *next; } ChardevHostdevList; typedef struct ChardevSocket ChardevSocket; typedef struct ChardevSocketList { union { ChardevSocket *value; uint64_t padding; }; struct ChardevSocketList *next; } ChardevSocketList; typedef struct ChardevUdp ChardevUdp; typedef struct ChardevUdpList { union { ChardevUdp *value; uint64_t padding; }; struct ChardevUdpList *next; } ChardevUdpList; typedef struct ChardevMux ChardevMux; typedef struct ChardevMuxList { union { ChardevMux *value; uint64_t padding; }; struct ChardevMuxList *next; } ChardevMuxList; typedef struct ChardevStdio ChardevStdio; typedef struct ChardevStdioList { union { ChardevStdio *value; uint64_t padding; }; struct ChardevStdioList *next; } ChardevStdioList; typedef struct ChardevSpiceChannel ChardevSpiceChannel; typedef struct ChardevSpiceChannelList { union { ChardevSpiceChannel *value; uint64_t padding; }; struct ChardevSpiceChannelList *next; } ChardevSpiceChannelList; typedef struct ChardevSpicePort ChardevSpicePort; typedef struct ChardevSpicePortList { union { ChardevSpicePort *value; uint64_t padding; }; struct ChardevSpicePortList *next; } ChardevSpicePortList; typedef struct ChardevVC ChardevVC; typedef struct ChardevVCList { union { ChardevVC *value; uint64_t padding; }; struct ChardevVCList *next; } ChardevVCList; typedef struct ChardevRingbuf ChardevRingbuf; typedef struct ChardevRingbufList { union { ChardevRingbuf *value; uint64_t padding; }; struct ChardevRingbufList *next; } ChardevRingbufList; typedef struct ChardevDummy ChardevDummy; typedef struct ChardevDummyList { union { ChardevDummy *value; uint64_t padding; }; struct ChardevDummyList *next; } ChardevDummyList; typedef struct ChardevBackend ChardevBackend; typedef struct ChardevBackendList { union { ChardevBackend *value; uint64_t padding; }; struct ChardevBackendList *next; } ChardevBackendList; extern const char *ChardevBackendKind_lookup[]; typedef enum ChardevBackendKind { CHARDEV_BACKEND_KIND_FILE = 0, CHARDEV_BACKEND_KIND_SERIAL = 1, CHARDEV_BACKEND_KIND_PARALLEL = 2, CHARDEV_BACKEND_KIND_PIPE = 3, CHARDEV_BACKEND_KIND_SOCKET = 4, CHARDEV_BACKEND_KIND_UDP = 5, CHARDEV_BACKEND_KIND_PTY = 6, CHARDEV_BACKEND_KIND_NULL = 7, CHARDEV_BACKEND_KIND_MUX = 8, CHARDEV_BACKEND_KIND_MSMOUSE = 9, CHARDEV_BACKEND_KIND_BRAILLE = 10, CHARDEV_BACKEND_KIND_TESTDEV = 11, CHARDEV_BACKEND_KIND_STDIO = 12, CHARDEV_BACKEND_KIND_CONSOLE = 13, CHARDEV_BACKEND_KIND_SPICEVMC = 14, CHARDEV_BACKEND_KIND_SPICEPORT = 15, CHARDEV_BACKEND_KIND_VC = 16, CHARDEV_BACKEND_KIND_RINGBUF = 17, CHARDEV_BACKEND_KIND_MEMORY = 18, CHARDEV_BACKEND_KIND_MAX = 19, } ChardevBackendKind; typedef struct ChardevReturn ChardevReturn; typedef struct ChardevReturnList { union { ChardevReturn *value; uint64_t padding; }; struct ChardevReturnList *next; } ChardevReturnList; extern const char *TpmModel_lookup[]; typedef enum TpmModel { TPM_MODEL_TPM_TIS = 0, TPM_MODEL_MAX = 1, } TpmModel; typedef struct TpmModelList { union { TpmModel value; uint64_t padding; }; struct TpmModelList *next; } TpmModelList; extern const char *TpmType_lookup[]; typedef enum TpmType { TPM_TYPE_PASSTHROUGH = 0, TPM_TYPE_MAX = 1, } TpmType; typedef struct TpmTypeList { union { TpmType value; uint64_t padding; }; struct TpmTypeList *next; } TpmTypeList; typedef struct TPMPassthroughOptions TPMPassthroughOptions; typedef struct TPMPassthroughOptionsList { union { TPMPassthroughOptions *value; uint64_t padding; }; struct TPMPassthroughOptionsList *next; } TPMPassthroughOptionsList; typedef struct TpmTypeOptions TpmTypeOptions; typedef struct TpmTypeOptionsList { union { TpmTypeOptions *value; uint64_t padding; }; struct TpmTypeOptionsList *next; } TpmTypeOptionsList; extern const char *TpmTypeOptionsKind_lookup[]; typedef enum TpmTypeOptionsKind { TPM_TYPE_OPTIONS_KIND_PASSTHROUGH = 0, TPM_TYPE_OPTIONS_KIND_MAX = 1, } TpmTypeOptionsKind; typedef struct TPMInfo TPMInfo; typedef struct TPMInfoList { union { TPMInfo *value; uint64_t padding; }; struct TPMInfoList *next; } TPMInfoList; typedef struct AcpiTableOptions AcpiTableOptions; typedef struct AcpiTableOptionsList { union { AcpiTableOptions *value; uint64_t padding; }; struct AcpiTableOptionsList *next; } AcpiTableOptionsList; extern const char *CommandLineParameterType_lookup[]; typedef enum CommandLineParameterType { COMMAND_LINE_PARAMETER_TYPE_STRING = 0, COMMAND_LINE_PARAMETER_TYPE_BOOLEAN = 1, COMMAND_LINE_PARAMETER_TYPE_NUMBER = 2, COMMAND_LINE_PARAMETER_TYPE_SIZE = 3, COMMAND_LINE_PARAMETER_TYPE_MAX = 4, } CommandLineParameterType; typedef struct CommandLineParameterTypeList { union { CommandLineParameterType value; uint64_t padding; }; struct CommandLineParameterTypeList *next; } CommandLineParameterTypeList; typedef struct CommandLineParameterInfo CommandLineParameterInfo; typedef struct CommandLineParameterInfoList { union { CommandLineParameterInfo *value; uint64_t padding; }; struct CommandLineParameterInfoList *next; } CommandLineParameterInfoList; typedef struct CommandLineOptionInfo CommandLineOptionInfo; typedef struct CommandLineOptionInfoList { union { CommandLineOptionInfo *value; uint64_t padding; }; struct CommandLineOptionInfoList *next; } CommandLineOptionInfoList; extern const char *X86CPURegister32_lookup[]; typedef enum X86CPURegister32 { X86_CPU_REGISTER32_EAX = 0, X86_CPU_REGISTER32_EBX = 1, X86_CPU_REGISTER32_ECX = 2, X86_CPU_REGISTER32_EDX = 3, X86_CPU_REGISTER32_ESP = 4, X86_CPU_REGISTER32_EBP = 5, X86_CPU_REGISTER32_ESI = 6, X86_CPU_REGISTER32_EDI = 7, X86_CPU_REGISTER32_MAX = 8, } X86CPURegister32; typedef struct X86CPURegister32List { union { X86CPURegister32 value; uint64_t padding; }; struct X86CPURegister32List *next; } X86CPURegister32List; typedef struct X86CPUFeatureWordInfo X86CPUFeatureWordInfo; typedef struct X86CPUFeatureWordInfoList { union { X86CPUFeatureWordInfo *value; uint64_t padding; }; struct X86CPUFeatureWordInfoList *next; } X86CPUFeatureWordInfoList; extern const char *RxState_lookup[]; typedef enum RxState { RX_STATE_NORMAL = 0, RX_STATE_NONE = 1, RX_STATE_ALL = 2, RX_STATE_MAX = 3, } RxState; typedef struct RxStateList { union { RxState value; uint64_t padding; }; struct RxStateList *next; } RxStateList; typedef struct RxFilterInfo RxFilterInfo; typedef struct RxFilterInfoList { union { RxFilterInfo *value; uint64_t padding; }; struct RxFilterInfoList *next; } RxFilterInfoList; extern const char *InputButton_lookup[]; typedef enum InputButton { INPUT_BUTTON_LEFT = 0, INPUT_BUTTON_MIDDLE = 1, INPUT_BUTTON_RIGHT = 2, INPUT_BUTTON_WHEEL_UP = 3, INPUT_BUTTON_WHEEL_DOWN = 4, INPUT_BUTTON_MAX = 5, } InputButton; typedef struct InputButtonList { union { InputButton value; uint64_t padding; }; struct InputButtonList *next; } InputButtonList; extern const char *InputAxis_lookup[]; typedef enum InputAxis { INPUT_AXIS_X = 0, INPUT_AXIS_Y = 1, INPUT_AXIS_MAX = 2, } InputAxis; typedef struct InputAxisList { union { InputAxis value; uint64_t padding; }; struct InputAxisList *next; } InputAxisList; typedef struct InputKeyEvent InputKeyEvent; typedef struct InputKeyEventList { union { InputKeyEvent *value; uint64_t padding; }; struct InputKeyEventList *next; } InputKeyEventList; typedef struct InputBtnEvent InputBtnEvent; typedef struct InputBtnEventList { union { InputBtnEvent *value; uint64_t padding; }; struct InputBtnEventList *next; } InputBtnEventList; typedef struct InputMoveEvent InputMoveEvent; typedef struct InputMoveEventList { union { InputMoveEvent *value; uint64_t padding; }; struct InputMoveEventList *next; } InputMoveEventList; typedef struct InputEvent InputEvent; typedef struct InputEventList { union { InputEvent *value; uint64_t padding; }; struct InputEventList *next; } InputEventList; extern const char *InputEventKind_lookup[]; typedef enum InputEventKind { INPUT_EVENT_KIND_KEY = 0, INPUT_EVENT_KIND_BTN = 1, INPUT_EVENT_KIND_REL = 2, INPUT_EVENT_KIND_ABS = 3, INPUT_EVENT_KIND_MAX = 4, } InputEventKind; typedef struct NumaOptions NumaOptions; typedef struct NumaOptionsList { union { NumaOptions *value; uint64_t padding; }; struct NumaOptionsList *next; } NumaOptionsList; extern const char *NumaOptionsKind_lookup[]; typedef enum NumaOptionsKind { NUMA_OPTIONS_KIND_NODE = 0, NUMA_OPTIONS_KIND_MAX = 1, } NumaOptionsKind; typedef struct NumaNodeOptions NumaNodeOptions; typedef struct NumaNodeOptionsList { union { NumaNodeOptions *value; uint64_t padding; }; struct NumaNodeOptionsList *next; } NumaNodeOptionsList; extern const char *HostMemPolicy_lookup[]; typedef enum HostMemPolicy { HOST_MEM_POLICY_DEFAULT = 0, HOST_MEM_POLICY_PREFERRED = 1, HOST_MEM_POLICY_BIND = 2, HOST_MEM_POLICY_INTERLEAVE = 3, HOST_MEM_POLICY_MAX = 4, } HostMemPolicy; typedef struct HostMemPolicyList { union { HostMemPolicy value; uint64_t padding; }; struct HostMemPolicyList *next; } HostMemPolicyList; typedef struct Memdev Memdev; typedef struct MemdevList { union { Memdev *value; uint64_t padding; }; struct MemdevList *next; } MemdevList; typedef struct PCDIMMDeviceInfo PCDIMMDeviceInfo; typedef struct PCDIMMDeviceInfoList { union { PCDIMMDeviceInfo *value; uint64_t padding; }; struct PCDIMMDeviceInfoList *next; } PCDIMMDeviceInfoList; typedef struct MemoryDeviceInfo MemoryDeviceInfo; typedef struct MemoryDeviceInfoList { union { MemoryDeviceInfo *value; uint64_t padding; }; struct MemoryDeviceInfoList *next; } MemoryDeviceInfoList; extern const char *MemoryDeviceInfoKind_lookup[]; typedef enum MemoryDeviceInfoKind { MEMORY_DEVICE_INFO_KIND_DIMM = 0, MEMORY_DEVICE_INFO_KIND_MAX = 1, } MemoryDeviceInfoKind; extern const char *ACPISlotType_lookup[]; typedef enum ACPISlotType { ACPI_SLOT_TYPE_DIMM = 0, ACPI_SLOT_TYPE_MAX = 1, } ACPISlotType; typedef struct ACPISlotTypeList { union { ACPISlotType value; uint64_t padding; }; struct ACPISlotTypeList *next; } ACPISlotTypeList; typedef struct ACPIOSTInfo ACPIOSTInfo; typedef struct ACPIOSTInfoList { union { ACPIOSTInfo *value; uint64_t padding; }; struct ACPIOSTInfoList *next; } ACPIOSTInfoList; extern const char *WatchdogExpirationAction_lookup[]; typedef enum WatchdogExpirationAction { WATCHDOG_EXPIRATION_ACTION_RESET = 0, WATCHDOG_EXPIRATION_ACTION_SHUTDOWN = 1, WATCHDOG_EXPIRATION_ACTION_POWEROFF = 2, WATCHDOG_EXPIRATION_ACTION_PAUSE = 3, WATCHDOG_EXPIRATION_ACTION_DEBUG = 4, WATCHDOG_EXPIRATION_ACTION_NONE = 5, WATCHDOG_EXPIRATION_ACTION_MAX = 6, } WatchdogExpirationAction; typedef struct WatchdogExpirationActionList { union { WatchdogExpirationAction value; uint64_t padding; }; struct WatchdogExpirationActionList *next; } WatchdogExpirationActionList; extern const char *IoOperationType_lookup[]; typedef enum IoOperationType { IO_OPERATION_TYPE_READ = 0, IO_OPERATION_TYPE_WRITE = 1, IO_OPERATION_TYPE_MAX = 2, } IoOperationType; typedef struct IoOperationTypeList { union { IoOperationType value; uint64_t padding; }; struct IoOperationTypeList *next; } IoOperationTypeList; extern const char *GuestPanicAction_lookup[]; typedef enum GuestPanicAction { GUEST_PANIC_ACTION_PAUSE = 0, GUEST_PANIC_ACTION_MAX = 1, } GuestPanicAction; typedef struct GuestPanicActionList { union { GuestPanicAction value; uint64_t padding; }; struct GuestPanicActionList *next; } GuestPanicActionList; void qapi_free_strList(strList *obj); void qapi_free_intList(intList *obj); void qapi_free_numberList(numberList *obj); void qapi_free_boolList(boolList *obj); void qapi_free_int8List(int8List *obj); void qapi_free_int16List(int16List *obj); void qapi_free_int32List(int32List *obj); void qapi_free_int64List(int64List *obj); void qapi_free_uint8List(uint8List *obj); void qapi_free_uint16List(uint16List *obj); void qapi_free_uint32List(uint32List *obj); void qapi_free_uint64List(uint64List *obj); void qapi_free_ErrorClassList(ErrorClassList *obj); struct VersionInfo { struct { int64_t major; int64_t minor; int64_t micro; } qemu; char *package; }; void qapi_free_VersionInfoList(VersionInfoList *obj); void qapi_free_VersionInfo(VersionInfo *obj); struct CommandInfo { char *name; }; void qapi_free_CommandInfoList(CommandInfoList *obj); void qapi_free_CommandInfo(CommandInfo *obj); void qapi_free_OnOffAutoList(OnOffAutoList *obj); struct SnapshotInfo { char *id; char *name; int64_t vm_state_size; int64_t date_sec; int64_t date_nsec; int64_t vm_clock_sec; int64_t vm_clock_nsec; }; void qapi_free_SnapshotInfoList(SnapshotInfoList *obj); void qapi_free_SnapshotInfo(SnapshotInfo *obj); struct ImageInfoSpecificQCow2 { char *compat; _Bool has_lazy_refcounts; _Bool lazy_refcounts; _Bool has_corrupt; _Bool corrupt; int64_t refcount_bits; }; void qapi_free_ImageInfoSpecificQCow2List(ImageInfoSpecificQCow2List *obj); void qapi_free_ImageInfoSpecificQCow2(ImageInfoSpecificQCow2 *obj); struct ImageInfoSpecificVmdk { char *create_type; int64_t cid; int64_t parent_cid; ImageInfoList *extents; }; void qapi_free_ImageInfoSpecificVmdkList(ImageInfoSpecificVmdkList *obj); void qapi_free_ImageInfoSpecificVmdk(ImageInfoSpecificVmdk *obj); struct ImageInfoSpecific { ImageInfoSpecificKind kind; union { void *data; ImageInfoSpecificQCow2 *qcow2; ImageInfoSpecificVmdk *vmdk; }; }; void qapi_free_ImageInfoSpecificList(ImageInfoSpecificList *obj); void qapi_free_ImageInfoSpecific(ImageInfoSpecific *obj); struct ImageInfo { char *filename; char *format; _Bool has_dirty_flag; _Bool dirty_flag; _Bool has_actual_size; int64_t actual_size; int64_t virtual_size; _Bool has_cluster_size; int64_t cluster_size; _Bool has_encrypted; _Bool encrypted; _Bool has_compressed; _Bool compressed; _Bool has_backing_filename; char *backing_filename; _Bool has_full_backing_filename; char *full_backing_filename; _Bool has_backing_filename_format; char *backing_filename_format; _Bool has_snapshots; SnapshotInfoList *snapshots; _Bool has_backing_image; ImageInfo *backing_image; _Bool has_format_specific; ImageInfoSpecific *format_specific; }; void qapi_free_ImageInfoList(ImageInfoList *obj); void qapi_free_ImageInfo(ImageInfo *obj); struct ImageCheck { char *filename; char *format; int64_t check_errors; _Bool has_image_end_offset; int64_t image_end_offset; _Bool has_corruptions; int64_t corruptions; _Bool has_leaks; int64_t leaks; _Bool has_corruptions_fixed; int64_t corruptions_fixed; _Bool has_leaks_fixed; int64_t leaks_fixed; _Bool has_total_clusters; int64_t total_clusters; _Bool has_allocated_clusters; int64_t allocated_clusters; _Bool has_fragmented_clusters; int64_t fragmented_clusters; _Bool has_compressed_clusters; int64_t compressed_clusters; }; void qapi_free_ImageCheckList(ImageCheckList *obj); void qapi_free_ImageCheck(ImageCheck *obj); struct BlockdevCacheInfo { _Bool writeback; _Bool direct; _Bool no_flush; }; void qapi_free_BlockdevCacheInfoList(BlockdevCacheInfoList *obj); void qapi_free_BlockdevCacheInfo(BlockdevCacheInfo *obj); struct BlockDeviceInfo { char *file; _Bool has_node_name; char *node_name; _Bool ro; char *drv; _Bool has_backing_file; char *backing_file; int64_t backing_file_depth; _Bool encrypted; _Bool encryption_key_missing; BlockdevDetectZeroesOptions detect_zeroes; int64_t bps; int64_t bps_rd; int64_t bps_wr; int64_t iops; int64_t iops_rd; int64_t iops_wr; ImageInfo *image; _Bool has_bps_max; int64_t bps_max; _Bool has_bps_rd_max; int64_t bps_rd_max; _Bool has_bps_wr_max; int64_t bps_wr_max; _Bool has_iops_max; int64_t iops_max; _Bool has_iops_rd_max; int64_t iops_rd_max; _Bool has_iops_wr_max; int64_t iops_wr_max; _Bool has_iops_size; int64_t iops_size; BlockdevCacheInfo *cache; int64_t write_threshold; }; void qapi_free_BlockDeviceInfoList(BlockDeviceInfoList *obj); void qapi_free_BlockDeviceInfo(BlockDeviceInfo *obj); void qapi_free_BlockDeviceIoStatusList(BlockDeviceIoStatusList *obj); struct BlockDeviceMapEntry { int64_t start; int64_t length; int64_t depth; _Bool zero; _Bool data; _Bool has_offset; int64_t offset; }; void qapi_free_BlockDeviceMapEntryList(BlockDeviceMapEntryList *obj); void qapi_free_BlockDeviceMapEntry(BlockDeviceMapEntry *obj); struct BlockDirtyInfo { int64_t count; int64_t granularity; }; void qapi_free_BlockDirtyInfoList(BlockDirtyInfoList *obj); void qapi_free_BlockDirtyInfo(BlockDirtyInfo *obj); struct BlockInfo { char *device; char *type; _Bool removable; _Bool locked; _Bool has_inserted; BlockDeviceInfo *inserted; _Bool has_tray_open; _Bool tray_open; _Bool has_io_status; BlockDeviceIoStatus io_status; _Bool has_dirty_bitmaps; BlockDirtyInfoList *dirty_bitmaps; }; void qapi_free_BlockInfoList(BlockInfoList *obj); void qapi_free_BlockInfo(BlockInfo *obj); struct BlockDeviceStats { int64_t rd_bytes; int64_t wr_bytes; int64_t rd_operations; int64_t wr_operations; int64_t flush_operations; int64_t flush_total_time_ns; int64_t wr_total_time_ns; int64_t rd_total_time_ns; int64_t wr_highest_offset; int64_t rd_merged; int64_t wr_merged; }; void qapi_free_BlockDeviceStatsList(BlockDeviceStatsList *obj); void qapi_free_BlockDeviceStats(BlockDeviceStats *obj); struct BlockStats { _Bool has_device; char *device; _Bool has_node_name; char *node_name; BlockDeviceStats *stats; _Bool has_parent; BlockStats *parent; _Bool has_backing; BlockStats *backing; }; void qapi_free_BlockStatsList(BlockStatsList *obj); void qapi_free_BlockStats(BlockStats *obj); void qapi_free_BlockdevOnErrorList(BlockdevOnErrorList *obj); void qapi_free_MirrorSyncModeList(MirrorSyncModeList *obj); void qapi_free_BlockJobTypeList(BlockJobTypeList *obj); struct BlockJobInfo { char *type; char *device; int64_t len; int64_t offset; _Bool busy; _Bool paused; int64_t speed; BlockDeviceIoStatus io_status; _Bool ready; }; void qapi_free_BlockJobInfoList(BlockJobInfoList *obj); void qapi_free_BlockJobInfo(BlockJobInfo *obj); void qapi_free_NewImageModeList(NewImageModeList *obj); struct BlockdevSnapshot { _Bool has_device; char *device; _Bool has_node_name; char *node_name; char *snapshot_file; _Bool has_snapshot_node_name; char *snapshot_node_name; _Bool has_format; char *format; _Bool has_mode; NewImageMode mode; }; void qapi_free_BlockdevSnapshotList(BlockdevSnapshotList *obj); void qapi_free_BlockdevSnapshot(BlockdevSnapshot *obj); struct DriveBackup { char *device; char *target; _Bool has_format; char *format; MirrorSyncMode sync; _Bool has_mode; NewImageMode mode; _Bool has_speed; int64_t speed; _Bool has_on_source_error; BlockdevOnError on_source_error; _Bool has_on_target_error; BlockdevOnError on_target_error; }; void qapi_free_DriveBackupList(DriveBackupList *obj); void qapi_free_DriveBackup(DriveBackup *obj); struct BlockdevBackup { char *device; char *target; MirrorSyncMode sync; _Bool has_speed; int64_t speed; _Bool has_on_source_error; BlockdevOnError on_source_error; _Bool has_on_target_error; BlockdevOnError on_target_error; }; void qapi_free_BlockdevBackupList(BlockdevBackupList *obj); void qapi_free_BlockdevBackup(BlockdevBackup *obj); void qapi_free_BlockdevDiscardOptionsList(BlockdevDiscardOptionsList *obj); void qapi_free_BlockdevDetectZeroesOptionsList(BlockdevDetectZeroesOptionsList *obj); void qapi_free_BlockdevAioOptionsList(BlockdevAioOptionsList *obj); struct BlockdevCacheOptions { _Bool has_writeback; _Bool writeback; _Bool has_direct; _Bool direct; _Bool has_no_flush; _Bool no_flush; }; void qapi_free_BlockdevCacheOptionsList(BlockdevCacheOptionsList *obj); void qapi_free_BlockdevCacheOptions(BlockdevCacheOptions *obj); void qapi_free_BlockdevDriverList(BlockdevDriverList *obj); struct BlockdevOptionsBase { BlockdevDriver driver; _Bool has_id; char *id; _Bool has_node_name; char *node_name; _Bool has_discard; BlockdevDiscardOptions discard; _Bool has_cache; BlockdevCacheOptions *cache; _Bool has_aio; BlockdevAioOptions aio; _Bool has_rerror; BlockdevOnError rerror; _Bool has_werror; BlockdevOnError werror; _Bool has_read_only; _Bool read_only; _Bool has_detect_zeroes; BlockdevDetectZeroesOptions detect_zeroes; }; void qapi_free_BlockdevOptionsBaseList(BlockdevOptionsBaseList *obj); void qapi_free_BlockdevOptionsBase(BlockdevOptionsBase *obj); struct BlockdevOptionsFile { char *filename; }; void qapi_free_BlockdevOptionsFileList(BlockdevOptionsFileList *obj); void qapi_free_BlockdevOptionsFile(BlockdevOptionsFile *obj); struct BlockdevOptionsNull { _Bool has_size; int64_t size; }; void qapi_free_BlockdevOptionsNullList(BlockdevOptionsNullList *obj); void qapi_free_BlockdevOptionsNull(BlockdevOptionsNull *obj); struct BlockdevOptionsVVFAT { char *dir; _Bool has_fat_type; int64_t fat_type; _Bool has_floppy; _Bool floppy; _Bool has_rw; _Bool rw; }; void qapi_free_BlockdevOptionsVVFATList(BlockdevOptionsVVFATList *obj); void qapi_free_BlockdevOptionsVVFAT(BlockdevOptionsVVFAT *obj); struct BlockdevOptionsGenericFormat { BlockdevRef *file; }; void qapi_free_BlockdevOptionsGenericFormatList(BlockdevOptionsGenericFormatList *obj); void qapi_free_BlockdevOptionsGenericFormat(BlockdevOptionsGenericFormat *obj); struct BlockdevOptionsGenericCOWFormat { BlockdevOptionsGenericFormat *base; _Bool has_backing; BlockdevRef *backing; }; void qapi_free_BlockdevOptionsGenericCOWFormatList(BlockdevOptionsGenericCOWFormatList *obj); void qapi_free_BlockdevOptionsGenericCOWFormat(BlockdevOptionsGenericCOWFormat *obj); void qapi_free_Qcow2OverlapCheckModeList(Qcow2OverlapCheckModeList *obj); struct Qcow2OverlapCheckFlags { _Bool has_q_template; Qcow2OverlapCheckMode q_template; _Bool has_main_header; _Bool main_header; _Bool has_active_l1; _Bool active_l1; _Bool has_active_l2; _Bool active_l2; _Bool has_refcount_table; _Bool refcount_table; _Bool has_refcount_block; _Bool refcount_block; _Bool has_snapshot_table; _Bool snapshot_table; _Bool has_inactive_l1; _Bool inactive_l1; _Bool has_inactive_l2; _Bool inactive_l2; }; void qapi_free_Qcow2OverlapCheckFlagsList(Qcow2OverlapCheckFlagsList *obj); void qapi_free_Qcow2OverlapCheckFlags(Qcow2OverlapCheckFlags *obj); struct Qcow2OverlapChecks { Qcow2OverlapChecksKind kind; union { void *data; Qcow2OverlapCheckFlags *flags; Qcow2OverlapCheckMode mode; }; }; extern const int Qcow2OverlapChecks_qtypes[]; void qapi_free_Qcow2OverlapChecksList(Qcow2OverlapChecksList *obj); void qapi_free_Qcow2OverlapChecks(Qcow2OverlapChecks *obj); struct BlockdevOptionsQcow2 { BlockdevOptionsGenericCOWFormat *base; _Bool has_lazy_refcounts; _Bool lazy_refcounts; _Bool has_pass_discard_request; _Bool pass_discard_request; _Bool has_pass_discard_snapshot; _Bool pass_discard_snapshot; _Bool has_pass_discard_other; _Bool pass_discard_other; _Bool has_overlap_check; Qcow2OverlapChecks *overlap_check; _Bool has_cache_size; int64_t cache_size; _Bool has_l2_cache_size; int64_t l2_cache_size; _Bool has_refcount_cache_size; int64_t refcount_cache_size; }; void qapi_free_BlockdevOptionsQcow2List(BlockdevOptionsQcow2List *obj); void qapi_free_BlockdevOptionsQcow2(BlockdevOptionsQcow2 *obj); struct BlockdevOptionsArchipelago { char *volume; _Bool has_mport; int64_t mport; _Bool has_vport; int64_t vport; _Bool has_segment; char *segment; }; void qapi_free_BlockdevOptionsArchipelagoList(BlockdevOptionsArchipelagoList *obj); void qapi_free_BlockdevOptionsArchipelago(BlockdevOptionsArchipelago *obj); void qapi_free_BlkdebugEventList(BlkdebugEventList *obj); struct BlkdebugInjectErrorOptions { BlkdebugEvent event; _Bool has_state; int64_t state; _Bool has_q_errno; int64_t q_errno; _Bool has_sector; int64_t sector; _Bool has_once; _Bool once; _Bool has_immediately; _Bool immediately; }; void qapi_free_BlkdebugInjectErrorOptionsList(BlkdebugInjectErrorOptionsList *obj); void qapi_free_BlkdebugInjectErrorOptions(BlkdebugInjectErrorOptions *obj); struct BlkdebugSetStateOptions { BlkdebugEvent event; _Bool has_state; int64_t state; int64_t new_state; }; void qapi_free_BlkdebugSetStateOptionsList(BlkdebugSetStateOptionsList *obj); void qapi_free_BlkdebugSetStateOptions(BlkdebugSetStateOptions *obj); struct BlockdevOptionsBlkdebug { BlockdevRef *image; _Bool has_config; char *config; _Bool has_align; int64_t align; _Bool has_inject_error; BlkdebugInjectErrorOptionsList *inject_error; _Bool has_set_state; BlkdebugSetStateOptionsList *set_state; }; void qapi_free_BlockdevOptionsBlkdebugList(BlockdevOptionsBlkdebugList *obj); void qapi_free_BlockdevOptionsBlkdebug(BlockdevOptionsBlkdebug *obj); struct BlockdevOptionsBlkverify { BlockdevRef *test; BlockdevRef *raw; }; void qapi_free_BlockdevOptionsBlkverifyList(BlockdevOptionsBlkverifyList *obj); void qapi_free_BlockdevOptionsBlkverify(BlockdevOptionsBlkverify *obj); void qapi_free_QuorumReadPatternList(QuorumReadPatternList *obj); struct BlockdevOptionsQuorum { _Bool has_blkverify; _Bool blkverify; BlockdevRefList *children; int64_t vote_threshold; _Bool has_rewrite_corrupted; _Bool rewrite_corrupted; _Bool has_read_pattern; QuorumReadPattern read_pattern; }; void qapi_free_BlockdevOptionsQuorumList(BlockdevOptionsQuorumList *obj); void qapi_free_BlockdevOptionsQuorum(BlockdevOptionsQuorum *obj); struct BlockdevOptions { BlockdevDriver kind; union { void *data; BlockdevOptionsArchipelago *archipelago; BlockdevOptionsBlkdebug *blkdebug; BlockdevOptionsBlkverify *blkverify; BlockdevOptionsGenericFormat *bochs; BlockdevOptionsGenericFormat *cloop; BlockdevOptionsGenericFormat *dmg; BlockdevOptionsFile *file; BlockdevOptionsFile *ftp; BlockdevOptionsFile *ftps; BlockdevOptionsFile *host_cdrom; BlockdevOptionsFile *host_device; BlockdevOptionsFile *host_floppy; BlockdevOptionsFile *http; BlockdevOptionsFile *https; BlockdevOptionsNull *null_aio; BlockdevOptionsNull *null_co; BlockdevOptionsGenericFormat *parallels; BlockdevOptionsQcow2 *qcow2; BlockdevOptionsGenericCOWFormat *qcow; BlockdevOptionsGenericCOWFormat *qed; BlockdevOptionsQuorum *quorum; BlockdevOptionsGenericFormat *raw; BlockdevOptionsFile *tftp; BlockdevOptionsGenericFormat *vdi; BlockdevOptionsGenericFormat *vhdx; BlockdevOptionsGenericCOWFormat *vmdk; BlockdevOptionsGenericFormat *vpc; BlockdevOptionsVVFAT *vvfat; }; _Bool has_id; char *id; _Bool has_node_name; char *node_name; _Bool has_discard; BlockdevDiscardOptions discard; _Bool has_cache; BlockdevCacheOptions *cache; _Bool has_aio; BlockdevAioOptions aio; _Bool has_rerror; BlockdevOnError rerror; _Bool has_werror; BlockdevOnError werror; _Bool has_read_only; _Bool read_only; _Bool has_detect_zeroes; BlockdevDetectZeroesOptions detect_zeroes; }; void qapi_free_BlockdevOptionsList(BlockdevOptionsList *obj); void qapi_free_BlockdevOptions(BlockdevOptions *obj); struct BlockdevRef { BlockdevRefKind kind; union { void *data; BlockdevOptions *definition; char *reference; }; }; extern const int BlockdevRef_qtypes[]; void qapi_free_BlockdevRefList(BlockdevRefList *obj); void qapi_free_BlockdevRef(BlockdevRef *obj); void qapi_free_BlockErrorActionList(BlockErrorActionList *obj); void qapi_free_PreallocModeList(PreallocModeList *obj); void qapi_free_BiosAtaTranslationList(BiosAtaTranslationList *obj); struct BlockdevSnapshotInternal { char *device; char *name; }; void qapi_free_BlockdevSnapshotInternalList(BlockdevSnapshotInternalList *obj); void qapi_free_BlockdevSnapshotInternal(BlockdevSnapshotInternal *obj); void qapi_free_TraceEventStateList(TraceEventStateList *obj); struct TraceEventInfo { char *name; TraceEventState state; }; void qapi_free_TraceEventInfoList(TraceEventInfoList *obj); void qapi_free_TraceEventInfo(TraceEventInfo *obj); void qapi_free_LostTickPolicyList(LostTickPolicyList *obj); struct NameInfo { _Bool has_name; char *name; }; void qapi_free_NameInfoList(NameInfoList *obj); void qapi_free_NameInfo(NameInfo *obj); struct KvmInfo { _Bool enabled; _Bool present; }; void qapi_free_KvmInfoList(KvmInfoList *obj); void qapi_free_KvmInfo(KvmInfo *obj); void qapi_free_RunStateList(RunStateList *obj); struct StatusInfo { _Bool running; _Bool singlestep; RunState status; }; void qapi_free_StatusInfoList(StatusInfoList *obj); void qapi_free_StatusInfo(StatusInfo *obj); struct UuidInfo { char *UUID; }; void qapi_free_UuidInfoList(UuidInfoList *obj); void qapi_free_UuidInfo(UuidInfo *obj); struct ChardevInfo { char *label; char *filename; _Bool frontend_open; }; void qapi_free_ChardevInfoList(ChardevInfoList *obj); void qapi_free_ChardevInfo(ChardevInfo *obj); struct ChardevBackendInfo { char *name; }; void qapi_free_ChardevBackendInfoList(ChardevBackendInfoList *obj); void qapi_free_ChardevBackendInfo(ChardevBackendInfo *obj); void qapi_free_DataFormatList(DataFormatList *obj); struct EventInfo { char *name; }; void qapi_free_EventInfoList(EventInfoList *obj); void qapi_free_EventInfo(EventInfo *obj); struct MigrationStats { int64_t transferred; int64_t remaining; int64_t total; int64_t duplicate; int64_t skipped; int64_t normal; int64_t normal_bytes; int64_t dirty_pages_rate; double mbps; int64_t dirty_sync_count; }; void qapi_free_MigrationStatsList(MigrationStatsList *obj); void qapi_free_MigrationStats(MigrationStats *obj); struct XBZRLECacheStats { int64_t cache_size; int64_t bytes; int64_t pages; int64_t cache_miss; double cache_miss_rate; int64_t overflow; }; void qapi_free_XBZRLECacheStatsList(XBZRLECacheStatsList *obj); void qapi_free_XBZRLECacheStats(XBZRLECacheStats *obj); void qapi_free_MigrationStatusList(MigrationStatusList *obj); struct MigrationInfo { _Bool has_status; MigrationStatus status; _Bool has_ram; MigrationStats *ram; _Bool has_disk; MigrationStats *disk; _Bool has_xbzrle_cache; XBZRLECacheStats *xbzrle_cache; _Bool has_total_time; int64_t total_time; _Bool has_expected_downtime; int64_t expected_downtime; _Bool has_downtime; int64_t downtime; _Bool has_setup_time; int64_t setup_time; }; void qapi_free_MigrationInfoList(MigrationInfoList *obj); void qapi_free_MigrationInfo(MigrationInfo *obj); void qapi_free_MigrationCapabilityList(MigrationCapabilityList *obj); struct MigrationCapabilityStatus { MigrationCapability capability; _Bool state; }; void qapi_free_MigrationCapabilityStatusList(MigrationCapabilityStatusList *obj); void qapi_free_MigrationCapabilityStatus(MigrationCapabilityStatus *obj); struct MouseInfo { char *name; int64_t index; _Bool current; _Bool absolute; }; void qapi_free_MouseInfoList(MouseInfoList *obj); void qapi_free_MouseInfo(MouseInfo *obj); struct CpuInfo { int64_t CPU; _Bool current; _Bool halted; _Bool has_pc; int64_t pc; _Bool has_nip; int64_t nip; _Bool has_npc; int64_t npc; _Bool has_PC; int64_t PC; int64_t thread_id; }; void qapi_free_CpuInfoList(CpuInfoList *obj); void qapi_free_CpuInfo(CpuInfo *obj); struct IOThreadInfo { char *id; int64_t thread_id; }; void qapi_free_IOThreadInfoList(IOThreadInfoList *obj); void qapi_free_IOThreadInfo(IOThreadInfo *obj); void qapi_free_NetworkAddressFamilyList(NetworkAddressFamilyList *obj); struct VncBasicInfo { char *host; char *service; NetworkAddressFamily family; _Bool websocket; }; void qapi_free_VncBasicInfoList(VncBasicInfoList *obj); void qapi_free_VncBasicInfo(VncBasicInfo *obj); struct VncServerInfo { VncBasicInfo *base; _Bool has_auth; char *auth; }; void qapi_free_VncServerInfoList(VncServerInfoList *obj); void qapi_free_VncServerInfo(VncServerInfo *obj); struct VncClientInfo { VncBasicInfo *base; _Bool has_x509_dname; char *x509_dname; _Bool has_sasl_username; char *sasl_username; }; void qapi_free_VncClientInfoList(VncClientInfoList *obj); void qapi_free_VncClientInfo(VncClientInfo *obj); struct VncInfo { _Bool enabled; _Bool has_host; char *host; _Bool has_family; NetworkAddressFamily family; _Bool has_service; char *service; _Bool has_auth; char *auth; _Bool has_clients; VncClientInfoList *clients; }; void qapi_free_VncInfoList(VncInfoList *obj); void qapi_free_VncInfo(VncInfo *obj); void qapi_free_VncPrimaryAuthList(VncPrimaryAuthList *obj); void qapi_free_VncVencryptSubAuthList(VncVencryptSubAuthList *obj); struct VncInfo2 { char *id; VncBasicInfoList *server; VncClientInfoList *clients; VncPrimaryAuth auth; _Bool has_vencrypt; VncVencryptSubAuth vencrypt; _Bool has_display; char *display; }; void qapi_free_VncInfo2List(VncInfo2List *obj); void qapi_free_VncInfo2(VncInfo2 *obj); struct SpiceBasicInfo { char *host; char *port; NetworkAddressFamily family; }; void qapi_free_SpiceBasicInfoList(SpiceBasicInfoList *obj); void qapi_free_SpiceBasicInfo(SpiceBasicInfo *obj); struct SpiceServerInfo { SpiceBasicInfo *base; _Bool has_auth; char *auth; }; void qapi_free_SpiceServerInfoList(SpiceServerInfoList *obj); void qapi_free_SpiceServerInfo(SpiceServerInfo *obj); struct SpiceChannel { SpiceBasicInfo *base; int64_t connection_id; int64_t channel_type; int64_t channel_id; _Bool tls; }; void qapi_free_SpiceChannelList(SpiceChannelList *obj); void qapi_free_SpiceChannel(SpiceChannel *obj); void qapi_free_SpiceQueryMouseModeList(SpiceQueryMouseModeList *obj); struct SpiceInfo { _Bool enabled; _Bool migrated; _Bool has_host; char *host; _Bool has_port; int64_t port; _Bool has_tls_port; int64_t tls_port; _Bool has_auth; char *auth; _Bool has_compiled_version; char *compiled_version; SpiceQueryMouseMode mouse_mode; _Bool has_channels; SpiceChannelList *channels; }; void qapi_free_SpiceInfoList(SpiceInfoList *obj); void qapi_free_SpiceInfo(SpiceInfo *obj); struct BalloonInfo { int64_t actual; }; void qapi_free_BalloonInfoList(BalloonInfoList *obj); void qapi_free_BalloonInfo(BalloonInfo *obj); struct PciMemoryRange { int64_t base; int64_t limit; }; void qapi_free_PciMemoryRangeList(PciMemoryRangeList *obj); void qapi_free_PciMemoryRange(PciMemoryRange *obj); struct PciMemoryRegion { int64_t bar; char *type; int64_t address; int64_t size; _Bool has_prefetch; _Bool prefetch; _Bool has_mem_type_64; _Bool mem_type_64; }; void qapi_free_PciMemoryRegionList(PciMemoryRegionList *obj); void qapi_free_PciMemoryRegion(PciMemoryRegion *obj); struct PciBridgeInfo { struct { int64_t number; int64_t secondary; int64_t subordinate; PciMemoryRange *io_range; PciMemoryRange *memory_range; PciMemoryRange *prefetchable_range; } bus; _Bool has_devices; PciDeviceInfoList *devices; }; void qapi_free_PciBridgeInfoList(PciBridgeInfoList *obj); void qapi_free_PciBridgeInfo(PciBridgeInfo *obj); struct PciDeviceInfo { int64_t bus; int64_t slot; int64_t function; struct { _Bool has_desc; char *desc; int64_t q_class; } class_info; struct { int64_t device; int64_t vendor; } id; _Bool has_irq; int64_t irq; char *qdev_id; _Bool has_pci_bridge; PciBridgeInfo *pci_bridge; PciMemoryRegionList *regions; }; void qapi_free_PciDeviceInfoList(PciDeviceInfoList *obj); void qapi_free_PciDeviceInfo(PciDeviceInfo *obj); struct PciInfo { int64_t bus; PciDeviceInfoList *devices; }; void qapi_free_PciInfoList(PciInfoList *obj); void qapi_free_PciInfo(PciInfo *obj); struct Abort { char qapi_dummy_field_for_empty_struct; }; void qapi_free_AbortList(AbortList *obj); void qapi_free_Abort(Abort *obj); struct TransactionAction { TransactionActionKind kind; union { void *data; BlockdevSnapshot *blockdev_snapshot_sync; DriveBackup *drive_backup; BlockdevBackup *blockdev_backup; Abort *abort; BlockdevSnapshotInternal *blockdev_snapshot_internal_sync; }; }; void qapi_free_TransactionActionList(TransactionActionList *obj); void qapi_free_TransactionAction(TransactionAction *obj); struct ObjectPropertyInfo { char *name; char *type; }; void qapi_free_ObjectPropertyInfoList(ObjectPropertyInfoList *obj); void qapi_free_ObjectPropertyInfo(ObjectPropertyInfo *obj); struct ObjectTypeInfo { char *name; }; void qapi_free_ObjectTypeInfoList(ObjectTypeInfoList *obj); void qapi_free_ObjectTypeInfo(ObjectTypeInfo *obj); struct DevicePropertyInfo { char *name; char *type; _Bool has_description; char *description; }; void qapi_free_DevicePropertyInfoList(DevicePropertyInfoList *obj); void qapi_free_DevicePropertyInfo(DevicePropertyInfo *obj); void qapi_free_DumpGuestMemoryFormatList(DumpGuestMemoryFormatList *obj); struct DumpGuestMemoryCapability { DumpGuestMemoryFormatList *formats; }; void qapi_free_DumpGuestMemoryCapabilityList(DumpGuestMemoryCapabilityList *obj); void qapi_free_DumpGuestMemoryCapability(DumpGuestMemoryCapability *obj); struct NetdevNoneOptions { char qapi_dummy_field_for_empty_struct; }; void qapi_free_NetdevNoneOptionsList(NetdevNoneOptionsList *obj); void qapi_free_NetdevNoneOptions(NetdevNoneOptions *obj); struct NetLegacyNicOptions { _Bool has_netdev; char *netdev; _Bool has_macaddr; char *macaddr; _Bool has_model; char *model; _Bool has_addr; char *addr; _Bool has_vectors; uint32_t vectors; }; void qapi_free_NetLegacyNicOptionsList(NetLegacyNicOptionsList *obj); void qapi_free_NetLegacyNicOptions(NetLegacyNicOptions *obj); struct String { char *str; }; void qapi_free_StringList(StringList *obj); void qapi_free_String(String *obj); struct NetdevUserOptions { _Bool has_hostname; char *hostname; _Bool has_q_restrict; _Bool q_restrict; _Bool has_ip; char *ip; _Bool has_net; char *net; _Bool has_host; char *host; _Bool has_tftp; char *tftp; _Bool has_bootfile; char *bootfile; _Bool has_dhcpstart; char *dhcpstart; _Bool has_dns; char *dns; _Bool has_dnssearch; StringList *dnssearch; _Bool has_smb; char *smb; _Bool has_smbserver; char *smbserver; _Bool has_hostfwd; StringList *hostfwd; _Bool has_guestfwd; StringList *guestfwd; }; void qapi_free_NetdevUserOptionsList(NetdevUserOptionsList *obj); void qapi_free_NetdevUserOptions(NetdevUserOptions *obj); struct NetdevTapOptions { _Bool has_ifname; char *ifname; _Bool has_fd; char *fd; _Bool has_fds; char *fds; _Bool has_script; char *script; _Bool has_downscript; char *downscript; _Bool has_helper; char *helper; _Bool has_sndbuf; uint64_t sndbuf; _Bool has_vnet_hdr; _Bool vnet_hdr; _Bool has_vhost; _Bool vhost; _Bool has_vhostfd; char *vhostfd; _Bool has_vhostfds; char *vhostfds; _Bool has_vhostforce; _Bool vhostforce; _Bool has_queues; uint32_t queues; }; void qapi_free_NetdevTapOptionsList(NetdevTapOptionsList *obj); void qapi_free_NetdevTapOptions(NetdevTapOptions *obj); struct NetdevSocketOptions { _Bool has_fd; char *fd; _Bool has_listen; char *listen; _Bool has_connect; char *connect; _Bool has_mcast; char *mcast; _Bool has_localaddr; char *localaddr; _Bool has_udp; char *udp; }; void qapi_free_NetdevSocketOptionsList(NetdevSocketOptionsList *obj); void qapi_free_NetdevSocketOptions(NetdevSocketOptions *obj); struct NetdevL2TPv3Options { char *src; char *dst; _Bool has_srcport; char *srcport; _Bool has_dstport; char *dstport; _Bool has_ipv6; _Bool ipv6; _Bool has_udp; _Bool udp; _Bool has_cookie64; _Bool cookie64; _Bool has_counter; _Bool counter; _Bool has_pincounter; _Bool pincounter; _Bool has_txcookie; uint64_t txcookie; _Bool has_rxcookie; uint64_t rxcookie; uint32_t txsession; _Bool has_rxsession; uint32_t rxsession; _Bool has_offset; uint32_t offset; }; void qapi_free_NetdevL2TPv3OptionsList(NetdevL2TPv3OptionsList *obj); void qapi_free_NetdevL2TPv3Options(NetdevL2TPv3Options *obj); struct NetdevVdeOptions { _Bool has_sock; char *sock; _Bool has_port; uint16_t port; _Bool has_group; char *group; _Bool has_mode; uint16_t mode; }; void qapi_free_NetdevVdeOptionsList(NetdevVdeOptionsList *obj); void qapi_free_NetdevVdeOptions(NetdevVdeOptions *obj); struct NetdevDumpOptions { _Bool has_len; uint64_t len; _Bool has_file; char *file; }; void qapi_free_NetdevDumpOptionsList(NetdevDumpOptionsList *obj); void qapi_free_NetdevDumpOptions(NetdevDumpOptions *obj); struct NetdevBridgeOptions { _Bool has_br; char *br; _Bool has_helper; char *helper; }; void qapi_free_NetdevBridgeOptionsList(NetdevBridgeOptionsList *obj); void qapi_free_NetdevBridgeOptions(NetdevBridgeOptions *obj); struct NetdevHubPortOptions { int32_t hubid; }; void qapi_free_NetdevHubPortOptionsList(NetdevHubPortOptionsList *obj); void qapi_free_NetdevHubPortOptions(NetdevHubPortOptions *obj); struct NetdevNetmapOptions { char *ifname; _Bool has_devname; char *devname; }; void qapi_free_NetdevNetmapOptionsList(NetdevNetmapOptionsList *obj); void qapi_free_NetdevNetmapOptions(NetdevNetmapOptions *obj); struct NetdevVhostUserOptions { char *chardev; _Bool has_vhostforce; _Bool vhostforce; }; void qapi_free_NetdevVhostUserOptionsList(NetdevVhostUserOptionsList *obj); void qapi_free_NetdevVhostUserOptions(NetdevVhostUserOptions *obj); struct NetClientOptions { NetClientOptionsKind kind; union { void *data; NetdevNoneOptions *none; NetLegacyNicOptions *nic; NetdevUserOptions *user; NetdevTapOptions *tap; NetdevL2TPv3Options *l2tpv3; NetdevSocketOptions *socket; NetdevVdeOptions *vde; NetdevDumpOptions *dump; NetdevBridgeOptions *bridge; NetdevHubPortOptions *hubport; NetdevNetmapOptions *netmap; NetdevVhostUserOptions *vhost_user; }; }; void qapi_free_NetClientOptionsList(NetClientOptionsList *obj); void qapi_free_NetClientOptions(NetClientOptions *obj); struct NetLegacy { _Bool has_vlan; int32_t vlan; _Bool has_id; char *id; _Bool has_name; char *name; NetClientOptions *opts; }; void qapi_free_NetLegacyList(NetLegacyList *obj); void qapi_free_NetLegacy(NetLegacy *obj); struct Netdev { char *id; NetClientOptions *opts; }; void qapi_free_NetdevList(NetdevList *obj); void qapi_free_Netdev(Netdev *obj); struct InetSocketAddress { char *host; char *port; _Bool has_to; uint16_t to; _Bool has_ipv4; _Bool ipv4; _Bool has_ipv6; _Bool ipv6; }; void qapi_free_InetSocketAddressList(InetSocketAddressList *obj); void qapi_free_InetSocketAddress(InetSocketAddress *obj); struct UnixSocketAddress { char *path; }; void qapi_free_UnixSocketAddressList(UnixSocketAddressList *obj); void qapi_free_UnixSocketAddress(UnixSocketAddress *obj); struct SocketAddress { SocketAddressKind kind; union { void *data; InetSocketAddress *inet; UnixSocketAddress *q_unix; String *fd; }; }; void qapi_free_SocketAddressList(SocketAddressList *obj); void qapi_free_SocketAddress(SocketAddress *obj); struct MachineInfo { char *name; _Bool has_alias; char *alias; _Bool has_is_default; _Bool is_default; int64_t cpu_max; }; void qapi_free_MachineInfoList(MachineInfoList *obj); void qapi_free_MachineInfo(MachineInfo *obj); struct CpuDefinitionInfo { char *name; }; void qapi_free_CpuDefinitionInfoList(CpuDefinitionInfoList *obj); void qapi_free_CpuDefinitionInfo(CpuDefinitionInfo *obj); struct AddfdInfo { int64_t fdset_id; int64_t fd; }; void qapi_free_AddfdInfoList(AddfdInfoList *obj); void qapi_free_AddfdInfo(AddfdInfo *obj); struct FdsetFdInfo { int64_t fd; _Bool has_opaque; char *opaque; }; void qapi_free_FdsetFdInfoList(FdsetFdInfoList *obj); void qapi_free_FdsetFdInfo(FdsetFdInfo *obj); struct FdsetInfo { int64_t fdset_id; FdsetFdInfoList *fds; }; void qapi_free_FdsetInfoList(FdsetInfoList *obj); void qapi_free_FdsetInfo(FdsetInfo *obj); struct TargetInfo { char *arch; }; void qapi_free_TargetInfoList(TargetInfoList *obj); void qapi_free_TargetInfo(TargetInfo *obj); void qapi_free_QKeyCodeList(QKeyCodeList *obj); struct KeyValue { KeyValueKind kind; union { void *data; int64_t number; QKeyCode qcode; }; }; void qapi_free_KeyValueList(KeyValueList *obj); void qapi_free_KeyValue(KeyValue *obj); struct ChardevFile { _Bool has_in; char *in; char *out; }; void qapi_free_ChardevFileList(ChardevFileList *obj); void qapi_free_ChardevFile(ChardevFile *obj); struct ChardevHostdev { char *device; }; void qapi_free_ChardevHostdevList(ChardevHostdevList *obj); void qapi_free_ChardevHostdev(ChardevHostdev *obj); struct ChardevSocket { SocketAddress *addr; _Bool has_server; _Bool server; _Bool has_wait; _Bool wait; _Bool has_nodelay; _Bool nodelay; _Bool has_telnet; _Bool telnet; _Bool has_reconnect; int64_t reconnect; }; void qapi_free_ChardevSocketList(ChardevSocketList *obj); void qapi_free_ChardevSocket(ChardevSocket *obj); struct ChardevUdp { SocketAddress *remote; _Bool has_local; SocketAddress *local; }; void qapi_free_ChardevUdpList(ChardevUdpList *obj); void qapi_free_ChardevUdp(ChardevUdp *obj); struct ChardevMux { char *chardev; }; void qapi_free_ChardevMuxList(ChardevMuxList *obj); void qapi_free_ChardevMux(ChardevMux *obj); struct ChardevStdio { _Bool has_signal; _Bool signal; }; void qapi_free_ChardevStdioList(ChardevStdioList *obj); void qapi_free_ChardevStdio(ChardevStdio *obj); struct ChardevSpiceChannel { char *type; }; void qapi_free_ChardevSpiceChannelList(ChardevSpiceChannelList *obj); void qapi_free_ChardevSpiceChannel(ChardevSpiceChannel *obj); struct ChardevSpicePort { char *fqdn; }; void qapi_free_ChardevSpicePortList(ChardevSpicePortList *obj); void qapi_free_ChardevSpicePort(ChardevSpicePort *obj); struct ChardevVC { _Bool has_width; int64_t width; _Bool has_height; int64_t height; _Bool has_cols; int64_t cols; _Bool has_rows; int64_t rows; }; void qapi_free_ChardevVCList(ChardevVCList *obj); void qapi_free_ChardevVC(ChardevVC *obj); struct ChardevRingbuf { _Bool has_size; int64_t size; }; void qapi_free_ChardevRingbufList(ChardevRingbufList *obj); void qapi_free_ChardevRingbuf(ChardevRingbuf *obj); struct ChardevDummy { char qapi_dummy_field_for_empty_struct; }; void qapi_free_ChardevDummyList(ChardevDummyList *obj); void qapi_free_ChardevDummy(ChardevDummy *obj); struct ChardevBackend { ChardevBackendKind kind; union { void *data; ChardevFile *file; ChardevHostdev *serial; ChardevHostdev *parallel; ChardevHostdev *pipe; ChardevSocket *socket; ChardevUdp *udp; ChardevDummy *pty; ChardevDummy *null; ChardevMux *mux; ChardevDummy *msmouse; ChardevDummy *braille; ChardevDummy *testdev; ChardevStdio *stdio; ChardevDummy *console; ChardevSpiceChannel *spicevmc; ChardevSpicePort *spiceport; ChardevVC *vc; ChardevRingbuf *ringbuf; ChardevRingbuf *memory; }; }; void qapi_free_ChardevBackendList(ChardevBackendList *obj); void qapi_free_ChardevBackend(ChardevBackend *obj); struct ChardevReturn { _Bool has_pty; char *pty; }; void qapi_free_ChardevReturnList(ChardevReturnList *obj); void qapi_free_ChardevReturn(ChardevReturn *obj); void qapi_free_TpmModelList(TpmModelList *obj); void qapi_free_TpmTypeList(TpmTypeList *obj); struct TPMPassthroughOptions { _Bool has_path; char *path; _Bool has_cancel_path; char *cancel_path; }; void qapi_free_TPMPassthroughOptionsList(TPMPassthroughOptionsList *obj); void qapi_free_TPMPassthroughOptions(TPMPassthroughOptions *obj); struct TpmTypeOptions { TpmTypeOptionsKind kind; union { void *data; TPMPassthroughOptions *passthrough; }; }; void qapi_free_TpmTypeOptionsList(TpmTypeOptionsList *obj); void qapi_free_TpmTypeOptions(TpmTypeOptions *obj); struct TPMInfo { char *id; TpmModel model; TpmTypeOptions *options; }; void qapi_free_TPMInfoList(TPMInfoList *obj); void qapi_free_TPMInfo(TPMInfo *obj); struct AcpiTableOptions { _Bool has_sig; char *sig; _Bool has_rev; uint8_t rev; _Bool has_oem_id; char *oem_id; _Bool has_oem_table_id; char *oem_table_id; _Bool has_oem_rev; uint32_t oem_rev; _Bool has_asl_compiler_id; char *asl_compiler_id; _Bool has_asl_compiler_rev; uint32_t asl_compiler_rev; _Bool has_file; char *file; _Bool has_data; char *data; }; void qapi_free_AcpiTableOptionsList(AcpiTableOptionsList *obj); void qapi_free_AcpiTableOptions(AcpiTableOptions *obj); void qapi_free_CommandLineParameterTypeList(CommandLineParameterTypeList *obj); struct CommandLineParameterInfo { char *name; CommandLineParameterType type; _Bool has_help; char *help; _Bool has_q_default; char *q_default; }; void qapi_free_CommandLineParameterInfoList(CommandLineParameterInfoList *obj); void qapi_free_CommandLineParameterInfo(CommandLineParameterInfo *obj); struct CommandLineOptionInfo { char *option; CommandLineParameterInfoList *parameters; }; void qapi_free_CommandLineOptionInfoList(CommandLineOptionInfoList *obj); void qapi_free_CommandLineOptionInfo(CommandLineOptionInfo *obj); void qapi_free_X86CPURegister32List(X86CPURegister32List *obj); struct X86CPUFeatureWordInfo { int64_t cpuid_input_eax; _Bool has_cpuid_input_ecx; int64_t cpuid_input_ecx; X86CPURegister32 cpuid_register; int64_t features; }; void qapi_free_X86CPUFeatureWordInfoList(X86CPUFeatureWordInfoList *obj); void qapi_free_X86CPUFeatureWordInfo(X86CPUFeatureWordInfo *obj); void qapi_free_RxStateList(RxStateList *obj); struct RxFilterInfo { char *name; _Bool promiscuous; RxState multicast; RxState unicast; RxState vlan; _Bool broadcast_allowed; _Bool multicast_overflow; _Bool unicast_overflow; char *main_mac; intList *vlan_table; strList *unicast_table; strList *multicast_table; }; void qapi_free_RxFilterInfoList(RxFilterInfoList *obj); void qapi_free_RxFilterInfo(RxFilterInfo *obj); void qapi_free_InputButtonList(InputButtonList *obj); void qapi_free_InputAxisList(InputAxisList *obj); struct InputKeyEvent { KeyValue *key; _Bool down; }; void qapi_free_InputKeyEventList(InputKeyEventList *obj); void qapi_free_InputKeyEvent(InputKeyEvent *obj); struct InputBtnEvent { InputButton button; _Bool down; }; void qapi_free_InputBtnEventList(InputBtnEventList *obj); void qapi_free_InputBtnEvent(InputBtnEvent *obj); struct InputMoveEvent { InputAxis axis; int64_t value; }; void qapi_free_InputMoveEventList(InputMoveEventList *obj); void qapi_free_InputMoveEvent(InputMoveEvent *obj); struct InputEvent { InputEventKind kind; union { void *data; InputKeyEvent *key; InputBtnEvent *btn; InputMoveEvent *rel; InputMoveEvent *abs; }; }; void qapi_free_InputEventList(InputEventList *obj); void qapi_free_InputEvent(InputEvent *obj); struct NumaOptions { NumaOptionsKind kind; union { void *data; NumaNodeOptions *node; }; }; void qapi_free_NumaOptionsList(NumaOptionsList *obj); void qapi_free_NumaOptions(NumaOptions *obj); struct NumaNodeOptions { _Bool has_nodeid; uint16_t nodeid; _Bool has_cpus; uint16List *cpus; _Bool has_mem; uint64_t mem; _Bool has_memdev; char *memdev; }; void qapi_free_NumaNodeOptionsList(NumaNodeOptionsList *obj); void qapi_free_NumaNodeOptions(NumaNodeOptions *obj); void qapi_free_HostMemPolicyList(HostMemPolicyList *obj); struct Memdev { uint64_t size; _Bool merge; _Bool dump; _Bool prealloc; uint16List *host_nodes; HostMemPolicy policy; }; void qapi_free_MemdevList(MemdevList *obj); void qapi_free_Memdev(Memdev *obj); struct PCDIMMDeviceInfo { _Bool has_id; char *id; int64_t addr; int64_t size; int64_t slot; int64_t node; char *memdev; _Bool hotplugged; _Bool hotpluggable; }; void qapi_free_PCDIMMDeviceInfoList(PCDIMMDeviceInfoList *obj); void qapi_free_PCDIMMDeviceInfo(PCDIMMDeviceInfo *obj); struct MemoryDeviceInfo { MemoryDeviceInfoKind kind; union { void *data; PCDIMMDeviceInfo *dimm; }; }; void qapi_free_MemoryDeviceInfoList(MemoryDeviceInfoList *obj); void qapi_free_MemoryDeviceInfo(MemoryDeviceInfo *obj); void qapi_free_ACPISlotTypeList(ACPISlotTypeList *obj); struct ACPIOSTInfo { _Bool has_device; char *device; char *slot; ACPISlotType slot_type; int64_t source; int64_t status; }; void qapi_free_ACPIOSTInfoList(ACPIOSTInfoList *obj); void qapi_free_ACPIOSTInfo(ACPIOSTInfo *obj); void qapi_free_WatchdogExpirationActionList(WatchdogExpirationActionList *obj); void qapi_free_IoOperationTypeList(IoOperationTypeList *obj); void qapi_free_GuestPanicActionList(GuestPanicActionList *obj); # 17 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/error.h" 2 typedef struct Error Error; void error_set(Error **errp, ErrorClass err_class, const char *fmt, ...) __attribute__((format(gnu_printf, 3, 4))); void error_set_errno(Error **errp, int os_error, ErrorClass err_class, const char *fmt, ...) __attribute__((format(gnu_printf, 4, 5))); # 68 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/error.h" void error_setg_file_open(Error **errp, int os_errno, const char *filename); ErrorClass error_get_class(const Error *err); Error *error_copy(const Error *err); const char *error_get_pretty(Error *err); void error_report_err(Error *); void error_propagate(Error **dst_errp, Error *local_err); void error_free(Error *err); extern Error *error_abort; # 32 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/option.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qdict.h" 1 # 16 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qdict.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h" 1 # 35 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h" # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 36 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h" 2 # 1 "/usr/include/assert.h" 1 3 4 # 37 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h" 2 typedef enum { QTYPE_NONE, QTYPE_QINT, QTYPE_QSTRING, QTYPE_QDICT, QTYPE_QLIST, QTYPE_QFLOAT, QTYPE_QBOOL, QTYPE_QERROR, QTYPE_MAX, } qtype_code; struct QObject; typedef struct QType { qtype_code code; void (*destroy)(struct QObject *); } QType; typedef struct QObject { const QType *type; size_t refcnt; } QObject; # 85 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h" static inline void qobject_incref(QObject *obj) { if (obj) obj->refcnt++; } static inline void qobject_decref(QObject *obj) { if (obj && --obj->refcnt == 0) { ((obj->type != ((void *)0)) ? (void) (0) : __assert_fail ("obj->type != ((void *)0)", "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h", 98, __PRETTY_FUNCTION__)); ((obj->type->destroy != ((void *)0)) ? (void) (0) : __assert_fail ("obj->type->destroy != ((void *)0)", "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h", 99, __PRETTY_FUNCTION__)); obj->type->destroy(obj); } } static inline qtype_code qobject_type(const QObject *obj) { ((obj->type != ((void *)0)) ? (void) (0) : __assert_fail ("obj->type != ((void *)0)", "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qobject.h", 109, __PRETTY_FUNCTION__)); return obj->type->code; } # 17 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qdict.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qlist.h" 1 # 19 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qlist.h" typedef struct QListEntry { QObject *value; struct { struct QListEntry *tqe_next; struct QListEntry * *tqe_prev; } next; } QListEntry; typedef struct QList { QObject base; struct { struct QListEntry *tqh_first; struct QListEntry * *tqh_last; } head; } QList; # 37 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qlist.h" static inline QObject *qlist_entry_obj(const QListEntry *entry) { return entry->value; } QList *qlist_new(void); QList *qlist_copy(QList *src); void qlist_append_obj(QList *qlist, QObject *obj); void qlist_iter(const QList *qlist, void (*iter)(QObject *obj, void *opaque), void *opaque); QObject *qlist_pop(QList *qlist); QObject *qlist_peek(QList *qlist); int qlist_empty(const QList *qlist); size_t qlist_size(const QList *qlist); QList *qobject_to_qlist(const QObject *obj); static inline const QListEntry *qlist_first(const QList *qlist) { return ((&qlist->head)->tqh_first); } static inline const QListEntry *qlist_next(const QListEntry *entry) { return ((entry)->next.tqe_next); } # 18 "/home/pi/Загрузки/qemu-2.3.1/include/qapi/qmp/qdict.h" 2 typedef struct QDictEntry { char *key; QObject *value; struct { struct QDictEntry *le_next; struct QDictEntry **le_prev; } next; } QDictEntry; typedef struct QDict { QObject base; size_t size; struct { struct QDictEntry *lh_first; } table[512]; } QDict; QDict *qdict_new(void); const char *qdict_entry_key(const QDictEntry *entry); QObject *qdict_entry_value(const QDictEntry *entry); size_t qdict_size(const QDict *qdict); void qdict_put_obj(QDict *qdict, const char *key, QObject *value); void qdict_del(QDict *qdict, const char *key); int qdict_haskey(const QDict *qdict, const char *key); QObject *qdict_get(const QDict *qdict, const char *key); QDict *qobject_to_qdict(const QObject *obj); void qdict_iter(const QDict *qdict, void (*iter)(const char *key, QObject *obj, void *opaque), void *opaque); const QDictEntry *qdict_first(const QDict *qdict); const QDictEntry *qdict_next(const QDict *qdict, const QDictEntry *entry); double qdict_get_double(const QDict *qdict, const char *key); int64_t qdict_get_int(const QDict *qdict, const char *key); int qdict_get_bool(const QDict *qdict, const char *key); QList *qdict_get_qlist(const QDict *qdict, const char *key); QDict *qdict_get_qdict(const QDict *qdict, const char *key); const char *qdict_get_str(const QDict *qdict, const char *key); int64_t qdict_get_try_int(const QDict *qdict, const char *key, int64_t def_value); int qdict_get_try_bool(const QDict *qdict, const char *key, int def_value); const char *qdict_get_try_str(const QDict *qdict, const char *key); QDict *qdict_clone_shallow(const QDict *src); void qdict_flatten(QDict *qdict); void qdict_extract_subqdict(QDict *src, QDict **dst, const char *start); void qdict_array_split(QDict *src, QList **dst); void qdict_join(QDict *dest, QDict *src, _Bool overwrite); # 33 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/option.h" 2 const char *get_opt_name(char *buf, int buf_size, const char *p, char delim); const char *get_opt_value(char *buf, int buf_size, const char *p); int get_next_param_value(char *buf, int buf_size, const char *tag, const char **pstr); int get_param_value(char *buf, int buf_size, const char *tag, const char *str); void parse_option_size(const char *name, const char *value, uint64_t *ret, Error **errp); _Bool has_help_option(const char *param); _Bool is_valid_option_list(const char *param); typedef struct QemuOpt QemuOpt; typedef struct QemuOpts QemuOpts; typedef struct QemuOptsList QemuOptsList; enum QemuOptType { QEMU_OPT_STRING = 0, QEMU_OPT_BOOL, QEMU_OPT_NUMBER, QEMU_OPT_SIZE, }; typedef struct QemuOptDesc { const char *name; enum QemuOptType type; const char *help; const char *def_value_str; } QemuOptDesc; struct QemuOptsList { const char *name; const char *implied_opt_name; _Bool merge_lists; struct { struct QemuOpts *tqh_first; struct QemuOpts * *tqh_last; } head; QemuOptDesc desc[]; }; const char *qemu_opt_get(QemuOpts *opts, const char *name); char *qemu_opt_get_del(QemuOpts *opts, const char *name); # 86 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/option.h" _Bool qemu_opt_has_help_opt(QemuOpts *opts); QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name); _Bool qemu_opt_get_bool(QemuOpts *opts, const char *name, _Bool defval); uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval); uint64_t qemu_opt_get_size(QemuOpts *opts, const char *name, uint64_t defval); _Bool qemu_opt_get_bool_del(QemuOpts *opts, const char *name, _Bool defval); uint64_t qemu_opt_get_number_del(QemuOpts *opts, const char *name, uint64_t defval); uint64_t qemu_opt_get_size_del(QemuOpts *opts, const char *name, uint64_t defval); int qemu_opt_unset(QemuOpts *opts, const char *name); void qemu_opt_set(QemuOpts *opts, const char *name, const char *value, Error **errp); void qemu_opt_set_bool(QemuOpts *opts, const char *name, _Bool val, Error **errp); void qemu_opt_set_number(QemuOpts *opts, const char *name, int64_t val, Error **errp); typedef int (*qemu_opt_loopfunc)(const char *name, const char *value, void *opaque); int qemu_opt_foreach(QemuOpts *opts, qemu_opt_loopfunc func, void *opaque, int abort_on_failure); QemuOpts *qemu_opts_find(QemuOptsList *list, const char *id); QemuOpts *qemu_opts_create(QemuOptsList *list, const char *id, int fail_if_exists, Error **errp); void qemu_opts_reset(QemuOptsList *list); void qemu_opts_loc_restore(QemuOpts *opts); void qemu_opts_set(QemuOptsList *list, const char *id, const char *name, const char *value, Error **errp); const char *qemu_opts_id(QemuOpts *opts); void qemu_opts_set_id(QemuOpts *opts, char *id); void qemu_opts_del(QemuOpts *opts); void qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc, Error **errp); void qemu_opts_do_parse(QemuOpts *opts, const char *params, const char *firstname, Error **errp); QemuOpts *qemu_opts_parse(QemuOptsList *list, const char *params, int permit_abbrev); void qemu_opts_set_defaults(QemuOptsList *list, const char *params, int permit_abbrev); QemuOpts *qemu_opts_from_qdict(QemuOptsList *list, const QDict *qdict, Error **errp); QDict *qemu_opts_to_qdict(QemuOpts *opts, QDict *qdict); void qemu_opts_absorb_qdict(QemuOpts *opts, QDict *qdict, Error **errp); typedef int (*qemu_opts_loopfunc)(QemuOpts *opts, void *opaque); void qemu_opts_print(QemuOpts *opts, const char *sep); int qemu_opts_foreach(QemuOptsList *list, qemu_opts_loopfunc func, void *opaque, int abort_on_failure); void qemu_opts_print_help(QemuOptsList *list); void qemu_opts_free(QemuOptsList *list); QemuOptsList *qemu_opts_append(QemuOptsList *dst, QemuOptsList *list); # 45 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/sysemu/os-posix.h" 1 # 31 "/home/pi/Загрузки/qemu-2.3.1/include/sysemu/os-posix.h" void os_set_line_buffering(void); void os_set_proc_name(const char *s); void os_setup_signal_handling(void); void os_daemonize(void); void os_setup_post(void); int os_mlock(void); typedef struct timeval qemu_timeval; # 49 "/home/pi/Загрузки/qemu-2.3.1/include/sysemu/os-posix.h" typedef struct timespec qemu_timespec; int qemu_utimens(const char *path, const qemu_timespec *times); _Bool is_daemonized(void); # 52 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 88 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" typedef int (*fprintf_function)(FILE *f, const char *fmt, ...) __attribute__((format(gnu_printf, 2, 3))); # 108 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" void cpu_ticks_init(void); void configure_icount(QemuOpts *opts, Error **errp); extern int use_icount; extern int icount_align_option; extern int64_t max_delay; extern int64_t max_advance; void dump_drift_info(FILE *f, fprintf_function cpu_fprintf); # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" 1 # 1 "/home/pi/Загрузки/qemu-2.3.1/config-host.h" 1 # 5 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include/stddef.h" 1 3 4 # 7 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" 2 # 15 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" # 1 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 1 3 4 # 29 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/sys/resource.h" 1 3 4 # 25 "/usr/include/arm-linux-gnueabihf/sys/resource.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/resource.h" 1 3 4 # 33 "/usr/include/arm-linux-gnueabihf/bits/resource.h" 3 4 enum __rlimit_resource { RLIMIT_CPU = 0, RLIMIT_FSIZE = 1, RLIMIT_DATA = 2, RLIMIT_STACK = 3, RLIMIT_CORE = 4, __RLIMIT_RSS = 5, RLIMIT_NOFILE = 7, __RLIMIT_OFILE = RLIMIT_NOFILE, RLIMIT_AS = 9, __RLIMIT_NPROC = 6, __RLIMIT_MEMLOCK = 8, __RLIMIT_LOCKS = 10, __RLIMIT_SIGPENDING = 11, __RLIMIT_MSGQUEUE = 12, __RLIMIT_NICE = 13, __RLIMIT_RTPRIO = 14, __RLIMIT_RTTIME = 15, __RLIMIT_NLIMITS = 16, __RLIM_NLIMITS = __RLIMIT_NLIMITS }; # 135 "/usr/include/arm-linux-gnueabihf/bits/resource.h" 3 4 typedef __rlim64_t rlim_t; typedef __rlim64_t rlim64_t; struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; struct rlimit64 { rlim64_t rlim_cur; rlim64_t rlim_max; }; enum __rusage_who { RUSAGE_SELF = 0, RUSAGE_CHILDREN = -1 , RUSAGE_THREAD = 1 }; # 1 "/usr/include/arm-linux-gnueabihf/bits/time.h" 1 3 4 # 182 "/usr/include/arm-linux-gnueabihf/bits/resource.h" 2 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; long int ru_maxrss; long int ru_ixrss; long int ru_idrss; long int ru_isrss; long int ru_minflt; long int ru_majflt; long int ru_nswap; long int ru_inblock; long int ru_oublock; long int ru_msgsnd; long int ru_msgrcv; long int ru_nsignals; long int ru_nvcsw; long int ru_nivcsw; }; enum __priority_which { PRIO_PROCESS = 0, PRIO_PGRP = 1, PRIO_USER = 2 }; # 253 "/usr/include/arm-linux-gnueabihf/bits/resource.h" 3 4 extern int prlimit (__pid_t __pid, enum __rlimit_resource __resource, __const struct rlimit *__new_limit, struct rlimit *__old_limit) __asm__ ("" "prlimit64") __attribute__ ((__nothrow__)) ; extern int prlimit64 (__pid_t __pid, enum __rlimit_resource __resource, __const struct rlimit64 *__new_limit, struct rlimit64 *__old_limit) __attribute__ ((__nothrow__)); # 26 "/usr/include/arm-linux-gnueabihf/sys/resource.h" 2 3 4 typedef enum __rlimit_resource __rlimit_resource_t; typedef enum __rusage_who __rusage_who_t; typedef enum __priority_which __priority_which_t; # 55 "/usr/include/arm-linux-gnueabihf/sys/resource.h" 3 4 extern int getrlimit (__rlimit_resource_t __resource, struct rlimit *__rlimits) __asm__ ("" "getrlimit64") __attribute__ ((__nothrow__)) ; extern int getrlimit64 (__rlimit_resource_t __resource, struct rlimit64 *__rlimits) __attribute__ ((__nothrow__)); # 74 "/usr/include/arm-linux-gnueabihf/sys/resource.h" 3 4 extern int setrlimit (__rlimit_resource_t __resource, __const struct rlimit *__rlimits) __asm__ ("" "setrlimit64") __attribute__ ((__nothrow__)) ; extern int setrlimit64 (__rlimit_resource_t __resource, __const struct rlimit64 *__rlimits) __attribute__ ((__nothrow__)); extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __attribute__ ((__nothrow__)); extern int getpriority (__priority_which_t __which, id_t __who) __attribute__ ((__nothrow__)); extern int setpriority (__priority_which_t __which, id_t __who, int __prio) __attribute__ ((__nothrow__)); # 33 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 2 3 4 # 102 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 116 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 3 4 extern __pid_t wait (__WAIT_STATUS __stat_loc); # 139 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 3 4 extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); # 1 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 1 3 4 # 25 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 # 26 "/usr/include/arm-linux-gnueabihf/bits/siginfo.h" 2 3 4 # 144 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 2 3 4 # 155 "/usr/include/arm-linux-gnueabihf/sys/wait.h" 3 4 extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop, int __options); struct rusage; extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options, struct rusage * __usage) __attribute__ ((__nothrow__)); extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options, struct rusage *__usage) __attribute__ ((__nothrow__)); # 16 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" 2 # 104 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" int qemu_daemon(int nochdir, int noclose); void *qemu_try_memalign(size_t alignment, size_t size); void *qemu_memalign(size_t alignment, size_t size); void *qemu_anon_ram_alloc(size_t size, uint64_t *align); void qemu_vfree(void *ptr); void qemu_anon_ram_free(void *ptr, size_t size); # 172 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" int qemu_madvise(void *addr, size_t len, int advice); int qemu_open(const char *name, int flags, ...); int qemu_close(int fd); # 185 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" int qemu_create_pidfile(const char *filename); int qemu_get_thread_id(void); # 201 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" # 1 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 1 3 4 # 26 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/uio.h" 1 3 4 # 30 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 2 3 4 # 40 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 3 4 extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count) __attribute__ ((__warn_unused_result__)); # 51 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 3 4 extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count) __attribute__ ((__warn_unused_result__)); # 82 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "preadv64") __attribute__ ((__warn_unused_result__)); extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "pwritev64") __attribute__ ((__warn_unused_result__)); # 104 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 3 4 extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count, __off64_t __offset) __attribute__ ((__warn_unused_result__)); # 116 "/usr/include/arm-linux-gnueabihf/sys/uio.h" 3 4 extern ssize_t pwritev64 (int __fd, __const struct iovec *__iovec, int __count, __off64_t __offset) __attribute__ ((__warn_unused_result__)); # 202 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" 2 # 221 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" void qemu_set_cloexec(int fd); void qemu_set_version(const char *); const char *qemu_get_version(void); void fips_set_state(_Bool requested); _Bool fips_get_state(void); # 238 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" char *qemu_get_local_state_pathname(const char *relative_pathname); void qemu_init_exec_dir(const char *argv0); char *qemu_get_exec_dir(void); # 256 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" unsigned long qemu_getauxval(unsigned long type); void qemu_set_tty_echo(int fd, _Bool echo); void os_mem_prealloc(int fd, char *area, size_t sz); # 120 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" 1 # 1 "/home/pi/Загрузки/qemu-2.3.1/config-host.h" 1 # 5 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 1 3 4 # 7 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" 1 # 90 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/config-host.h" 1 # 91 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/osdep.h" 1 # 92 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" 2 # 101 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" typedef uint8_t flag; typedef uint8_t uint8; typedef int8_t int8; typedef unsigned int uint32; typedef signed int int32; typedef uint64_t uint64; typedef int64_t int64; enum { float_relation_less = -1, float_relation_equal = 0, float_relation_greater = 1, float_relation_unordered = 2 }; # 150 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" typedef uint16_t float16; typedef uint32_t float32; typedef uint64_t float64; # 163 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" typedef struct { uint64_t low; uint16_t high; } floatx80; typedef struct { uint64_t low, high; } float128; enum { float_tininess_after_rounding = 0, float_tininess_before_rounding = 1 }; enum { float_round_nearest_even = 0, float_round_down = 1, float_round_up = 2, float_round_to_zero = 3, float_round_ties_away = 4, }; enum { float_flag_invalid = 1, float_flag_divbyzero = 4, float_flag_overflow = 8, float_flag_underflow = 16, float_flag_inexact = 32, float_flag_input_denormal = 64, float_flag_output_denormal = 128 }; typedef struct float_status { signed char float_detect_tininess; signed char float_rounding_mode; signed char float_exception_flags; signed char floatx80_rounding_precision; flag flush_to_zero; flag flush_inputs_to_zero; flag default_nan_mode; } float_status; static __attribute__ (( always_inline )) __inline__ void set_float_detect_tininess(int val, float_status *status) { status->float_detect_tininess = val; } static __attribute__ (( always_inline )) __inline__ void set_float_rounding_mode(int val, float_status *status) { status->float_rounding_mode = val; } static __attribute__ (( always_inline )) __inline__ void set_float_exception_flags(int val, float_status *status) { status->float_exception_flags = val; } static __attribute__ (( always_inline )) __inline__ void set_floatx80_rounding_precision(int val, float_status *status) { status->floatx80_rounding_precision = val; } static __attribute__ (( always_inline )) __inline__ void set_flush_to_zero(flag val, float_status *status) { status->flush_to_zero = val; } static __attribute__ (( always_inline )) __inline__ void set_flush_inputs_to_zero(flag val, float_status *status) { status->flush_inputs_to_zero = val; } static __attribute__ (( always_inline )) __inline__ void set_default_nan_mode(flag val, float_status *status) { status->default_nan_mode = val; } static __attribute__ (( always_inline )) __inline__ int get_float_detect_tininess(float_status *status) { return status->float_detect_tininess; } static __attribute__ (( always_inline )) __inline__ int get_float_rounding_mode(float_status *status) { return status->float_rounding_mode; } static __attribute__ (( always_inline )) __inline__ int get_float_exception_flags(float_status *status) { return status->float_exception_flags; } static __attribute__ (( always_inline )) __inline__ int get_floatx80_rounding_precision(float_status *status) { return status->floatx80_rounding_precision; } static __attribute__ (( always_inline )) __inline__ flag get_flush_to_zero(float_status *status) { return status->flush_to_zero; } static __attribute__ (( always_inline )) __inline__ flag get_flush_inputs_to_zero(float_status *status) { return status->flush_inputs_to_zero; } static __attribute__ (( always_inline )) __inline__ flag get_default_nan_mode(float_status *status) { return status->default_nan_mode; } void float_raise(int8 flags, float_status *status); float32 float32_squash_input_denormal(float32 a, float_status *status); float64 float64_squash_input_denormal(float64 a, float_status *status); # 302 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" enum { float_muladd_negate_c = 1, float_muladd_negate_product = 2, float_muladd_negate_result = 4, float_muladd_halve_result = 8, }; float32 int32_to_float32(int32_t, float_status *status); float64 int32_to_float64(int32_t, float_status *status); float32 uint32_to_float32(uint32_t, float_status *status); float64 uint32_to_float64(uint32_t, float_status *status); floatx80 int32_to_floatx80(int32_t, float_status *status); float128 int32_to_float128(int32_t, float_status *status); float32 int64_to_float32(int64_t, float_status *status); float64 int64_to_float64(int64_t, float_status *status); floatx80 int64_to_floatx80(int64_t, float_status *status); float128 int64_to_float128(int64_t, float_status *status); float32 uint64_to_float32(uint64_t, float_status *status); float64 uint64_to_float64(uint64_t, float_status *status); float128 uint64_to_float128(uint64_t, float_status *status); static __attribute__ (( always_inline )) __inline__ float32 int16_to_float32(int16_t v, float_status *status) { return int32_to_float32(v, status); } static __attribute__ (( always_inline )) __inline__ float32 uint16_to_float32(uint16_t v, float_status *status) { return uint32_to_float32(v, status); } static __attribute__ (( always_inline )) __inline__ float64 int16_to_float64(int16_t v, float_status *status) { return int32_to_float64(v, status); } static __attribute__ (( always_inline )) __inline__ float64 uint16_to_float64(uint16_t v, float_status *status) { return uint32_to_float64(v, status); } float16 float32_to_float16(float32, flag, float_status *status); float32 float16_to_float32(float16, flag, float_status *status); float16 float64_to_float16(float64 a, flag ieee, float_status *status); float64 float16_to_float64(float16 a, flag ieee, float_status *status); int float16_is_quiet_nan( float16 ); int float16_is_signaling_nan( float16 ); float16 float16_maybe_silence_nan( float16 ); static __attribute__ (( always_inline )) __inline__ int float16_is_any_nan(float16 a) { return (((a) & ~0x8000) > 0x7c00); } extern const float16 float16_default_nan; int_fast16_t float32_to_int16(float32, float_status *status); uint_fast16_t float32_to_uint16(float32, float_status *status); int_fast16_t float32_to_int16_round_to_zero(float32, float_status *status); uint_fast16_t float32_to_uint16_round_to_zero(float32, float_status *status); int32 float32_to_int32(float32, float_status *status); int32 float32_to_int32_round_to_zero(float32, float_status *status); uint32 float32_to_uint32(float32, float_status *status); uint32 float32_to_uint32_round_to_zero(float32, float_status *status); int64 float32_to_int64(float32, float_status *status); uint64 float32_to_uint64(float32, float_status *status); uint64 float32_to_uint64_round_to_zero(float32, float_status *status); int64 float32_to_int64_round_to_zero(float32, float_status *status); float64 float32_to_float64(float32, float_status *status); floatx80 float32_to_floatx80(float32, float_status *status); float128 float32_to_float128(float32, float_status *status); float32 float32_round_to_int(float32, float_status *status); float32 float32_add(float32, float32, float_status *status); float32 float32_sub(float32, float32, float_status *status); float32 float32_mul(float32, float32, float_status *status); float32 float32_div(float32, float32, float_status *status); float32 float32_rem(float32, float32, float_status *status); float32 float32_muladd(float32, float32, float32, int, float_status *status); float32 float32_sqrt(float32, float_status *status); float32 float32_exp2(float32, float_status *status); float32 float32_log2(float32, float_status *status); int float32_eq(float32, float32, float_status *status); int float32_le(float32, float32, float_status *status); int float32_lt(float32, float32, float_status *status); int float32_unordered(float32, float32, float_status *status); int float32_eq_quiet(float32, float32, float_status *status); int float32_le_quiet(float32, float32, float_status *status); int float32_lt_quiet(float32, float32, float_status *status); int float32_unordered_quiet(float32, float32, float_status *status); int float32_compare(float32, float32, float_status *status); int float32_compare_quiet(float32, float32, float_status *status); float32 float32_min(float32, float32, float_status *status); float32 float32_max(float32, float32, float_status *status); float32 float32_minnum(float32, float32, float_status *status); float32 float32_maxnum(float32, float32, float_status *status); float32 float32_minnummag(float32, float32, float_status *status); float32 float32_maxnummag(float32, float32, float_status *status); int float32_is_quiet_nan( float32 ); int float32_is_signaling_nan( float32 ); float32 float32_maybe_silence_nan( float32 ); float32 float32_scalbn(float32, int, float_status *status); static __attribute__ (( always_inline )) __inline__ float32 float32_abs(float32 a) { return ((a) & 0x7fffffff); } static __attribute__ (( always_inline )) __inline__ float32 float32_chs(float32 a) { return ((a) ^ 0x80000000); } static __attribute__ (( always_inline )) __inline__ int float32_is_infinity(float32 a) { return ((a) & 0x7fffffff) == 0x7f800000; } static __attribute__ (( always_inline )) __inline__ int float32_is_neg(float32 a) { return (a) >> 31; } static __attribute__ (( always_inline )) __inline__ int float32_is_zero(float32 a) { return ((a) & 0x7fffffff) == 0; } static __attribute__ (( always_inline )) __inline__ int float32_is_any_nan(float32 a) { return (((a) & ~(1 << 31)) > 0x7f800000UL); } static __attribute__ (( always_inline )) __inline__ int float32_is_zero_or_denormal(float32 a) { return ((a) & 0x7f800000) == 0; } static __attribute__ (( always_inline )) __inline__ float32 float32_set_sign(float32 a, int sign) { return (((a) & 0x7fffffff) | (sign << 31)); } # 482 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" extern const float32 float32_default_nan; int_fast16_t float64_to_int16(float64, float_status *status); uint_fast16_t float64_to_uint16(float64, float_status *status); int_fast16_t float64_to_int16_round_to_zero(float64, float_status *status); uint_fast16_t float64_to_uint16_round_to_zero(float64, float_status *status); int32 float64_to_int32(float64, float_status *status); int32 float64_to_int32_round_to_zero(float64, float_status *status); uint32 float64_to_uint32(float64, float_status *status); uint32 float64_to_uint32_round_to_zero(float64, float_status *status); int64 float64_to_int64(float64, float_status *status); int64 float64_to_int64_round_to_zero(float64, float_status *status); uint64 float64_to_uint64(float64 a, float_status *status); uint64 float64_to_uint64_round_to_zero(float64 a, float_status *status); float32 float64_to_float32(float64, float_status *status); floatx80 float64_to_floatx80(float64, float_status *status); float128 float64_to_float128(float64, float_status *status); float64 float64_round_to_int(float64, float_status *status); float64 float64_trunc_to_int(float64, float_status *status); float64 float64_add(float64, float64, float_status *status); float64 float64_sub(float64, float64, float_status *status); float64 float64_mul(float64, float64, float_status *status); float64 float64_div(float64, float64, float_status *status); float64 float64_rem(float64, float64, float_status *status); float64 float64_muladd(float64, float64, float64, int, float_status *status); float64 float64_sqrt(float64, float_status *status); float64 float64_log2(float64, float_status *status); int float64_eq(float64, float64, float_status *status); int float64_le(float64, float64, float_status *status); int float64_lt(float64, float64, float_status *status); int float64_unordered(float64, float64, float_status *status); int float64_eq_quiet(float64, float64, float_status *status); int float64_le_quiet(float64, float64, float_status *status); int float64_lt_quiet(float64, float64, float_status *status); int float64_unordered_quiet(float64, float64, float_status *status); int float64_compare(float64, float64, float_status *status); int float64_compare_quiet(float64, float64, float_status *status); float64 float64_min(float64, float64, float_status *status); float64 float64_max(float64, float64, float_status *status); float64 float64_minnum(float64, float64, float_status *status); float64 float64_maxnum(float64, float64, float_status *status); float64 float64_minnummag(float64, float64, float_status *status); float64 float64_maxnummag(float64, float64, float_status *status); int float64_is_quiet_nan( float64 a ); int float64_is_signaling_nan( float64 ); float64 float64_maybe_silence_nan( float64 ); float64 float64_scalbn(float64, int, float_status *status); static __attribute__ (( always_inline )) __inline__ float64 float64_abs(float64 a) { return ((a) & 0x7fffffffffffffffLL); } static __attribute__ (( always_inline )) __inline__ float64 float64_chs(float64 a) { return ((a) ^ 0x8000000000000000LL); } static __attribute__ (( always_inline )) __inline__ int float64_is_infinity(float64 a) { return ((a) & 0x7fffffffffffffffLL ) == 0x7ff0000000000000LL; } static __attribute__ (( always_inline )) __inline__ int float64_is_neg(float64 a) { return (a) >> 63; } static __attribute__ (( always_inline )) __inline__ int float64_is_zero(float64 a) { return ((a) & 0x7fffffffffffffffLL) == 0; } static __attribute__ (( always_inline )) __inline__ int float64_is_any_nan(float64 a) { return (((a) & ~(1ULL << 63)) > 0x7ff0000000000000ULL); } static __attribute__ (( always_inline )) __inline__ int float64_is_zero_or_denormal(float64 a) { return ((a) & 0x7ff0000000000000LL) == 0; } static __attribute__ (( always_inline )) __inline__ float64 float64_set_sign(float64 a, int sign) { return (((a) & 0x7fffffffffffffffULL) | ((int64_t)sign << 63)) ; } # 594 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" extern const float64 float64_default_nan; int32 floatx80_to_int32(floatx80, float_status *status); int32 floatx80_to_int32_round_to_zero(floatx80, float_status *status); int64 floatx80_to_int64(floatx80, float_status *status); int64 floatx80_to_int64_round_to_zero(floatx80, float_status *status); float32 floatx80_to_float32(floatx80, float_status *status); float64 floatx80_to_float64(floatx80, float_status *status); float128 floatx80_to_float128(floatx80, float_status *status); floatx80 floatx80_round_to_int(floatx80, float_status *status); floatx80 floatx80_add(floatx80, floatx80, float_status *status); floatx80 floatx80_sub(floatx80, floatx80, float_status *status); floatx80 floatx80_mul(floatx80, floatx80, float_status *status); floatx80 floatx80_div(floatx80, floatx80, float_status *status); floatx80 floatx80_rem(floatx80, floatx80, float_status *status); floatx80 floatx80_sqrt(floatx80, float_status *status); int floatx80_eq(floatx80, floatx80, float_status *status); int floatx80_le(floatx80, floatx80, float_status *status); int floatx80_lt(floatx80, floatx80, float_status *status); int floatx80_unordered(floatx80, floatx80, float_status *status); int floatx80_eq_quiet(floatx80, floatx80, float_status *status); int floatx80_le_quiet(floatx80, floatx80, float_status *status); int floatx80_lt_quiet(floatx80, floatx80, float_status *status); int floatx80_unordered_quiet(floatx80, floatx80, float_status *status); int floatx80_compare(floatx80, floatx80, float_status *status); int floatx80_compare_quiet(floatx80, floatx80, float_status *status); int floatx80_is_quiet_nan( floatx80 ); int floatx80_is_signaling_nan( floatx80 ); floatx80 floatx80_maybe_silence_nan( floatx80 ); floatx80 floatx80_scalbn(floatx80, int, float_status *status); static __attribute__ (( always_inline )) __inline__ floatx80 floatx80_abs(floatx80 a) { a.high &= 0x7fff; return a; } static __attribute__ (( always_inline )) __inline__ floatx80 floatx80_chs(floatx80 a) { a.high ^= 0x8000; return a; } static __attribute__ (( always_inline )) __inline__ int floatx80_is_infinity(floatx80 a) { return (a.high & 0x7fff) == 0x7fff && a.low == 0x8000000000000000LL; } static __attribute__ (( always_inline )) __inline__ int floatx80_is_neg(floatx80 a) { return a.high >> 15; } static __attribute__ (( always_inline )) __inline__ int floatx80_is_zero(floatx80 a) { return (a.high & 0x7fff) == 0 && a.low == 0; } static __attribute__ (( always_inline )) __inline__ int floatx80_is_zero_or_denormal(floatx80 a) { return (a.high & 0x7fff) == 0; } static __attribute__ (( always_inline )) __inline__ int floatx80_is_any_nan(floatx80 a) { return ((a.high & 0x7fff) == 0x7fff) && (a.low<<1); } # 679 "/home/pi/Загрузки/qemu-2.3.1/include/fpu/softfloat.h" extern const floatx80 floatx80_default_nan; int32 float128_to_int32(float128, float_status *status); int32 float128_to_int32_round_to_zero(float128, float_status *status); int64 float128_to_int64(float128, float_status *status); int64 float128_to_int64_round_to_zero(float128, float_status *status); float32 float128_to_float32(float128, float_status *status); float64 float128_to_float64(float128, float_status *status); floatx80 float128_to_floatx80(float128, float_status *status); float128 float128_round_to_int(float128, float_status *status); float128 float128_add(float128, float128, float_status *status); float128 float128_sub(float128, float128, float_status *status); float128 float128_mul(float128, float128, float_status *status); float128 float128_div(float128, float128, float_status *status); float128 float128_rem(float128, float128, float_status *status); float128 float128_sqrt(float128, float_status *status); int float128_eq(float128, float128, float_status *status); int float128_le(float128, float128, float_status *status); int float128_lt(float128, float128, float_status *status); int float128_unordered(float128, float128, float_status *status); int float128_eq_quiet(float128, float128, float_status *status); int float128_le_quiet(float128, float128, float_status *status); int float128_lt_quiet(float128, float128, float_status *status); int float128_unordered_quiet(float128, float128, float_status *status); int float128_compare(float128, float128, float_status *status); int float128_compare_quiet(float128, float128, float_status *status); int float128_is_quiet_nan( float128 ); int float128_is_signaling_nan( float128 ); float128 float128_maybe_silence_nan( float128 ); float128 float128_scalbn(float128, int, float_status *status); static __attribute__ (( always_inline )) __inline__ float128 float128_abs(float128 a) { a.high &= 0x7fffffffffffffffLL; return a; } static __attribute__ (( always_inline )) __inline__ float128 float128_chs(float128 a) { a.high ^= 0x8000000000000000LL; return a; } static __attribute__ (( always_inline )) __inline__ int float128_is_infinity(float128 a) { return (a.high & 0x7fffffffffffffffLL) == 0x7fff000000000000LL && a.low == 0; } static __attribute__ (( always_inline )) __inline__ int float128_is_neg(float128 a) { return a.high >> 63; } static __attribute__ (( always_inline )) __inline__ int float128_is_zero(float128 a) { return (a.high & 0x7fffffffffffffffLL) == 0 && a.low == 0; } static __attribute__ (( always_inline )) __inline__ int float128_is_zero_or_denormal(float128 a) { return (a.high & 0x7fff000000000000LL) == 0; } static __attribute__ (( always_inline )) __inline__ int float128_is_any_nan(float128 a) { return ((a.high >> 48) & 0x7fff) == 0x7fff && ((a.low != 0) || ((a.high & 0xffffffffffffLL) != 0)); } extern const float128 float128_default_nan; # 9 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" 2 # 17 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" # 1 "/usr/include/byteswap.h" 1 3 4 # 23 "/usr/include/byteswap.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/byteswap.h" 1 3 4 # 24 "/usr/include/byteswap.h" 2 3 4 # 18 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" 2 static __attribute__ (( always_inline )) __inline__ uint16_t bswap16(uint16_t x) { return (__extension__ ({ unsigned short int __bsx = (x); ((((__bsx) >> 8) & 0xffu) | (((__bsx) & 0xffu) << 8)); })); } static __attribute__ (( always_inline )) __inline__ uint32_t bswap32(uint32_t x) { return (__extension__ ({ register unsigned int __bsx = (x); ((((__bsx) & 0xff000000u) >> 24) | (((__bsx) & 0x00ff0000u) >> 8) | (((__bsx) & 0x0000ff00u) << 8) | (((__bsx) & 0x000000ffu) << 24)); })); } static __attribute__ (( always_inline )) __inline__ uint64_t bswap64(uint64_t x) { return (__extension__ ({ union { __extension__ unsigned long long int __ll; unsigned int __l[2]; } __w, __r; if (__builtin_constant_p (x)) __r.__ll = ((((x) & 0xff00000000000000ull) >> 56) | (((x) & 0x00ff000000000000ull) >> 40) | (((x) & 0x0000ff0000000000ull) >> 24) | (((x) & 0x000000ff00000000ull) >> 8) | (((x) & 0x00000000ff000000ull) << 8) | (((x) & 0x0000000000ff0000ull) << 24) | (((x) & 0x000000000000ff00ull) << 40) | (((x) & 0x00000000000000ffull) << 56)); else { __w.__ll = (x); __r.__l[0] = (__extension__ ({ register unsigned int __bsx = (__w.__l[1]); ((((__bsx) & 0xff000000u) >> 24) | (((__bsx) & 0x00ff0000u) >> 8) | (((__bsx) & 0x0000ff00u) << 8) | (((__bsx) & 0x000000ffu) << 24)); })); __r.__l[1] = (__extension__ ({ register unsigned int __bsx = (__w.__l[0]); ((((__bsx) & 0xff000000u) >> 24) | (((__bsx) & 0x00ff0000u) >> 8) | (((__bsx) & 0x0000ff00u) << 8) | (((__bsx) & 0x000000ffu) << 24)); })); } __r.__ll; })); } # 61 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" static __attribute__ (( always_inline )) __inline__ void bswap16s(uint16_t *s) { *s = bswap16(*s); } static __attribute__ (( always_inline )) __inline__ void bswap32s(uint32_t *s) { *s = bswap32(*s); } static __attribute__ (( always_inline )) __inline__ void bswap64s(uint64_t *s) { *s = bswap64(*s); } # 119 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" static __attribute__ (( always_inline )) __inline__ uint16_t be16_to_cpu(uint16_t v){ return bswap16(v);}static __attribute__ (( always_inline )) __inline__ uint16_t cpu_to_be16(uint16_t v){ return bswap16(v);}static __attribute__ (( always_inline )) __inline__ void be16_to_cpus(uint16_t *p){ do { *p = bswap16(*p); } while(0);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be16s(uint16_t *p){ do { *p = bswap16(*p); } while(0);}static __attribute__ (( always_inline )) __inline__ uint16_t be16_to_cpup(const uint16_t *p){ return be16_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be16w(uint16_t *p, uint16_t v){ *p = cpu_to_be16(v);} static __attribute__ (( always_inline )) __inline__ uint32_t be32_to_cpu(uint32_t v){ return bswap32(v);}static __attribute__ (( always_inline )) __inline__ uint32_t cpu_to_be32(uint32_t v){ return bswap32(v);}static __attribute__ (( always_inline )) __inline__ void be32_to_cpus(uint32_t *p){ do { *p = bswap32(*p); } while(0);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be32s(uint32_t *p){ do { *p = bswap32(*p); } while(0);}static __attribute__ (( always_inline )) __inline__ uint32_t be32_to_cpup(const uint32_t *p){ return be32_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be32w(uint32_t *p, uint32_t v){ *p = cpu_to_be32(v);} static __attribute__ (( always_inline )) __inline__ uint64_t be64_to_cpu(uint64_t v){ return bswap64(v);}static __attribute__ (( always_inline )) __inline__ uint64_t cpu_to_be64(uint64_t v){ return bswap64(v);}static __attribute__ (( always_inline )) __inline__ void be64_to_cpus(uint64_t *p){ do { *p = bswap64(*p); } while(0);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be64s(uint64_t *p){ do { *p = bswap64(*p); } while(0);}static __attribute__ (( always_inline )) __inline__ uint64_t be64_to_cpup(const uint64_t *p){ return be64_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be64w(uint64_t *p, uint64_t v){ *p = cpu_to_be64(v);} static __attribute__ (( always_inline )) __inline__ uint16_t le16_to_cpu(uint16_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ uint16_t cpu_to_le16(uint16_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ void le16_to_cpus(uint16_t *p){ ;}static __attribute__ (( always_inline )) __inline__ void cpu_to_le16s(uint16_t *p){ ;}static __attribute__ (( always_inline )) __inline__ uint16_t le16_to_cpup(const uint16_t *p){ return le16_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_le16w(uint16_t *p, uint16_t v){ *p = cpu_to_le16(v);} static __attribute__ (( always_inline )) __inline__ uint32_t le32_to_cpu(uint32_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ uint32_t cpu_to_le32(uint32_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ void le32_to_cpus(uint32_t *p){ ;}static __attribute__ (( always_inline )) __inline__ void cpu_to_le32s(uint32_t *p){ ;}static __attribute__ (( always_inline )) __inline__ uint32_t le32_to_cpup(const uint32_t *p){ return le32_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_le32w(uint32_t *p, uint32_t v){ *p = cpu_to_le32(v);} static __attribute__ (( always_inline )) __inline__ uint64_t le64_to_cpu(uint64_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ uint64_t cpu_to_le64(uint64_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ void le64_to_cpus(uint64_t *p){ ;}static __attribute__ (( always_inline )) __inline__ void cpu_to_le64s(uint64_t *p){ ;}static __attribute__ (( always_inline )) __inline__ uint64_t le64_to_cpup(const uint64_t *p){ return le64_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_le64w(uint64_t *p, uint64_t v){ *p = cpu_to_le64(v);} static __attribute__ (( always_inline )) __inline__ uint32_t qemu_bswap_len(uint32_t value, int len) { return bswap32(value) >> (32 - 8 * len); } typedef union { float32 f; uint32_t l; } CPU_FloatU; typedef union { float64 d; struct { uint32_t lower; uint32_t upper; } l; uint64_t ll; } CPU_DoubleU; typedef union { floatx80 d; struct { uint64_t lower; uint16_t upper; } l; } CPU_LDoubleU; typedef union { float128 q; # 178 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" struct { uint32_t lowest; uint32_t lower; uint32_t upper; uint32_t upmost; } l; struct { uint64_t lower; uint64_t upper; } ll; } CPU_QuadU; # 233 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" static __attribute__ (( always_inline )) __inline__ int ldub_p(const void *ptr) { return *(uint8_t *)ptr; } static __attribute__ (( always_inline )) __inline__ int ldsb_p(const void *ptr) { return *(int8_t *)ptr; } static __attribute__ (( always_inline )) __inline__ void stb_p(void *ptr, uint8_t v) { *(uint8_t *)ptr = v; } static __attribute__ (( always_inline )) __inline__ int lduw_he_p(const void *ptr) { uint16_t r; memcpy(&r, ptr, sizeof(r)); return r; } static __attribute__ (( always_inline )) __inline__ int ldsw_he_p(const void *ptr) { int16_t r; memcpy(&r, ptr, sizeof(r)); return r; } static __attribute__ (( always_inline )) __inline__ void stw_he_p(void *ptr, uint16_t v) { memcpy(ptr, &v, sizeof(v)); } static __attribute__ (( always_inline )) __inline__ int ldl_he_p(const void *ptr) { int32_t r; memcpy(&r, ptr, sizeof(r)); return r; } static __attribute__ (( always_inline )) __inline__ void stl_he_p(void *ptr, uint32_t v) { memcpy(ptr, &v, sizeof(v)); } static __attribute__ (( always_inline )) __inline__ uint64_t ldq_he_p(const void *ptr) { uint64_t r; memcpy(&r, ptr, sizeof(r)); return r; } static __attribute__ (( always_inline )) __inline__ void stq_he_p(void *ptr, uint64_t v) { memcpy(ptr, &v, sizeof(v)); } static __attribute__ (( always_inline )) __inline__ int lduw_le_p(const void *ptr) { return (uint16_t)(lduw_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ int ldsw_le_p(const void *ptr) { return (int16_t)(lduw_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ int ldl_le_p(const void *ptr) { return (ldl_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ uint64_t ldq_le_p(const void *ptr) { return (ldq_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ void stw_le_p(void *ptr, uint16_t v) { stw_he_p(ptr, (v)); } static __attribute__ (( always_inline )) __inline__ void stl_le_p(void *ptr, uint32_t v) { stl_he_p(ptr, (v)); } static __attribute__ (( always_inline )) __inline__ void stq_le_p(void *ptr, uint64_t v) { stq_he_p(ptr, (v)); } static __attribute__ (( always_inline )) __inline__ float32 ldfl_le_p(const void *ptr) { CPU_FloatU u; u.l = ldl_le_p(ptr); return u.f; } static __attribute__ (( always_inline )) __inline__ void stfl_le_p(void *ptr, float32 v) { CPU_FloatU u; u.f = v; stl_le_p(ptr, u.l); } static __attribute__ (( always_inline )) __inline__ float64 ldfq_le_p(const void *ptr) { CPU_DoubleU u; u.ll = ldq_le_p(ptr); return u.d; } static __attribute__ (( always_inline )) __inline__ void stfq_le_p(void *ptr, float64 v) { CPU_DoubleU u; u.d = v; stq_le_p(ptr, u.ll); } static __attribute__ (( always_inline )) __inline__ int lduw_be_p(const void *ptr) { return (uint16_t)bswap16(lduw_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ int ldsw_be_p(const void *ptr) { return (int16_t)bswap16(lduw_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ int ldl_be_p(const void *ptr) { return bswap32(ldl_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ uint64_t ldq_be_p(const void *ptr) { return bswap64(ldq_he_p(ptr)); } static __attribute__ (( always_inline )) __inline__ void stw_be_p(void *ptr, uint16_t v) { stw_he_p(ptr, bswap16(v)); } static __attribute__ (( always_inline )) __inline__ void stl_be_p(void *ptr, uint32_t v) { stl_he_p(ptr, bswap32(v)); } static __attribute__ (( always_inline )) __inline__ void stq_be_p(void *ptr, uint64_t v) { stq_he_p(ptr, bswap64(v)); } static __attribute__ (( always_inline )) __inline__ float32 ldfl_be_p(const void *ptr) { CPU_FloatU u; u.l = ldl_be_p(ptr); return u.f; } static __attribute__ (( always_inline )) __inline__ void stfl_be_p(void *ptr, float32 v) { CPU_FloatU u; u.f = v; stl_be_p(ptr, u.l); } static __attribute__ (( always_inline )) __inline__ float64 ldfq_be_p(const void *ptr) { CPU_DoubleU u; u.ll = ldq_be_p(ptr); return u.d; } static __attribute__ (( always_inline )) __inline__ void stfq_be_p(void *ptr, float64 v) { CPU_DoubleU u; u.d = v; stq_be_p(ptr, u.ll); } static __attribute__ (( always_inline )) __inline__ unsigned long leul_to_cpu(unsigned long v) { return (v); } # 121 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 1 # 125 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 void qemu_get_timedate(struct tm *tm, int offset); int qemu_timedate_diff(struct tm *tm); # 148 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" static __attribute__ (( always_inline )) __inline__ _Bool is_help_option(const char *s) { return !__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("?") && (__s1_len = __builtin_strlen (s), __s2_len = __builtin_strlen ("?"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("?") + 1) - (size_t)(const void *)("?") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "?") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = __builtin_strlen (s), __s1_len < 4) ? (__builtin_constant_p ("?") && ((size_t)(const void *)(("?") + 1) - (size_t)(const void *)("?") == 1) ? __builtin_strcmp (s, "?") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("?"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("?") && ((size_t)(const void *)(("?") + 1) - (size_t)(const void *)("?") == 1) && (__s2_len = __builtin_strlen ("?"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "?") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("?"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("?"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("?"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("?"))[3]); } } __result; }))) : __builtin_strcmp (s, "?")))); }) || !__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("help") && (__s1_len = __builtin_strlen (s), __s2_len = __builtin_strlen ("help"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("help") + 1) - (size_t)(const void *)("help") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "help") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = __builtin_strlen (s), __s1_len < 4) ? (__builtin_constant_p ("help") && ((size_t)(const void *)(("help") + 1) - (size_t)(const void *)("help") == 1) ? __builtin_strcmp (s, "help") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("help"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("help") && ((size_t)(const void *)(("help") + 1) - (size_t)(const void *)("help") == 1) && (__s2_len = __builtin_strlen ("help"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "help") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("help"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("help"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("help"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("help"))[3]); } } __result; }))) : __builtin_strcmp (s, "help")))); }); } void pstrcpy(char *buf, int buf_size, const char *str); void strpadcpy(char *buf, int buf_size, const char *str, char pad); char *pstrcat(char *buf, int buf_size, const char *s); int strstart(const char *str, const char *val, const char **ptr); int stristart(const char *str, const char *val, const char **ptr); int qemu_strnlen(const char *s, int max_len); char *qemu_strsep(char **input, const char *delim); time_t mktimegm(struct tm *tm); int qemu_fls(int i); int qemu_fdatasync(int fd); int fcntl_setfl(int fd, int flag); int qemu_parse_fd(const char *param); int parse_uint(const char *s, unsigned long long *value, char **endptr, int base); int parse_uint_full(const char *s, unsigned long long *value, int base); # 185 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" int64_t strtosz(const char *nptr, char **end); int64_t strtosz_suffix(const char *nptr, char **end, const char default_suffix); int64_t strtosz_suffix_unit(const char *nptr, char **end, const char default_suffix, int64_t unit); _Bool id_wellformed(const char *id); void init_paths(const char *prefix); const char *path(const char *pathname); # 216 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" void *qemu_oom_check(void *ptr); ssize_t qemu_write_full(int fd, const void *buf, size_t count) __attribute__((warn_unused_result)); ssize_t qemu_send_full(int fd, const void *buf, size_t count, int flags) __attribute__((warn_unused_result)); ssize_t qemu_recv_full(int fd, void *buf, size_t count, int flags) __attribute__((warn_unused_result)); int qemu_pipe(int pipefd[2]); int qemu_openpty_raw(int *aslave, char *pty_name); # 252 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" void __attribute__ ((__noreturn__)) hw_error(const char *fmt, ...) __attribute__((format(gnu_printf, 1, 2))); struct ParallelIOArg { void *buffer; int count; }; typedef int (*DMA_transfer_handler) (void *opaque, int nchan, int pos, int size); typedef uint64_t pcibus_t; typedef struct PCIHostDeviceAddress { unsigned int domain; unsigned int bus; unsigned int slot; unsigned int function; } PCIHostDeviceAddress; void tcg_exec_init(unsigned long tb_size); _Bool tcg_enabled(void); void cpu_exec_init_all(void); # 282 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" void qemu_cpu_kick_self(void); struct qemu_work_item { struct qemu_work_item *next; void (*func)(void *data); void *data; int done; _Bool free; }; # 301 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, size_t offset, size_t bytes, _Bool do_send); # 311 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" ssize_t qemu_co_send_recv(int sockfd, void *buf, size_t bytes, _Bool do_send); typedef struct QEMUIOVector { struct iovec *iov; int niov; int nalloc; size_t size; } QEMUIOVector; void qemu_iovec_init(QEMUIOVector *qiov, int alloc_hint); void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov); void qemu_iovec_add(QEMUIOVector *qiov, void *base, size_t len); void qemu_iovec_concat(QEMUIOVector *dst, QEMUIOVector *src, size_t soffset, size_t sbytes); size_t qemu_iovec_concat_iov(QEMUIOVector *dst, struct iovec *src_iov, unsigned int src_cnt, size_t soffset, size_t sbytes); _Bool qemu_iovec_is_zero(QEMUIOVector *qiov); void qemu_iovec_destroy(QEMUIOVector *qiov); void qemu_iovec_reset(QEMUIOVector *qiov); size_t qemu_iovec_to_buf(QEMUIOVector *qiov, size_t offset, void *buf, size_t bytes); size_t qemu_iovec_from_buf(QEMUIOVector *qiov, size_t offset, const void *buf, size_t bytes); size_t qemu_iovec_memset(QEMUIOVector *qiov, size_t offset, int fillc, size_t bytes); ssize_t qemu_iovec_compare(QEMUIOVector *a, QEMUIOVector *b); void qemu_iovec_clone(QEMUIOVector *dest, const QEMUIOVector *src, void *buf); void qemu_iovec_discard_back(QEMUIOVector *qiov, size_t bytes); _Bool buffer_is_zero(const void *buf, size_t len); void qemu_progress_init(int enabled, float min_skip); void qemu_progress_end(void); void qemu_progress_print(float delta, int max); const char *qemu_get_vm_name(void); char *qemu_find_file(int type, const char *name); void os_setup_early_signal_handling(void); char *os_find_datadir(void); void os_parse_cmd_args(int index, const char *optarg); static __attribute__ (( always_inline )) __inline__ uint8_t to_bcd(uint8_t val) { return ((val / 10) << 4) | (val % 10); } static __attribute__ (( always_inline )) __inline__ uint8_t from_bcd(uint8_t val) { return ((val >> 4) * 10) + (val & 0x0f); } # 379 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" static __attribute__ (( always_inline )) __inline__ uint64_t muldiv64(uint64_t a, uint32_t b, uint32_t c) { union { uint64_t ll; struct { uint32_t low, high; } l; } u, res; uint64_t rl, rh; u.ll = a; rl = (uint64_t)u.l.low * (uint64_t)b; rh = (uint64_t)u.l.high * (uint64_t)b; rh += (rl >> 32); res.l.high = rh / c; res.l.low = (((rh % c) << 32) + (rl & 0xffffffff)) / c; return res.ll; } # 409 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" static __attribute__ (( always_inline )) __inline__ _Bool is_power_of_2(uint64_t value) { if (!value) { return 0; } return !(value & (value - 1)); } int64_t pow2floor(int64_t value); uint64_t pow2ceil(uint64_t value); # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/module.h" 1 # 43 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/module.h" typedef enum { MODULE_INIT_BLOCK, MODULE_INIT_MACHINE, MODULE_INIT_QAPI, MODULE_INIT_QOM, MODULE_INIT_MAX } module_init_type; void register_module_init(void (*fn)(void), module_init_type type); void register_dso_module_init(void (*fn)(void), module_init_type type); void module_call_init(module_init_type type); # 425 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" 2 int uleb128_encode_small(uint8_t *out, uint32_t n); int uleb128_decode_small(const uint8_t *in, uint32_t *n); int mod_utf8_codepoint(const char *s, size_t n, char **end); void qemu_hexdump(const char *buf, FILE *fp, const char *prefix, size_t size); # 471 "/home/pi/Загрузки/qemu-2.3.1/include/qemu-common.h" static __attribute__ (( always_inline )) __inline__ _Bool can_use_buffer_find_nonzero_offset(const void *buf, size_t len) { return (len % (8 * sizeof(unsigned long)) == 0 && ((uintptr_t) buf) % sizeof(unsigned long) == 0); } size_t buffer_find_nonzero_offset(const void *buf, size_t len); int parse_debug_env(const char *name, int max, int initial); const char *qemu_ether_ntoa(const MACAddr *mac); # 14 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/target-mips/mips-defs.h" 1 # 15 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-defs.h" 1 # 26 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-defs.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/config.h" 1 # 1 "/home/pi/Загрузки/qemu-2.3.1/config-host.h" 1 # 2 "/home/pi/Загрузки/qemu-2.3.1/include/config.h" 2 # 1 "./config-target.h" 1 # 2 "/home/pi/Загрузки/qemu-2.3.1/include/config.h" 2 # 27 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-defs.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/hwaddr.h" 1 # 10 "/home/pi/Загрузки/qemu-2.3.1/include/exec/hwaddr.h" typedef uint64_t hwaddr; # 32 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-defs.h" 2 # 48 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-defs.h" typedef int64_t target_long; typedef uint64_t target_ulong; # 83 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-defs.h" typedef struct CPUTLBEntry { target_ulong addr_read; target_ulong addr_write; target_ulong addr_code; uintptr_t addend; uint8_t dummy[(1 << 5) - (sizeof(target_ulong) * 3 + ((-sizeof(target_ulong) * 3) & (sizeof(uintptr_t) - 1)) + sizeof(uintptr_t))]; } CPUTLBEntry; typedef char qemu_build_bug_on__103[(sizeof(CPUTLBEntry) != (1 << 5))?-1:1] __attribute__((unused));; # 16 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 2 struct CPUMIPSState; typedef struct r4k_tlb_t r4k_tlb_t; struct r4k_tlb_t { target_ulong VPN; uint32_t PageMask; uint_fast8_t ASID; uint_fast16_t G:1; uint_fast16_t C0:3; uint_fast16_t C1:3; uint_fast16_t V0:1; uint_fast16_t V1:1; uint_fast16_t D0:1; uint_fast16_t D1:1; uint_fast16_t XI0:1; uint_fast16_t XI1:1; uint_fast16_t RI0:1; uint_fast16_t RI1:1; uint_fast16_t EHINV:1; target_ulong PFN[2]; }; typedef struct CPUMIPSTLBContext CPUMIPSTLBContext; struct CPUMIPSTLBContext { uint32_t nb_tlb; uint32_t tlb_in_use; int (*map_address) (struct CPUMIPSState *env, hwaddr *physical, int *prot, target_ulong address, int rw, int access_type); void (*helper_tlbwi)(struct CPUMIPSState *env); void (*helper_tlbwr)(struct CPUMIPSState *env); void (*helper_tlbp)(struct CPUMIPSState *env); void (*helper_tlbr)(struct CPUMIPSState *env); void (*helper_tlbinv)(struct CPUMIPSState *env); void (*helper_tlbinvf)(struct CPUMIPSState *env); union { struct { r4k_tlb_t tlb[128]; } r4k; } mmu; }; enum CPUMIPSMSADataFormat { DF_BYTE = 0, DF_HALF, DF_WORD, DF_DOUBLE }; typedef union wr_t wr_t; union wr_t { int8_t b[(128)/8]; int16_t h[(128)/16]; int32_t w[(128)/32]; int64_t d[(128)/64]; }; typedef union fpr_t fpr_t; union fpr_t { float64 fd; float32 fs[2]; uint64_t d; uint32_t w[2]; wr_t wr; }; # 96 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" typedef struct CPUMIPSFPUContext CPUMIPSFPUContext; struct CPUMIPSFPUContext { fpr_t fpr[32]; float_status fp_status; uint32_t fcr0; # 114 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" uint32_t fcr31; # 131 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" }; typedef struct CPUMIPSMVPContext CPUMIPSMVPContext; struct CPUMIPSMVPContext { int32_t CP0_MVPControl; int32_t CP0_MVPConf0; # 151 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_MVPConf1; }; typedef struct mips_def_t mips_def_t; typedef struct TCState TCState; struct TCState { target_ulong gpr[32]; target_ulong PC; target_ulong HI[4]; target_ulong LO[4]; target_ulong ACX[4]; target_ulong DSPControl; int32_t CP0_TCStatus; # 189 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_TCBind; target_ulong CP0_TCHalt; target_ulong CP0_TCContext; target_ulong CP0_TCSchedule; target_ulong CP0_TCScheFBack; int32_t CP0_Debug_tcstatus; target_ulong CP0_UserLocal; int32_t msacsr; # 213 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" float_status msa_fp_status; }; typedef struct CPUMIPSState CPUMIPSState; struct CPUMIPSState { TCState active_tc; CPUMIPSFPUContext active_fpu; uint32_t current_tc; uint32_t current_fpu; uint32_t SEGBITS; uint32_t PABITS; target_ulong SEGMask; target_ulong PAMask; int32_t msair; int32_t CP0_Index; int32_t CP0_Random; int32_t CP0_VPEControl; int32_t CP0_VPEConf0; # 251 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_VPEConf1; target_ulong CP0_YQMask; target_ulong CP0_VPESchedule; target_ulong CP0_VPEScheFBack; int32_t CP0_VPEOpt; # 275 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" target_ulong CP0_EntryLo0; target_ulong CP0_EntryLo1; target_ulong CP0_Context; target_ulong CP0_KScratch[6]; int32_t CP0_PageMask; int32_t CP0_PageGrain_rw_bitmask; int32_t CP0_PageGrain; int32_t CP0_Wired; int32_t CP0_SRSConf0_rw_bitmask; int32_t CP0_SRSConf0; int32_t CP0_SRSConf1_rw_bitmask; int32_t CP0_SRSConf1; int32_t CP0_SRSConf2_rw_bitmask; int32_t CP0_SRSConf2; int32_t CP0_SRSConf3_rw_bitmask; int32_t CP0_SRSConf3; int32_t CP0_SRSConf4_rw_bitmask; int32_t CP0_SRSConf4; int32_t CP0_HWREna; target_ulong CP0_BadVAddr; uint32_t CP0_BadInstr; uint32_t CP0_BadInstrP; int32_t CP0_Count; target_ulong CP0_EntryHi; int32_t CP0_Compare; int32_t CP0_Status; # 352 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_IntCtl; int32_t CP0_SRSCtl; int32_t CP0_SRSMap; # 371 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_Cause; # 382 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" target_ulong CP0_EPC; int32_t CP0_PRid; int32_t CP0_EBase; int32_t CP0_Config0; # 398 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_Config1; # 414 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_Config2; # 424 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_Config3; # 448 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_Config4; int32_t CP0_Config4_rw_bitmask; # 458 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_Config5; int32_t CP0_Config5_rw_bitmask; # 468 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int32_t CP0_Config6; int32_t CP0_Config7; target_ulong lladdr; target_ulong llval; target_ulong llnewval; target_ulong llreg; target_ulong CP0_LLAddr_rw_bitmask; int CP0_LLAddr_shift; target_ulong CP0_WatchLo[8]; int32_t CP0_WatchHi[8]; target_ulong CP0_XContext; int32_t CP0_Framemask; int32_t CP0_Debug; # 500 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" target_ulong CP0_DEPC; int32_t CP0_Performance0; int32_t CP0_TagLo; int32_t CP0_DataLo; int32_t CP0_TagHi; int32_t CP0_DataHi; target_ulong CP0_ErrorEPC; int32_t CP0_DESAVE; TCState tcs[16]; CPUMIPSFPUContext fpus[1]; int error_code; uint32_t hflags; # 564 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" target_ulong btarget; target_ulong bcond; int SYNCI_Step; int CCRes; uint32_t CP0_Status_rw_bitmask; uint32_t CP0_TCStatus_rw_bitmask; int insn_flags; CPUTLBEntry tlb_table[3][(1 << 8)]; CPUTLBEntry tlb_v_table[3][8]; hwaddr iotlb[3][(1 << 8)]; hwaddr iotlb_v[3][8]; target_ulong tlb_flush_addr; target_ulong tlb_flush_mask; target_ulong vtlb_index; CPUMIPSMVPContext *mvp; CPUMIPSTLBContext *tlb; const mips_def_t *cpu_model; void *irq[8]; QEMUTimer *timer; }; # 1 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu-qom.h" 1 # 23 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu-qom.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" 1 # 24 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" # 1 "/usr/include/setjmp.h" 1 3 4 # 28 "/usr/include/setjmp.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/sigset.h" 1 3 4 # 32 "/usr/include/setjmp.h" 2 3 4 struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; }; typedef struct __jmp_buf_tag jmp_buf[1]; extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); # 78 "/usr/include/setjmp.h" 3 4 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; # 110 "/usr/include/setjmp.h" 3 4 extern void siglongjmp (sigjmp_buf __env, int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 1 "/usr/include/arm-linux-gnueabihf/bits/setjmp2.h" 1 3 4 # 26 "/usr/include/arm-linux-gnueabihf/bits/setjmp2.h" 3 4 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __asm__ ("" "__longjmp_chk") __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __asm__ ("" "__longjmp_chk") __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void siglongjmp (struct __jmp_buf_tag __env[1], int __val) __asm__ ("" "__longjmp_chk") __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 118 "/usr/include/setjmp.h" 2 3 4 # 25 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" 1 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/option.h" 1 # 6 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/typedefs.h" 1 # 7 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitmap.h" 1 # 20 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitmap.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" 1 # 16 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" # 1 "/usr/include/assert.h" 1 3 4 # 17 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" 1 # 29 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 1 3 4 # 30 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" 2 # 74 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" void muls64(uint64_t *phigh, uint64_t *plow, int64_t a, int64_t b); void mulu64(uint64_t *phigh, uint64_t *plow, uint64_t a, uint64_t b); int divu128(uint64_t *plow, uint64_t *phigh, uint64_t divisor); int divs128(int64_t *plow, int64_t *phigh, int64_t divisor); # 87 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" static __attribute__ (( always_inline )) __inline__ int clz32(uint32_t val) { return val ? __builtin_clz(val) : 32; # 120 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" } static __attribute__ (( always_inline )) __inline__ int clo32(uint32_t val) { return clz32(~val); } # 140 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" static __attribute__ (( always_inline )) __inline__ int clz64(uint64_t val) { return val ? __builtin_clzll(val) : 64; # 155 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" } static __attribute__ (( always_inline )) __inline__ int clo64(uint64_t val) { return clz64(~val); } # 175 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" static __attribute__ (( always_inline )) __inline__ int ctz32(uint32_t val) { return val ? __builtin_ctz(val) : 32; # 210 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" } static __attribute__ (( always_inline )) __inline__ int cto32(uint32_t val) { return ctz32(~val); } # 230 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" static __attribute__ (( always_inline )) __inline__ int ctz64(uint64_t val) { return val ? __builtin_ctzll(val) : 64; # 245 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" } static __attribute__ (( always_inline )) __inline__ int cto64(uint64_t val) { return ctz64(~val); } # 265 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" static __attribute__ (( always_inline )) __inline__ int clrsb32(uint32_t val) { return clz32(val ^ ((int32_t)val >> 1)) - 1; } # 281 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" static __attribute__ (( always_inline )) __inline__ int clrsb64(uint64_t val) { return clz64(val ^ ((int64_t)val >> 1)) - 1; } static __attribute__ (( always_inline )) __inline__ int ctpop8(uint8_t val) { return __builtin_popcount(val); } static __attribute__ (( always_inline )) __inline__ int ctpop16(uint16_t val) { return __builtin_popcount(val); # 323 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" } static __attribute__ (( always_inline )) __inline__ int ctpop32(uint32_t val) { return __builtin_popcount(val); # 342 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" } static __attribute__ (( always_inline )) __inline__ int ctpop64(uint64_t val) { return __builtin_popcountll(val); # 362 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/host-utils.h" } # 19 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" 2 # 33 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ void set_bit(long nr, unsigned long *addr) { unsigned long mask = (1UL << ((nr) % (sizeof (unsigned long) * 8))); unsigned long *p = addr + ((nr) / (sizeof (unsigned long) * 8)); *p |= mask; } static __attribute__ (( always_inline )) __inline__ void clear_bit(long nr, unsigned long *addr) { unsigned long mask = (1UL << ((nr) % (sizeof (unsigned long) * 8))); unsigned long *p = addr + ((nr) / (sizeof (unsigned long) * 8)); *p &= ~mask; } static __attribute__ (( always_inline )) __inline__ void change_bit(long nr, unsigned long *addr) { unsigned long mask = (1UL << ((nr) % (sizeof (unsigned long) * 8))); unsigned long *p = addr + ((nr) / (sizeof (unsigned long) * 8)); *p ^= mask; } static __attribute__ (( always_inline )) __inline__ int test_and_set_bit(long nr, unsigned long *addr) { unsigned long mask = (1UL << ((nr) % (sizeof (unsigned long) * 8))); unsigned long *p = addr + ((nr) / (sizeof (unsigned long) * 8)); unsigned long old = *p; *p = old | mask; return (old & mask) != 0; } static __attribute__ (( always_inline )) __inline__ int test_and_clear_bit(long nr, unsigned long *addr) { unsigned long mask = (1UL << ((nr) % (sizeof (unsigned long) * 8))); unsigned long *p = addr + ((nr) / (sizeof (unsigned long) * 8)); unsigned long old = *p; *p = old & ~mask; return (old & mask) != 0; } static __attribute__ (( always_inline )) __inline__ int test_and_change_bit(long nr, unsigned long *addr) { unsigned long mask = (1UL << ((nr) % (sizeof (unsigned long) * 8))); unsigned long *p = addr + ((nr) / (sizeof (unsigned long) * 8)); unsigned long old = *p; *p = old ^ mask; return (old & mask) != 0; } static __attribute__ (( always_inline )) __inline__ int test_bit(long nr, const unsigned long *addr) { return 1UL & (addr[((nr) / (sizeof (unsigned long) * 8))] >> (nr & ((sizeof (unsigned long) * 8)-1))); } # 129 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" unsigned long find_last_bit(const unsigned long *addr, unsigned long size); unsigned long find_next_bit(const unsigned long *addr, unsigned long size, unsigned long offset); # 148 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, unsigned long offset); # 159 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ unsigned long find_first_bit(const unsigned long *addr, unsigned long size) { unsigned long result, tmp; for (result = 0; result < size; result += (sizeof (unsigned long) * 8)) { tmp = *addr++; if (tmp) { result += ctz32(tmp); return result < size ? result : size; } } return size; } # 182 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) { return find_next_zero_bit(addr, size, 0); } static __attribute__ (( always_inline )) __inline__ unsigned long hweight_long(unsigned long w) { unsigned long count; for (count = 0; w; w >>= 1) { count += w & 1; } return count; } static __attribute__ (( always_inline )) __inline__ uint8_t rol8(uint8_t word, unsigned int shift) { return (word << shift) | (word >> (8 - shift)); } static __attribute__ (( always_inline )) __inline__ uint8_t ror8(uint8_t word, unsigned int shift) { return (word >> shift) | (word << (8 - shift)); } static __attribute__ (( always_inline )) __inline__ uint16_t rol16(uint16_t word, unsigned int shift) { return (word << shift) | (word >> (16 - shift)); } static __attribute__ (( always_inline )) __inline__ uint16_t ror16(uint16_t word, unsigned int shift) { return (word >> shift) | (word << (16 - shift)); } static __attribute__ (( always_inline )) __inline__ uint32_t rol32(uint32_t word, unsigned int shift) { return (word << shift) | (word >> (32 - shift)); } static __attribute__ (( always_inline )) __inline__ uint32_t ror32(uint32_t word, unsigned int shift) { return (word >> shift) | (word << (32 - shift)); } static __attribute__ (( always_inline )) __inline__ uint64_t rol64(uint64_t word, unsigned int shift) { return (word << shift) | (word >> (64 - shift)); } static __attribute__ (( always_inline )) __inline__ uint64_t ror64(uint64_t word, unsigned int shift) { return (word >> shift) | (word << (64 - shift)); } # 291 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ uint32_t extract32(uint32_t value, int start, int length) { ((start >= 0 && length > 0 && length <= 32 - start) ? (void) (0) : __assert_fail ("start >= 0 && length > 0 && length <= 32 - start", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h", 293, __PRETTY_FUNCTION__)); return (value >> start) & (~0U >> (32 - length)); } # 310 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ uint64_t extract64(uint64_t value, int start, int length) { ((start >= 0 && length > 0 && length <= 64 - start) ? (void) (0) : __assert_fail ("start >= 0 && length > 0 && length <= 64 - start", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h", 312, __PRETTY_FUNCTION__)); return (value >> start) & (~0ULL >> (64 - length)); } # 332 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ int32_t sextract32(uint32_t value, int start, int length) { ((start >= 0 && length > 0 && length <= 32 - start) ? (void) (0) : __assert_fail ("start >= 0 && length > 0 && length <= 32 - start", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h", 334, __PRETTY_FUNCTION__)); return ((int32_t)(value << (32 - length - start))) >> (32 - length); } # 357 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ int64_t sextract64(uint64_t value, int start, int length) { ((start >= 0 && length > 0 && length <= 64 - start) ? (void) (0) : __assert_fail ("start >= 0 && length > 0 && length <= 64 - start", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h", 359, __PRETTY_FUNCTION__)); return ((int64_t)(value << (64 - length - start))) >> (64 - length); } # 383 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ uint32_t deposit32(uint32_t value, int start, int length, uint32_t fieldval) { uint32_t mask; ((start >= 0 && length > 0 && length <= 32 - start) ? (void) (0) : __assert_fail ("start >= 0 && length > 0 && length <= 32 - start", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h", 387, __PRETTY_FUNCTION__)); mask = (~0U >> (32 - length)) << start; return (value & ~mask) | ((fieldval << start) & mask); } # 409 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h" static __attribute__ (( always_inline )) __inline__ uint64_t deposit64(uint64_t value, int start, int length, uint64_t fieldval) { uint64_t mask; ((start >= 0 && length > 0 && length <= 64 - start) ? (void) (0) : __assert_fail ("start >= 0 && length > 0 && length <= 64 - start", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitops.h", 413, __PRETTY_FUNCTION__)); mask = (~0ULL >> (64 - length)) << start; return (value & ~mask) | ((fieldval << start) & mask); } # 21 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitmap.h" 2 # 74 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bitmap.h" int slow_bitmap_empty(const unsigned long *bitmap, long bits); int slow_bitmap_full(const unsigned long *bitmap, long bits); int slow_bitmap_equal(const unsigned long *bitmap1, const unsigned long *bitmap2, long bits); void slow_bitmap_complement(unsigned long *dst, const unsigned long *src, long bits); void slow_bitmap_shift_right(unsigned long *dst, const unsigned long *src, int shift, long bits); void slow_bitmap_shift_left(unsigned long *dst, const unsigned long *src, int shift, long bits); int slow_bitmap_and(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, long bits); void slow_bitmap_or(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, long bits); void slow_bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, long bits); int slow_bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, long bits); int slow_bitmap_intersects(const unsigned long *bitmap1, const unsigned long *bitmap2, long bits); static __attribute__ (( always_inline )) __inline__ unsigned long *bitmap_try_new(long nbits) { long len = (((nbits) + (8 * sizeof(long)) - 1) / (8 * sizeof(long))) * sizeof(unsigned long); return g_try_malloc0(len); } static __attribute__ (( always_inline )) __inline__ unsigned long *bitmap_new(long nbits) { unsigned long *ptr = bitmap_try_new(nbits); if (ptr == ((void *)0)) { abort(); } return ptr; } static __attribute__ (( always_inline )) __inline__ void bitmap_zero(unsigned long *dst, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { *dst = 0UL; } else { long len = (((nbits) + (8 * sizeof(long)) - 1) / (8 * sizeof(long))) * sizeof(unsigned long); memset(dst, 0, len); } } static __attribute__ (( always_inline )) __inline__ void bitmap_fill(unsigned long *dst, long nbits) { size_t nlongs = (((nbits) + (8 * sizeof(long)) - 1) / (8 * sizeof(long))); if (!((nbits) <= (sizeof (unsigned long) * 8))) { long len = (nlongs - 1) * sizeof(unsigned long); memset(dst, 0xff, len); } dst[nlongs - 1] = ( ((nbits) % (sizeof (unsigned long) * 8)) ? (1UL<<((nbits) % (sizeof (unsigned long) * 8)))-1 : ~0UL ); } static __attribute__ (( always_inline )) __inline__ void bitmap_copy(unsigned long *dst, const unsigned long *src, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { *dst = *src; } else { long len = (((nbits) + (8 * sizeof(long)) - 1) / (8 * sizeof(long))) * sizeof(unsigned long); memcpy(dst, src, len); } } static __attribute__ (( always_inline )) __inline__ int bitmap_and(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { return (*dst = *src1 & *src2) != 0; } return slow_bitmap_and(dst, src1, src2, nbits); } static __attribute__ (( always_inline )) __inline__ void bitmap_or(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { *dst = *src1 | *src2; } else { slow_bitmap_or(dst, src1, src2, nbits); } } static __attribute__ (( always_inline )) __inline__ void bitmap_xor(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { *dst = *src1 ^ *src2; } else { slow_bitmap_xor(dst, src1, src2, nbits); } } static __attribute__ (( always_inline )) __inline__ int bitmap_andnot(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { return (*dst = *src1 & ~(*src2)) != 0; } return slow_bitmap_andnot(dst, src1, src2, nbits); } static __attribute__ (( always_inline )) __inline__ void bitmap_complement(unsigned long *dst, const unsigned long *src, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { *dst = ~(*src) & ( ((nbits) % (sizeof (unsigned long) * 8)) ? (1UL<<((nbits) % (sizeof (unsigned long) * 8)))-1 : ~0UL ); } else { slow_bitmap_complement(dst, src, nbits); } } static __attribute__ (( always_inline )) __inline__ int bitmap_equal(const unsigned long *src1, const unsigned long *src2, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { return ! ((*src1 ^ *src2) & ( ((nbits) % (sizeof (unsigned long) * 8)) ? (1UL<<((nbits) % (sizeof (unsigned long) * 8)))-1 : ~0UL )); } else { return slow_bitmap_equal(src1, src2, nbits); } } static __attribute__ (( always_inline )) __inline__ int bitmap_empty(const unsigned long *src, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { return ! (*src & ( ((nbits) % (sizeof (unsigned long) * 8)) ? (1UL<<((nbits) % (sizeof (unsigned long) * 8)))-1 : ~0UL )); } else { return slow_bitmap_empty(src, nbits); } } static __attribute__ (( always_inline )) __inline__ int bitmap_full(const unsigned long *src, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { return ! (~(*src) & ( ((nbits) % (sizeof (unsigned long) * 8)) ? (1UL<<((nbits) % (sizeof (unsigned long) * 8)))-1 : ~0UL )); } else { return slow_bitmap_full(src, nbits); } } static __attribute__ (( always_inline )) __inline__ int bitmap_intersects(const unsigned long *src1, const unsigned long *src2, long nbits) { if (((nbits) <= (sizeof (unsigned long) * 8))) { return ((*src1 & *src2) & ( ((nbits) % (sizeof (unsigned long) * 8)) ? (1UL<<((nbits) % (sizeof (unsigned long) * 8)))-1 : ~0UL )) != 0; } else { return slow_bitmap_intersects(src1, src2, nbits); } } void bitmap_set(unsigned long *map, long i, long len); void bitmap_clear(unsigned long *map, long start, long nr); unsigned long bitmap_find_next_zero_area(unsigned long *map, unsigned long size, unsigned long start, unsigned long nr, unsigned long align_mask); static __attribute__ (( always_inline )) __inline__ unsigned long *bitmap_zero_extend(unsigned long *old, long old_nbits, long new_nbits) { long new_len = (((new_nbits) + (8 * sizeof(long)) - 1) / (8 * sizeof(long))) * sizeof(unsigned long); unsigned long *new = g_realloc(old, new_len); bitmap_clear(new, old_nbits, new_nbits - old_nbits); return new; } # 8 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" 1 # 23 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" struct Visitor; struct TypeImpl; typedef struct TypeImpl *Type; typedef struct ObjectClass ObjectClass; typedef struct Object Object; typedef struct TypeInfo TypeInfo; typedef struct InterfaceClass InterfaceClass; typedef struct InterfaceInfo InterfaceInfo; # 300 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" typedef void (ObjectPropertyAccessor)(Object *obj, struct Visitor *v, void *opaque, const char *name, Error **errp); # 321 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" typedef Object *(ObjectPropertyResolve)(Object *obj, void *opaque, const char *part); # 333 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" typedef void (ObjectPropertyRelease)(Object *obj, const char *name, void *opaque); typedef struct ObjectProperty { gchar *name; gchar *type; gchar *description; ObjectPropertyAccessor *get; ObjectPropertyAccessor *set; ObjectPropertyResolve *resolve; ObjectPropertyRelease *release; void *opaque; struct { struct ObjectProperty *tqe_next; struct ObjectProperty * *tqe_prev; } node; } ObjectProperty; # 358 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" typedef void (ObjectUnparent)(Object *obj); typedef void (ObjectFree)(void *obj); # 376 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" struct ObjectClass { Type type; GSList *interfaces; const char *object_cast_cache[4]; const char *class_cast_cache[4]; ObjectUnparent *unparent; }; # 403 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" struct Object { ObjectClass *class; ObjectFree *free; struct { struct ObjectProperty *tqh_first; struct ObjectProperty * *tqh_last; } properties; uint32_t ref; Object *parent; }; # 453 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" struct TypeInfo { const char *name; const char *parent; size_t instance_size; void (*instance_init)(Object *obj); void (*instance_post_init)(Object *obj); void (*instance_finalize)(Object *obj); _Bool abstract; size_t class_size; void (*class_init)(ObjectClass *klass, void *data); void (*class_base_init)(ObjectClass *klass, void *data); void (*class_finalize)(ObjectClass *klass, void *data); void *class_data; InterfaceInfo *interfaces; }; # 544 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" struct InterfaceInfo { const char *type; }; # 555 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" struct InterfaceClass { ObjectClass parent_class; ObjectClass *concrete_class; Type interface_type; }; # 595 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_new(const char *typename); # 607 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_new_with_type(Type type); # 619 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_initialize_with_type(void *data, size_t size, Type type); # 631 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_initialize(void *obj, size_t size, const char *typename); # 643 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_dynamic_cast(Object *obj, const char *typename); # 654 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_dynamic_cast_assert(Object *obj, const char *typename, const char *file, int line, const char *func); ObjectClass *object_get_class(Object *obj); const char *object_get_typename(Object *obj); # 682 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Type type_register_static(const TypeInfo *info); # 693 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Type type_register(const TypeInfo *info); # 706 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, const char *typename, const char *file, int line, const char *func); # 725 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" ObjectClass *object_class_dynamic_cast(ObjectClass *klass, const char *typename); ObjectClass *object_class_get_parent(ObjectClass *klass); const char *object_class_get_name(ObjectClass *klass); _Bool object_class_is_abstract(ObjectClass *klass); ObjectClass *object_class_by_name(const char *typename); void object_class_foreach(void (*fn)(ObjectClass *klass, void *opaque), const char *implements_type, _Bool include_abstract, void *opaque); # 771 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" GSList *object_class_get_list(const char *implements_type, _Bool include_abstract); # 781 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_ref(Object *obj); # 790 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_unref(Object *obj); # 815 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" ObjectProperty *object_property_add(Object *obj, const char *name, const char *type, ObjectPropertyAccessor *get, ObjectPropertyAccessor *set, ObjectPropertyRelease *release, void *opaque, Error **errp); void object_property_del(Object *obj, const char *name, Error **errp); # 832 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" ObjectProperty *object_property_find(Object *obj, const char *name, Error **errp); void object_unparent(Object *obj); # 847 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_get(Object *obj, struct Visitor *v, const char *name, Error **errp); # 858 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_set_str(Object *obj, const char *value, const char *name, Error **errp); # 871 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" char *object_property_get_str(Object *obj, const char *name, Error **errp); # 882 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_set_link(Object *obj, Object *value, const char *name, Error **errp); # 895 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_property_get_link(Object *obj, const char *name, Error **errp); # 906 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_set_bool(Object *obj, _Bool value, const char *name, Error **errp); # 918 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" _Bool object_property_get_bool(Object *obj, const char *name, Error **errp); # 929 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_set_int(Object *obj, int64_t value, const char *name, Error **errp); # 941 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" int64_t object_property_get_int(Object *obj, const char *name, Error **errp); # 955 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" int object_property_get_enum(Object *obj, const char *name, const char *strings[], Error **errp); # 969 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_get_uint16List(Object *obj, const char *name, uint16List **list, Error **errp); # 983 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_set(Object *obj, struct Visitor *v, const char *name, Error **errp); # 995 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_parse(Object *obj, const char *string, const char *name, Error **errp); # 1008 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" char *object_property_print(Object *obj, const char *name, _Bool human, Error **errp); # 1019 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" const char *object_property_get_type(Object *obj, const char *name, Error **errp); Object *object_get_root(void); gchar *object_get_canonical_path_component(Object *obj); gchar *object_get_canonical_path(Object *obj); # 1068 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_resolve_path(const char *path, _Bool *ambiguous); # 1088 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_resolve_path_type(const char *path, const char *typename, _Bool *ambiguous); # 1101 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *object_resolve_path_component(Object *parent, const gchar *part); # 1120 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_child(Object *obj, const char *name, Object *child, Error **errp); typedef enum { OBJ_PROP_LINK_UNREF_ON_RELEASE = 0x1, } ObjectPropertyLinkFlags; # 1135 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_allow_set_link(Object *, const char *, Object *, Error **); # 1166 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_link(Object *obj, const char *name, const char *type, Object **child, void (*check)(Object *obj, const char *name, Object *val, Error **errp), ObjectPropertyLinkFlags flags, Error **errp); # 1185 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_str(Object *obj, const char *name, char *(*get)(Object *, Error **), void (*set)(Object *, const char *, Error **), Error **errp); # 1201 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_bool(Object *obj, const char *name, _Bool (*get)(Object *, Error **), void (*set)(Object *, _Bool, Error **), Error **errp); # 1216 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_tm(Object *obj, const char *name, void (*get)(Object *, struct tm *, Error **), Error **errp); # 1230 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_uint8_ptr(Object *obj, const char *name, const uint8_t *v, Error **errp); # 1243 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_uint16_ptr(Object *obj, const char *name, const uint16_t *v, Error **errp); # 1256 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_uint32_ptr(Object *obj, const char *name, const uint32_t *v, Error **errp); # 1269 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_uint64_ptr(Object *obj, const char *name, const uint64_t *v, Error **Errp); # 1288 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_add_alias(Object *obj, const char *name, Object *target_obj, const char *target_name, Error **errp); # 1302 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" void object_property_set_description(Object *obj, const char *name, const char *description, Error **errp); # 1316 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" int object_child_foreach(Object *obj, int (*fn)(Object *child, void *opaque), void *opaque); # 1329 "/home/pi/Загрузки/qemu-2.3.1/include/qom/object.h" Object *container_get(Object *root, const char *path); # 9 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/hw/irq.h" 1 typedef struct IRQState *qemu_irq; typedef void (*qemu_irq_handler)(void *opaque, int n, int level); void qemu_set_irq(qemu_irq irq, int level); static __attribute__ (( always_inline )) __inline__ void qemu_irq_raise(qemu_irq irq) { qemu_set_irq(irq, 1); } static __attribute__ (( always_inline )) __inline__ void qemu_irq_lower(qemu_irq irq) { qemu_set_irq(irq, 0); } static __attribute__ (( always_inline )) __inline__ void qemu_irq_pulse(qemu_irq irq) { qemu_set_irq(irq, 1); qemu_set_irq(irq, 0); } qemu_irq *qemu_allocate_irqs(qemu_irq_handler handler, void *opaque, int n); qemu_irq qemu_allocate_irq(qemu_irq_handler handler, void *opaque, int n); qemu_irq *qemu_extend_irqs(qemu_irq *old, int n_old, qemu_irq_handler handler, void *opaque, int n); void qemu_free_irqs(qemu_irq *s, int n); void qemu_free_irq(qemu_irq irq); qemu_irq qemu_irq_invert(qemu_irq irq); qemu_irq qemu_irq_split(qemu_irq irq1, qemu_irq irq2); qemu_irq *qemu_irq_proxy(qemu_irq **target, int n); void qemu_irq_intercept_in(qemu_irq *gpio_in, qemu_irq_handler handler, int n); # 10 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/hw/hotplug.h" 1 # 28 "/home/pi/Загрузки/qemu-2.3.1/include/hw/hotplug.h" typedef struct HotplugHandler { Object Parent; } HotplugHandler; typedef void (*hotplug_fn)(HotplugHandler *plug_handler, DeviceState *plugged_dev, Error **errp); # 57 "/home/pi/Загрузки/qemu-2.3.1/include/hw/hotplug.h" typedef struct HotplugHandlerClass { InterfaceClass parent; hotplug_fn plug; hotplug_fn unplug_request; hotplug_fn unplug; } HotplugHandlerClass; void hotplug_handler_plug(HotplugHandler *plug_handler, DeviceState *plugged_dev, Error **errp); void hotplug_handler_unplug_request(HotplugHandler *plug_handler, DeviceState *plugged_dev, Error **errp); void hotplug_handler_unplug(HotplugHandler *plug_handler, DeviceState *plugged_dev, Error **errp); # 12 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" 2 enum { DEV_NVECTORS_UNSPECIFIED = -1, }; typedef enum DeviceCategory { DEVICE_CATEGORY_BRIDGE, DEVICE_CATEGORY_USB, DEVICE_CATEGORY_STORAGE, DEVICE_CATEGORY_NETWORK, DEVICE_CATEGORY_INPUT, DEVICE_CATEGORY_DISPLAY, DEVICE_CATEGORY_SOUND, DEVICE_CATEGORY_MISC, DEVICE_CATEGORY_MAX } DeviceCategory; typedef int (*qdev_initfn)(DeviceState *dev); typedef int (*qdev_event)(DeviceState *dev); typedef void (*qdev_resetfn)(DeviceState *dev); typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); typedef void (*BusRealize)(BusState *bus, Error **errp); typedef void (*BusUnrealize)(BusState *bus, Error **errp); struct VMStateDescription; # 96 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" typedef struct DeviceClass { ObjectClass parent_class; unsigned long categories[(((DEVICE_CATEGORY_MAX) + (8 * sizeof(long)) - 1) / (8 * sizeof(long)))]; const char *fw_name; const char *desc; Property *props; # 116 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" _Bool cannot_instantiate_with_device_add_yet; _Bool hotpluggable; void (*reset)(DeviceState *dev); DeviceRealize realize; DeviceUnrealize unrealize; const struct VMStateDescription *vmsd; qdev_initfn init; qdev_event exit; const char *bus_type; } DeviceClass; typedef struct NamedGPIOList NamedGPIOList; struct NamedGPIOList { char *name; qemu_irq *in; int num_in; int num_out; struct { struct NamedGPIOList *le_next; struct NamedGPIOList **le_prev; } node; }; # 150 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" struct DeviceState { Object parent_obj; const char *id; _Bool realized; _Bool pending_deleted_event; QemuOpts *opts; int hotplugged; BusState *parent_bus; struct { struct NamedGPIOList *lh_first; } gpios; struct { struct BusState *lh_first; } child_bus; int num_child_bus; int instance_id_alias; int alias_required_for_version; }; struct DeviceListener { void (*realize)(DeviceListener *listener, DeviceState *dev); void (*unrealize)(DeviceListener *listener, DeviceState *dev); struct { struct DeviceListener *tqe_next; struct DeviceListener * *tqe_prev; } link; }; struct BusClass { ObjectClass parent_class; void (*print_dev)(Monitor *mon, DeviceState *dev, int indent); char *(*get_dev_path)(DeviceState *dev); char *(*get_fw_dev_path)(DeviceState *dev); void (*reset)(BusState *bus); BusRealize realize; BusUnrealize unrealize; int max_dev; int automatic_ids; }; typedef struct BusChild { DeviceState *child; int index; struct { struct BusChild *tqe_next; struct BusChild * *tqe_prev; } sibling; } BusChild; struct BusState { Object obj; DeviceState *parent; const char *name; HotplugHandler *hotplug_handler; int max_index; _Bool realized; struct ChildrenHead { struct BusChild *tqh_first; struct BusChild * *tqh_last; } children; struct { struct BusState *le_next; struct BusState **le_prev; } sibling; }; struct Property { const char *name; PropertyInfo *info; int offset; uint8_t bitnr; uint8_t qtype; int64_t defval; int arrayoffset; PropertyInfo *arrayinfo; int arrayfieldsize; }; struct PropertyInfo { const char *name; const char *description; const char **enum_table; int (*print)(DeviceState *dev, Property *prop, char *dest, size_t len); ObjectPropertyAccessor *get; ObjectPropertyAccessor *set; ObjectPropertyRelease *release; }; typedef struct GlobalProperty { const char *driver; const char *property; const char *value; _Bool user_provided; _Bool used; struct { struct GlobalProperty *tqe_next; struct GlobalProperty * *tqe_prev; } next; } GlobalProperty; DeviceState *qdev_create(BusState *bus, const char *name); DeviceState *qdev_try_create(BusState *bus, const char *name); int qdev_init(DeviceState *dev) __attribute__((warn_unused_result)); void qdev_init_nofail(DeviceState *dev); void qdev_set_legacy_instance_id(DeviceState *dev, int alias_id, int required_for_version); void qdev_unplug(DeviceState *dev, Error **errp); void qdev_simple_device_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, Error **errp); void qdev_machine_creation_done(void); _Bool qdev_machine_modified(void); qemu_irq qdev_get_gpio_in(DeviceState *dev, int n); qemu_irq qdev_get_gpio_in_named(DeviceState *dev, const char *name, int n); void qdev_connect_gpio_out(DeviceState *dev, int n, qemu_irq pin); void qdev_connect_gpio_out_named(DeviceState *dev, const char *name, int n, qemu_irq pin); qemu_irq qdev_get_gpio_out_connector(DeviceState *dev, const char *name, int n); qemu_irq qdev_intercept_gpio_out(DeviceState *dev, qemu_irq icpt, const char *name, int n); BusState *qdev_get_child_bus(DeviceState *dev, const char *name); void qdev_init_gpio_in(DeviceState *dev, qemu_irq_handler handler, int n); void qdev_init_gpio_out(DeviceState *dev, qemu_irq *pins, int n); void qdev_init_gpio_in_named(DeviceState *dev, qemu_irq_handler handler, const char *name, int n); void qdev_init_gpio_out_named(DeviceState *dev, qemu_irq *pins, const char *name, int n); void qdev_pass_gpios(DeviceState *dev, DeviceState *container, const char *name); BusState *qdev_get_parent_bus(DeviceState *dev); DeviceState *qdev_find_recursive(BusState *bus, const char *id); typedef int (qbus_walkerfn)(BusState *bus, void *opaque); typedef int (qdev_walkerfn)(DeviceState *dev, void *opaque); void qbus_create_inplace(void *bus, size_t size, const char *typename, DeviceState *parent, const char *name); BusState *qbus_create(const char *typename, DeviceState *parent, const char *name); int qbus_walk_children(BusState *bus, qdev_walkerfn *pre_devfn, qbus_walkerfn *pre_busfn, qdev_walkerfn *post_devfn, qbus_walkerfn *post_busfn, void *opaque); int qdev_walk_children(DeviceState *dev, qdev_walkerfn *pre_devfn, qbus_walkerfn *pre_busfn, qdev_walkerfn *post_devfn, qbus_walkerfn *post_busfn, void *opaque); void qdev_reset_all(DeviceState *dev); # 338 "/home/pi/Загрузки/qemu-2.3.1/include/hw/qdev-core.h" void qbus_reset_all(BusState *bus); void qbus_reset_all_fn(void *opaque); BusState *sysbus_get_default(void); char *qdev_get_fw_dev_path(DeviceState *dev); char *qdev_get_own_fw_dev_path_from_handler(BusState *bus, DeviceState *dev); void qdev_machine_init(void); void device_reset(DeviceState *dev); const struct VMStateDescription *qdev_get_vmsd(DeviceState *dev); const char *qdev_fw_name(DeviceState *dev); Object *qdev_get_machine(void); void qdev_set_parent_bus(DeviceState *dev, BusState *bus); extern int qdev_hotplug; char *qdev_get_dev_path(DeviceState *dev); GSList *qdev_build_hotpluggable_device_list(Object *peripheral); void qbus_set_hotplug_handler(BusState *bus, DeviceState *handler, Error **errp); void qbus_set_bus_hotplug_handler(BusState *bus, Error **errp); static __attribute__ (( always_inline )) __inline__ _Bool qbus_is_hotpluggable(BusState *bus) { return bus->hotplug_handler; } void device_listener_register(DeviceListener *listener); void device_listener_unregister(DeviceListener *listener); # 26 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/thread.h" 1 typedef struct QemuMutex QemuMutex; typedef struct QemuCond QemuCond; typedef struct QemuSemaphore QemuSemaphore; typedef struct QemuEvent QemuEvent; typedef struct QemuThread QemuThread; # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/thread-posix.h" 1 # 1 "/usr/include/semaphore.h" 1 3 4 # 30 "/usr/include/semaphore.h" 3 4 # 1 "/usr/include/arm-linux-gnueabihf/bits/semaphore.h" 1 3 4 # 31 "/usr/include/arm-linux-gnueabihf/bits/semaphore.h" 3 4 typedef union { char __size[16]; long int __align; } sem_t; # 31 "/usr/include/semaphore.h" 2 3 4 extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value) __attribute__ ((__nothrow__)); extern int sem_destroy (sem_t *__sem) __attribute__ ((__nothrow__)); extern sem_t *sem_open (__const char *__name, int __oflag, ...) __attribute__ ((__nothrow__)); extern int sem_close (sem_t *__sem) __attribute__ ((__nothrow__)); extern int sem_unlink (__const char *__name) __attribute__ ((__nothrow__)); extern int sem_wait (sem_t *__sem); extern int sem_timedwait (sem_t *__restrict __sem, __const struct timespec *__restrict __abstime); extern int sem_trywait (sem_t *__sem) __attribute__ ((__nothrow__)); extern int sem_post (sem_t *__sem) __attribute__ ((__nothrow__)); extern int sem_getvalue (sem_t *__restrict __sem, int *__restrict __sval) __attribute__ ((__nothrow__)); # 5 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/thread-posix.h" 2 struct QemuMutex { pthread_mutex_t lock; }; struct QemuCond { pthread_cond_t cond; }; struct QemuSemaphore { sem_t sem; }; struct QemuEvent { unsigned value; }; struct QemuThread { pthread_t thread; }; # 17 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/thread.h" 2 void qemu_mutex_init(QemuMutex *mutex); void qemu_mutex_destroy(QemuMutex *mutex); void qemu_mutex_lock(QemuMutex *mutex); int qemu_mutex_trylock(QemuMutex *mutex); void qemu_mutex_unlock(QemuMutex *mutex); void qemu_cond_init(QemuCond *cond); void qemu_cond_destroy(QemuCond *cond); void qemu_cond_signal(QemuCond *cond); void qemu_cond_broadcast(QemuCond *cond); void qemu_cond_wait(QemuCond *cond, QemuMutex *mutex); void qemu_sem_init(QemuSemaphore *sem, int init); void qemu_sem_post(QemuSemaphore *sem); void qemu_sem_wait(QemuSemaphore *sem); int qemu_sem_timedwait(QemuSemaphore *sem, int ms); void qemu_sem_destroy(QemuSemaphore *sem); void qemu_event_init(QemuEvent *ev, _Bool init); void qemu_event_set(QemuEvent *ev); void qemu_event_reset(QemuEvent *ev); void qemu_event_wait(QemuEvent *ev); void qemu_event_destroy(QemuEvent *ev); void qemu_thread_create(QemuThread *thread, const char *name, void *(*start_routine)(void *), void *arg, int mode); void *qemu_thread_join(QemuThread *thread); void qemu_thread_get_self(QemuThread *thread); _Bool qemu_thread_is_self(QemuThread *thread); void qemu_thread_exit(void *retval); void qemu_thread_naming(_Bool enable); struct Notifier; void qemu_thread_atexit_add(struct Notifier *notifier); void qemu_thread_atexit_remove(struct Notifier *notifier); # 29 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/tls.h" 1 # 30 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" 2 typedef int (*WriteCoreDumpFunction)(const void *buf, size_t size, void *opaque); typedef uint64_t vaddr; # 65 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" typedef struct CPUState CPUState; typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, _Bool is_write, _Bool is_exec, int opaque, unsigned size); struct TranslationBlock; # 122 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" typedef struct CPUClass { DeviceClass parent_class; ObjectClass *(*class_by_name)(const char *cpu_model); void (*parse_features)(CPUState *cpu, char *str, Error **errp); void (*reset)(CPUState *cpu); int reset_dump_flags; _Bool (*has_work)(CPUState *cpu); void (*do_interrupt)(CPUState *cpu); CPUUnassignedAccess do_unassigned_access; void (*do_unaligned_access)(CPUState *cpu, vaddr addr, int is_write, int is_user, uintptr_t retaddr); _Bool (*virtio_is_big_endian)(CPUState *cpu); int (*memory_rw_debug)(CPUState *cpu, vaddr addr, uint8_t *buf, int len, _Bool is_write); void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, int flags); void (*dump_statistics)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, int flags); int64_t (*get_arch_id)(CPUState *cpu); _Bool (*get_paging_enabled)(const CPUState *cpu); void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, Error **errp); void (*set_pc)(CPUState *cpu, vaddr value); void (*synchronize_from_tb)(CPUState *cpu, struct TranslationBlock *tb); int (*handle_mmu_fault)(CPUState *cpu, vaddr address, int rw, int mmu_index); hwaddr (*get_phys_page_debug)(CPUState *cpu, vaddr addr); int (*gdb_read_register)(CPUState *cpu, uint8_t *buf, int reg); int (*gdb_write_register)(CPUState *cpu, uint8_t *buf, int reg); void (*debug_excp_handler)(CPUState *cpu); int (*write_elf64_note)(WriteCoreDumpFunction f, CPUState *cpu, int cpuid, void *opaque); int (*write_elf64_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, void *opaque); int (*write_elf32_note)(WriteCoreDumpFunction f, CPUState *cpu, int cpuid, void *opaque); int (*write_elf32_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, void *opaque); const struct VMStateDescription *vmsd; int gdb_num_core_regs; const char *gdb_core_xml_file; _Bool gdb_stop_before_watchpoint; void (*cpu_exec_enter)(CPUState *cpu); void (*cpu_exec_exit)(CPUState *cpu); _Bool (*cpu_exec_interrupt)(CPUState *cpu, int interrupt_request); } CPUClass; typedef struct icount_decr_u16 { uint16_t low; uint16_t high; } icount_decr_u16; typedef struct CPUBreakpoint { vaddr pc; int flags; struct { struct CPUBreakpoint *tqe_next; struct CPUBreakpoint * *tqe_prev; } entry; } CPUBreakpoint; typedef struct CPUWatchpoint { vaddr vaddr; vaddr len; vaddr hitaddr; int flags; struct { struct CPUWatchpoint *tqe_next; struct CPUWatchpoint * *tqe_prev; } entry; } CPUWatchpoint; struct KVMState; struct kvm_run; # 242 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" struct CPUState { DeviceState parent_obj; int nr_cores; int nr_threads; int numa_node; struct QemuThread *thread; int thread_id; uint32_t host_tid; _Bool running; struct QemuCond *halt_cond; struct qemu_work_item *queued_work_first, *queued_work_last; _Bool thread_kicked; _Bool created; _Bool stop; _Bool stopped; volatile sig_atomic_t exit_request; uint32_t interrupt_request; int singlestep_enabled; int64_t icount_extra; sigjmp_buf jmp_env; AddressSpace *as; struct AddressSpaceDispatch *memory_dispatch; MemoryListener *tcg_as_listener; void *env_ptr; struct TranslationBlock *current_tb; struct TranslationBlock *tb_jmp_cache[(1 << 12)]; struct GDBRegisterState *gdb_regs; int gdb_num_regs; int gdb_num_g_regs; struct { struct CPUState *tqe_next; struct CPUState * *tqe_prev; } node; struct breakpoints_head { struct CPUBreakpoint *tqh_first; struct CPUBreakpoint * *tqh_last; } breakpoints; struct watchpoints_head { struct CPUWatchpoint *tqh_first; struct CPUWatchpoint * *tqh_last; } watchpoints; CPUWatchpoint *watchpoint_hit; void *opaque; uintptr_t mem_io_pc; vaddr mem_io_vaddr; int kvm_fd; _Bool kvm_vcpu_dirty; struct KVMState *kvm_state; struct kvm_run *kvm_run; int cpu_index; uint32_t halted; union { uint32_t u32; icount_decr_u16 u16; } icount_decr; uint32_t can_do_io; int32_t exception_index; volatile sig_atomic_t tcg_exit_req; }; struct CPUTailQ { struct CPUState *tqh_first; struct CPUState * *tqh_last; }; extern struct CPUTailQ cpus; extern __thread __typeof__(CPUState *) tls__current_cpu; # 335 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" _Bool cpu_paging_enabled(const CPUState *cpu); void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, Error **errp); # 353 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" int cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cpu, int cpuid, void *opaque); # 363 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" int cpu_write_elf64_qemunote(WriteCoreDumpFunction f, CPUState *cpu, void *opaque); # 373 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" int cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cpu, int cpuid, void *opaque); # 383 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" int cpu_write_elf32_qemunote(WriteCoreDumpFunction f, CPUState *cpu, void *opaque); enum CPUDumpFlags { CPU_DUMP_CODE = 0x00010000, CPU_DUMP_FPU = 0x00020000, CPU_DUMP_CCOP = 0x00040000, }; # 407 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" void cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, int flags); # 419 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" void cpu_dump_statistics(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, int flags); # 433 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" static __attribute__ (( always_inline )) __inline__ hwaddr cpu_get_phys_page_debug(CPUState *cpu, vaddr addr) { CPUClass *cc = ((CPUClass *)object_class_dynamic_cast_assert(((ObjectClass *)(object_get_class(((Object *)((cpu)))))), ("cpu"), "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h", 435, __func__)); return cc->get_phys_page_debug(cpu, addr); } void cpu_reset(CPUState *cpu); # 456 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" ObjectClass *cpu_class_by_name(const char *typename, const char *cpu_model); # 467 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" CPUState *cpu_generic_init(const char *typename, const char *cpu_model); # 477 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" static __attribute__ (( always_inline )) __inline__ _Bool cpu_has_work(CPUState *cpu) { CPUClass *cc = ((CPUClass *)object_class_dynamic_cast_assert(((ObjectClass *)(object_get_class(((Object *)((cpu)))))), ("cpu"), "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h", 479, __func__)); do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (cc->has_work) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h", 481, ((const char*) (__FUNCTION__)), "cc->has_work"); } while (0); return cc->has_work(cpu); } # 493 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" _Bool qemu_cpu_is_self(CPUState *cpu); void qemu_cpu_kick(CPUState *cpu); # 512 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" _Bool cpu_is_stopped(CPUState *cpu); # 522 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" void run_on_cpu(CPUState *cpu, void (*func)(void *data), void *data); # 532 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" void async_run_on_cpu(CPUState *cpu, void (*func)(void *data), void *data); # 542 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" CPUState *qemu_get_cpu(int index); # 552 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" _Bool cpu_exists(int64_t id); typedef void (*CPUInterruptHandler)(CPUState *, int); extern CPUInterruptHandler cpu_interrupt_handler; # 567 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" static __attribute__ (( always_inline )) __inline__ void cpu_interrupt(CPUState *cpu, int mask) { cpu_interrupt_handler(cpu, mask); } # 579 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" static __attribute__ (( always_inline )) __inline__ void cpu_unassigned_access(CPUState *cpu, hwaddr addr, _Bool is_write, _Bool is_exec, int opaque, unsigned size) { CPUClass *cc = ((CPUClass *)object_class_dynamic_cast_assert(((ObjectClass *)(object_get_class(((Object *)((cpu)))))), ("cpu"), "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h", 583, __func__)); if (cc->do_unassigned_access) { cc->do_unassigned_access(cpu, addr, is_write, is_exec, opaque, size); } } static __attribute__ (( always_inline )) __inline__ void cpu_unaligned_access(CPUState *cpu, vaddr addr, int is_write, int is_user, uintptr_t retaddr) { CPUClass *cc = ((CPUClass *)object_class_dynamic_cast_assert(((ObjectClass *)(object_get_class(((Object *)((cpu)))))), ("cpu"), "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h", 594, __func__)); cc->do_unaligned_access(cpu, addr, is_write, is_user, retaddr); } # 607 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" void cpu_reset_interrupt(CPUState *cpu, int mask); void cpu_exit(CPUState *cpu); void cpu_resume(CPUState *cpu); void qemu_init_vcpu(CPUState *cpu); # 644 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" void cpu_single_step(CPUState *cpu, int enabled); # 658 "/home/pi/Загрузки/qemu-2.3.1/include/qom/cpu.h" int cpu_breakpoint_insert(CPUState *cpu, vaddr pc, int flags, CPUBreakpoint **breakpoint); int cpu_breakpoint_remove(CPUState *cpu, vaddr pc, int flags); void cpu_breakpoint_remove_by_ref(CPUState *cpu, CPUBreakpoint *breakpoint); void cpu_breakpoint_remove_all(CPUState *cpu, int mask); int cpu_watchpoint_insert(CPUState *cpu, vaddr addr, vaddr len, int flags, CPUWatchpoint **watchpoint); int cpu_watchpoint_remove(CPUState *cpu, vaddr addr, vaddr len, int flags); void cpu_watchpoint_remove_by_ref(CPUState *cpu, CPUWatchpoint *watchpoint); void cpu_watchpoint_remove_all(CPUState *cpu, int mask); void __attribute__ ((__noreturn__)) cpu_abort(CPUState *cpu, const char *fmt, ...) __attribute__((format(gnu_printf, 2, 3))); extern const struct VMStateDescription vmstate_cpu_common; # 24 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu-qom.h" 2 # 45 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu-qom.h" typedef struct MIPSCPUClass { CPUClass parent_class; DeviceRealize parent_realize; void (*parent_reset)(CPUState *cpu); } MIPSCPUClass; typedef struct MIPSCPU { CPUState parent_obj; CPUMIPSState env; } MIPSCPU; static __attribute__ (( always_inline )) __inline__ MIPSCPU *mips_env_get_cpu(CPUMIPSState *env) { return ({ const typeof(((MIPSCPU *) 0)->env) *__mptr = (env); (MIPSCPU *) ((char *) __mptr - __builtin_offsetof (MIPSCPU, env));}); } extern const struct VMStateDescription vmstate_mips_cpu; void mips_cpu_do_interrupt(CPUState *cpu); _Bool mips_cpu_exec_interrupt(CPUState *cpu, int int_req); void mips_cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, int flags); hwaddr mips_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr); int mips_cpu_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg); int mips_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); void mips_cpu_do_unaligned_access(CPUState *cpu, vaddr addr, int is_write, int is_user, uintptr_t retaddr); # 587 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 2 int no_mmu_map_address (CPUMIPSState *env, hwaddr *physical, int *prot, target_ulong address, int rw, int access_type); int fixed_mmu_map_address (CPUMIPSState *env, hwaddr *physical, int *prot, target_ulong address, int rw, int access_type); int r4k_map_address (CPUMIPSState *env, hwaddr *physical, int *prot, target_ulong address, int rw, int access_type); void r4k_helper_tlbwi(CPUMIPSState *env); void r4k_helper_tlbwr(CPUMIPSState *env); void r4k_helper_tlbp(CPUMIPSState *env); void r4k_helper_tlbr(CPUMIPSState *env); void r4k_helper_tlbinv(CPUMIPSState *env); void r4k_helper_tlbinvf(CPUMIPSState *env); void mips_cpu_unassigned_access(CPUState *cpu, hwaddr addr, _Bool is_write, _Bool is_exec, int unused, unsigned size); void mips_cpu_list (FILE *f, fprintf_function cpu_fprintf); extern void cpu_wrdsp(uint32_t rs, uint32_t mask_num, CPUMIPSState *env); extern uint32_t cpu_rddsp(uint32_t mask_num, CPUMIPSState *env); static __attribute__ (( always_inline )) __inline__ int cpu_mmu_index (CPUMIPSState *env) { return env->hflags & 0x00003; } static __attribute__ (( always_inline )) __inline__ int cpu_mips_hw_interrupts_pending(CPUMIPSState *env) { int32_t pending; int32_t status; int r; if (!(env->CP0_Status & (1 << 0)) || (env->CP0_Status & (1 << 1)) || (env->CP0_Status & (1 << 2)) || (env->active_tc.CP0_TCStatus & (1 << 10)) || (env->hflags & 0x00004)) { return 0; } pending = env->CP0_Cause & 0x0000FF00; status = env->CP0_Status & 0x0000FF00; if (env->CP0_Config3 & (1 << 6)) { r = pending > status; } else { r = pending & status; } return r; } # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" 1 # 23 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-common.h" 1 # 14 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-common.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/bswap.h" 1 # 15 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-common.h" 2 # 24 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-common.h" typedef struct CPUListState { fprintf_function cpu_fprintf; FILE *file; } CPUListState; typedef enum MMUAccessType { MMU_DATA_LOAD = 0, MMU_DATA_STORE = 1, MMU_INST_FETCH = 2 } MMUAccessType; enum device_endian { DEVICE_NATIVE_ENDIAN, DEVICE_BIG_ENDIAN, DEVICE_LITTLE_ENDIAN, }; typedef uintptr_t ram_addr_t; extern ram_addr_t ram_size; ram_addr_t get_current_ram_size(void); typedef void CPUWriteMemoryFunc(void *opaque, hwaddr addr, uint32_t value); typedef uint32_t CPUReadMemoryFunc(void *opaque, hwaddr addr); void qemu_ram_remap(ram_addr_t addr, ram_addr_t length); MemoryRegion *qemu_ram_addr_from_host(void *ptr, ram_addr_t *ram_addr); void qemu_ram_set_idstr(ram_addr_t addr, const char *name, DeviceState *dev); void qemu_ram_unset_idstr(ram_addr_t addr); void cpu_physical_memory_rw(hwaddr addr, uint8_t *buf, int len, int is_write); static __attribute__ (( always_inline )) __inline__ void cpu_physical_memory_read(hwaddr addr, void *buf, int len) { cpu_physical_memory_rw(addr, buf, len, 0); } static __attribute__ (( always_inline )) __inline__ void cpu_physical_memory_write(hwaddr addr, const void *buf, int len) { cpu_physical_memory_rw(addr, (void *)buf, len, 1); } void *cpu_physical_memory_map(hwaddr addr, hwaddr *plen, int is_write); void cpu_physical_memory_unmap(void *buffer, hwaddr len, int is_write, hwaddr access_len); void *cpu_register_map_client(void *opaque, void (*callback)(void *opaque)); _Bool cpu_physical_memory_is_io(hwaddr phys_addr); void qemu_flush_coalesced_mmio_buffer(void); uint32_t ldub_phys(AddressSpace *as, hwaddr addr); uint32_t lduw_le_phys(AddressSpace *as, hwaddr addr); uint32_t lduw_be_phys(AddressSpace *as, hwaddr addr); uint32_t ldl_le_phys(AddressSpace *as, hwaddr addr); uint32_t ldl_be_phys(AddressSpace *as, hwaddr addr); uint64_t ldq_le_phys(AddressSpace *as, hwaddr addr); uint64_t ldq_be_phys(AddressSpace *as, hwaddr addr); void stb_phys(AddressSpace *as, hwaddr addr, uint32_t val); void stw_le_phys(AddressSpace *as, hwaddr addr, uint32_t val); void stw_be_phys(AddressSpace *as, hwaddr addr, uint32_t val); void stl_le_phys(AddressSpace *as, hwaddr addr, uint32_t val); void stl_be_phys(AddressSpace *as, hwaddr addr, uint32_t val); void stq_le_phys(AddressSpace *as, hwaddr addr, uint64_t val); void stq_be_phys(AddressSpace *as, hwaddr addr, uint64_t val); uint32_t lduw_phys(AddressSpace *as, hwaddr addr); uint32_t ldl_phys(AddressSpace *as, hwaddr addr); uint64_t ldq_phys(AddressSpace *as, hwaddr addr); void stl_phys_notdirty(AddressSpace *as, hwaddr addr, uint32_t val); void stw_phys(AddressSpace *as, hwaddr addr, uint32_t val); void stl_phys(AddressSpace *as, hwaddr addr, uint32_t val); void stq_phys(AddressSpace *as, hwaddr addr, uint64_t val); void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, const uint8_t *buf, int len); void cpu_flush_icache_range(hwaddr start, int len); extern struct MemoryRegion io_mem_rom; extern struct MemoryRegion io_mem_notdirty; typedef void (RAMBlockIterFunc)(void *host_addr, ram_addr_t offset, ram_addr_t length, void *opaque); void qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque); # 24 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" 1 # 32 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/int128.h" 1 # 1 "/usr/include/assert.h" 1 3 4 # 5 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/int128.h" 2 typedef struct Int128 Int128; struct Int128 { uint64_t lo; int64_t hi; }; static __attribute__ (( always_inline )) __inline__ Int128 int128_make64(uint64_t a) { return (Int128) { a, 0 }; } static __attribute__ (( always_inline )) __inline__ uint64_t int128_get64(Int128 a) { ((!a.hi) ? (void) (0) : __assert_fail ("!a.hi", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/int128.h", 22, __PRETTY_FUNCTION__)); return a.lo; } static __attribute__ (( always_inline )) __inline__ Int128 int128_zero(void) { return int128_make64(0); } static __attribute__ (( always_inline )) __inline__ Int128 int128_one(void) { return int128_make64(1); } static __attribute__ (( always_inline )) __inline__ Int128 int128_2_64(void) { return (Int128) { 0, 1 }; } static __attribute__ (( always_inline )) __inline__ Int128 int128_exts64(int64_t a) { return (Int128) { .lo = a, .hi = (a < 0) ? -1 : 0 }; } static __attribute__ (( always_inline )) __inline__ Int128 int128_and(Int128 a, Int128 b) { return (Int128) { a.lo & b.lo, a.hi & b.hi }; } static __attribute__ (( always_inline )) __inline__ Int128 int128_rshift(Int128 a, int n) { int64_t h; if (!n) { return a; } h = a.hi >> (n & 63); if (n >= 64) { return (Int128) { h, h >> 63 }; } else { return (Int128) { (a.lo >> n) | ((uint64_t)a.hi << (64 - n)), h }; } } static __attribute__ (( always_inline )) __inline__ Int128 int128_add(Int128 a, Int128 b) { uint64_t lo = a.lo + b.lo; return (Int128) { lo, (uint64_t)a.hi + b.hi + (lo < a.lo) }; } static __attribute__ (( always_inline )) __inline__ Int128 int128_neg(Int128 a) { uint64_t lo = -a.lo; return (Int128) { lo, ~(uint64_t)a.hi + !lo }; } static __attribute__ (( always_inline )) __inline__ Int128 int128_sub(Int128 a, Int128 b) { return (Int128){ a.lo - b.lo, (uint64_t)a.hi - b.hi - (a.lo < b.lo) }; } static __attribute__ (( always_inline )) __inline__ _Bool int128_nonneg(Int128 a) { return a.hi >= 0; } static __attribute__ (( always_inline )) __inline__ _Bool int128_eq(Int128 a, Int128 b) { return a.lo == b.lo && a.hi == b.hi; } static __attribute__ (( always_inline )) __inline__ _Bool int128_ne(Int128 a, Int128 b) { return !int128_eq(a, b); } static __attribute__ (( always_inline )) __inline__ _Bool int128_ge(Int128 a, Int128 b) { return a.hi > b.hi || (a.hi == b.hi && a.lo >= b.lo); } static __attribute__ (( always_inline )) __inline__ _Bool int128_lt(Int128 a, Int128 b) { return !int128_ge(a, b); } static __attribute__ (( always_inline )) __inline__ _Bool int128_le(Int128 a, Int128 b) { return int128_ge(b, a); } static __attribute__ (( always_inline )) __inline__ _Bool int128_gt(Int128 a, Int128 b) { return !int128_le(a, b); } static __attribute__ (( always_inline )) __inline__ _Bool int128_nz(Int128 a) { return a.lo || a.hi; } static __attribute__ (( always_inline )) __inline__ Int128 int128_min(Int128 a, Int128 b) { return int128_le(a, b) ? a : b; } static __attribute__ (( always_inline )) __inline__ Int128 int128_max(Int128 a, Int128 b) { return int128_ge(a, b) ? a : b; } static __attribute__ (( always_inline )) __inline__ void int128_addto(Int128 *a, Int128 b) { *a = int128_add(*a, b); } static __attribute__ (( always_inline )) __inline__ void int128_subfrom(Int128 *a, Int128 b) { *a = int128_sub(*a, b); } # 33 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/notify.h" 1 # 19 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/notify.h" typedef struct Notifier Notifier; struct Notifier { void (*notify)(Notifier *notifier, void *data); struct { struct Notifier *le_next; struct Notifier **le_prev; } node; }; typedef struct NotifierList { struct { struct Notifier *lh_first; } notifiers; } NotifierList; void notifier_list_init(NotifierList *list); void notifier_list_add(NotifierList *list, Notifier *notifier); void notifier_remove(Notifier *notifier); void notifier_list_notify(NotifierList *list, void *data); typedef struct NotifierWithReturn NotifierWithReturn; struct NotifierWithReturn { int (*notify)(NotifierWithReturn *notifier, void *data); struct { struct NotifierWithReturn *le_next; struct NotifierWithReturn **le_prev; } node; }; typedef struct NotifierWithReturnList { struct { struct NotifierWithReturn *lh_first; } notifiers; } NotifierWithReturnList; void notifier_with_return_list_init(NotifierWithReturnList *list); void notifier_with_return_list_add(NotifierWithReturnList *list, NotifierWithReturn *notifier); void notifier_with_return_remove(NotifierWithReturn *notifier); int notifier_with_return_list_notify(NotifierWithReturnList *list, void *data); # 34 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/rcu.h" 1 # 27 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/rcu.h" # 1 "/usr/include/assert.h" 1 3 4 # 28 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/rcu.h" 2 # 1 "/usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed/limits.h" 1 3 4 # 29 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/rcu.h" 2 # 62 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/rcu.h" extern unsigned long rcu_gp_ctr; extern QemuEvent rcu_gp_event; struct rcu_reader_data { unsigned long ctr; _Bool waiting; unsigned depth; struct { struct rcu_reader_data *le_next; struct rcu_reader_data **le_prev; } node; }; extern __thread struct rcu_reader_data rcu_reader; static __attribute__ (( always_inline )) __inline__ void rcu_read_lock(void) { struct rcu_reader_data *p_rcu_reader = &rcu_reader; unsigned ctr; if (p_rcu_reader->depth++ > 0) { return; } ctr = (*(__typeof__(*&rcu_gp_ctr) volatile*) (&rcu_gp_ctr)); (__sync_synchronize(), __sync_lock_test_and_set(&p_rcu_reader->ctr, ctr)); if ((*(__typeof__(*&p_rcu_reader->waiting) volatile*) (&p_rcu_reader->waiting))) { ((*(__typeof__(*&p_rcu_reader->waiting) volatile*) (&p_rcu_reader->waiting)) = (0)); qemu_event_set(&rcu_gp_event); } } static __attribute__ (( always_inline )) __inline__ void rcu_read_unlock(void) { struct rcu_reader_data *p_rcu_reader = &rcu_reader; ((p_rcu_reader->depth != 0) ? (void) (0) : __assert_fail ("p_rcu_reader->depth != 0", "/home/pi/Загрузки/qemu-2.3.1/include/qemu/rcu.h", 101, __PRETTY_FUNCTION__)); if (--p_rcu_reader->depth > 0) { return; } (__sync_synchronize(), __sync_lock_test_and_set(&p_rcu_reader->ctr, 0)); if ((*(__typeof__(*&p_rcu_reader->waiting) volatile*) (&p_rcu_reader->waiting))) { ((*(__typeof__(*&p_rcu_reader->waiting) volatile*) (&p_rcu_reader->waiting)) = (0)); qemu_event_set(&rcu_gp_event); } } extern void synchronize_rcu(void); extern void rcu_register_thread(void); extern void rcu_unregister_thread(void); extern void rcu_after_fork(void); struct rcu_head; typedef void RCUCBFunc(struct rcu_head *head); struct rcu_head { struct rcu_head *next; RCUCBFunc *func; }; extern void call_rcu1(struct rcu_head *head, RCUCBFunc *func); # 37 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" 2 # 45 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" typedef struct MemoryRegionOps MemoryRegionOps; typedef struct MemoryRegionMmio MemoryRegionMmio; struct MemoryRegionMmio { CPUReadMemoryFunc *read[3]; CPUWriteMemoryFunc *write[3]; }; typedef struct IOMMUTLBEntry IOMMUTLBEntry; typedef enum { IOMMU_NONE = 0, IOMMU_RO = 1, IOMMU_WO = 2, IOMMU_RW = 3, } IOMMUAccessFlags; struct IOMMUTLBEntry { AddressSpace *target_as; hwaddr iova; hwaddr translated_addr; hwaddr addr_mask; IOMMUAccessFlags perm; }; struct MemoryRegionOps { uint64_t (*read)(void *opaque, hwaddr addr, unsigned size); void (*write)(void *opaque, hwaddr addr, uint64_t data, unsigned size); enum device_endian endianness; struct { unsigned min_access_size; unsigned max_access_size; _Bool unaligned; _Bool (*accepts)(void *opaque, hwaddr addr, unsigned size, _Bool is_write); } valid; struct { unsigned min_access_size; unsigned max_access_size; _Bool unaligned; } impl; const MemoryRegionMmio old_mmio; }; typedef struct MemoryRegionIOMMUOps MemoryRegionIOMMUOps; struct MemoryRegionIOMMUOps { IOMMUTLBEntry (*translate)(MemoryRegion *iommu, hwaddr addr, _Bool is_write); }; typedef struct CoalescedMemoryRange CoalescedMemoryRange; typedef struct MemoryRegionIoeventfd MemoryRegionIoeventfd; struct MemoryRegion { Object parent_obj; const MemoryRegionOps *ops; const MemoryRegionIOMMUOps *iommu_ops; void *opaque; MemoryRegion *container; Int128 size; hwaddr addr; void (*destructor)(MemoryRegion *mr); ram_addr_t ram_addr; uint64_t align; _Bool subpage; _Bool terminates; _Bool romd_mode; _Bool ram; _Bool skip_dump; _Bool readonly; _Bool enabled; _Bool rom_device; _Bool warning_printed; _Bool flush_coalesced_mmio; MemoryRegion *alias; hwaddr alias_offset; int32_t priority; _Bool may_overlap; struct subregions { struct MemoryRegion *tqh_first; struct MemoryRegion * *tqh_last; } subregions; struct { struct MemoryRegion *tqe_next; struct MemoryRegion * *tqe_prev; } subregions_link; struct coalesced_ranges { struct CoalescedMemoryRange *tqh_first; struct CoalescedMemoryRange * *tqh_last; } coalesced; const char *name; uint8_t dirty_log_mask; unsigned ioeventfd_nb; MemoryRegionIoeventfd *ioeventfds; NotifierList iommu_notify; }; struct MemoryListener { void (*begin)(MemoryListener *listener); void (*commit)(MemoryListener *listener); void (*region_add)(MemoryListener *listener, MemoryRegionSection *section); void (*region_del)(MemoryListener *listener, MemoryRegionSection *section); void (*region_nop)(MemoryListener *listener, MemoryRegionSection *section); void (*log_start)(MemoryListener *listener, MemoryRegionSection *section); void (*log_stop)(MemoryListener *listener, MemoryRegionSection *section); void (*log_sync)(MemoryListener *listener, MemoryRegionSection *section); void (*log_global_start)(MemoryListener *listener); void (*log_global_stop)(MemoryListener *listener); void (*eventfd_add)(MemoryListener *listener, MemoryRegionSection *section, _Bool match_data, uint64_t data, EventNotifier *e); void (*eventfd_del)(MemoryListener *listener, MemoryRegionSection *section, _Bool match_data, uint64_t data, EventNotifier *e); void (*coalesced_mmio_add)(MemoryListener *listener, MemoryRegionSection *section, hwaddr addr, hwaddr len); void (*coalesced_mmio_del)(MemoryListener *listener, MemoryRegionSection *section, hwaddr addr, hwaddr len); unsigned priority; AddressSpace *address_space_filter; struct { struct MemoryListener *tqe_next; struct MemoryListener * *tqe_prev; } link; }; struct AddressSpace { struct rcu_head rcu; char *name; MemoryRegion *root; struct FlatView *current_map; int ioeventfd_nb; struct MemoryRegionIoeventfd *ioeventfds; struct AddressSpaceDispatch *dispatch; struct AddressSpaceDispatch *next_dispatch; MemoryListener dispatch_listener; struct { struct AddressSpace *tqe_next; struct AddressSpace * *tqe_prev; } address_spaces_link; }; # 238 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" struct MemoryRegionSection { MemoryRegion *mr; AddressSpace *address_space; hwaddr offset_within_region; Int128 size; hwaddr offset_within_address_space; _Bool readonly; }; # 258 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init(MemoryRegion *mr, struct Object *owner, const char *name, uint64_t size); # 278 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_ref(MemoryRegion *mr); # 290 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_unref(MemoryRegion *mr); # 306 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_io(MemoryRegion *mr, struct Object *owner, const MemoryRegionOps *ops, void *opaque, const char *name, uint64_t size); # 323 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_ram(MemoryRegion *mr, struct Object *owner, const char *name, uint64_t size, Error **errp); # 344 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_resizeable_ram(MemoryRegion *mr, struct Object *owner, const char *name, uint64_t size, uint64_t max_size, void (*resized)(const char*, uint64_t length, void *host), Error **errp); # 366 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_ram_from_file(MemoryRegion *mr, struct Object *owner, const char *name, uint64_t size, _Bool share, const char *path, Error **errp); # 386 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_ram_ptr(MemoryRegion *mr, struct Object *owner, const char *name, uint64_t size, void *ptr); # 404 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_alias(MemoryRegion *mr, struct Object *owner, const char *name, MemoryRegion *orig, hwaddr offset, uint64_t size); # 422 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_rom_device(MemoryRegion *mr, struct Object *owner, const MemoryRegionOps *ops, void *opaque, const char *name, uint64_t size, Error **errp); # 443 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_reservation(MemoryRegion *mr, struct Object *owner, const char *name, uint64_t size); # 461 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_init_iommu(MemoryRegion *mr, struct Object *owner, const MemoryRegionIOMMUOps *ops, const char *name, uint64_t size); struct Object *memory_region_owner(MemoryRegion *mr); uint64_t memory_region_size(MemoryRegion *mr); # 488 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_is_ram(MemoryRegion *mr); # 498 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_is_skip_dump(MemoryRegion *mr); void memory_region_set_skip_dump(MemoryRegion *mr); # 516 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" static __attribute__ (( always_inline )) __inline__ _Bool memory_region_is_romd(MemoryRegion *mr) { return mr->rom_device && mr->romd_mode; } # 528 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_is_iommu(MemoryRegion *mr); # 538 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_notify_iommu(MemoryRegion *mr, IOMMUTLBEntry entry); # 550 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_register_iommu_notifier(MemoryRegion *mr, Notifier *n); void memory_region_unregister_iommu_notifier(Notifier *n); # 567 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" const char *memory_region_name(const MemoryRegion *mr); # 576 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_is_logging(MemoryRegion *mr); # 585 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_is_rom(MemoryRegion *mr); # 595 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" int memory_region_get_fd(MemoryRegion *mr); # 606 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void *memory_region_get_ram_ptr(MemoryRegion *mr); # 619 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_log(MemoryRegion *mr, _Bool log, unsigned client); # 635 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_get_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size, unsigned client); # 648 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size); # 665 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_test_and_clear_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size, unsigned client); # 676 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_sync_dirty_bitmap(MemoryRegion *mr); # 690 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_reset_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size, unsigned client); # 702 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_readonly(MemoryRegion *mr, _Bool readonly); # 716 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_rom_device_set_romd(MemoryRegion *mr, _Bool romd_mode); # 727 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_coalescing(MemoryRegion *mr); # 740 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_add_coalescing(MemoryRegion *mr, hwaddr offset, uint64_t size); # 753 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_clear_coalescing(MemoryRegion *mr); # 765 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_flush_coalesced(MemoryRegion *mr); # 778 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_clear_flush_coalesced(MemoryRegion *mr); # 796 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_add_eventfd(MemoryRegion *mr, hwaddr addr, unsigned size, _Bool match_data, uint64_t data, EventNotifier *e); # 816 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_del_eventfd(MemoryRegion *mr, hwaddr addr, unsigned size, _Bool match_data, uint64_t data, EventNotifier *e); # 837 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_add_subregion(MemoryRegion *mr, hwaddr offset, MemoryRegion *subregion); # 857 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_add_subregion_overlap(MemoryRegion *mr, hwaddr offset, MemoryRegion *subregion, int priority); # 869 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" ram_addr_t memory_region_get_ram_addr(MemoryRegion *mr); uint64_t memory_region_get_alignment(const MemoryRegion *mr); # 880 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_del_subregion(MemoryRegion *mr, MemoryRegion *subregion); # 896 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_enabled(MemoryRegion *mr, _Bool enabled); # 907 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_address(MemoryRegion *mr, hwaddr addr); # 917 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_size(MemoryRegion *mr, uint64_t size); # 928 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_region_set_alias_offset(MemoryRegion *mr, hwaddr offset); # 941 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool memory_region_present(MemoryRegion *container, hwaddr addr); _Bool memory_region_is_mapped(MemoryRegion *mr); # 979 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" MemoryRegionSection memory_region_find(MemoryRegion *mr, hwaddr addr, uint64_t size); void address_space_sync_dirty_bitmap(AddressSpace *as); void memory_region_transaction_begin(void); void memory_region_transaction_commit(void); # 1012 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void memory_listener_register(MemoryListener *listener, AddressSpace *filter); void memory_listener_unregister(MemoryListener *listener); void memory_global_dirty_log_start(void); void memory_global_dirty_log_stop(void); void mtree_info(fprintf_function mon_printf, void *f); # 1041 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void address_space_init(AddressSpace *as, MemoryRegion *root, const char *name); # 1053 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void address_space_destroy(AddressSpace *as); # 1066 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool address_space_rw(AddressSpace *as, hwaddr addr, uint8_t *buf, int len, _Bool is_write); # 1079 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool address_space_write(AddressSpace *as, hwaddr addr, const uint8_t *buf, int len); # 1092 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool address_space_read(AddressSpace *as, hwaddr addr, uint8_t *buf, int len); # 1104 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" MemoryRegion *address_space_translate(AddressSpace *as, hwaddr addr, hwaddr *xlat, hwaddr *len, _Bool is_write); # 1123 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" _Bool address_space_access_valid(AddressSpace *as, hwaddr addr, int len, _Bool is_write); # 1138 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void *address_space_map(AddressSpace *as, hwaddr addr, hwaddr *plen, _Bool is_write); # 1152 "/home/pi/Загрузки/qemu-2.3.1/include/exec/memory.h" void address_space_unmap(AddressSpace *as, void *buffer, hwaddr len, int is_write, hwaddr access_len); # 25 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" 2 # 48 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" static __attribute__ (( always_inline )) __inline__ uint16_t tswap16(uint16_t s) { return bswap16(s); } static __attribute__ (( always_inline )) __inline__ uint32_t tswap32(uint32_t s) { return bswap32(s); } static __attribute__ (( always_inline )) __inline__ uint64_t tswap64(uint64_t s) { return bswap64(s); } static __attribute__ (( always_inline )) __inline__ void tswap16s(uint16_t *s) { *s = bswap16(*s); } static __attribute__ (( always_inline )) __inline__ void tswap32s(uint32_t *s) { *s = bswap32(*s); } static __attribute__ (( always_inline )) __inline__ void tswap64s(uint64_t *s) { *s = bswap64(*s); } # 179 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" extern uintptr_t qemu_real_host_page_size; extern uintptr_t qemu_host_page_size; extern uintptr_t qemu_host_page_mask; # 211 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" struct CPUMIPSState *cpu_copy(struct CPUMIPSState *env); # 269 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" typedef struct RAMBlock RAMBlock; struct RAMBlock { struct rcu_head rcu; struct MemoryRegion *mr; uint8_t *host; ram_addr_t offset; ram_addr_t used_length; ram_addr_t max_length; void (*resized)(const char*, uint64_t length, void *host); uint32_t flags; char idstr[256]; struct { struct RAMBlock *le_next; struct RAMBlock **le_prev; } next; int fd; }; static __attribute__ (( always_inline )) __inline__ void *ramblock_ptr(RAMBlock *block, ram_addr_t offset) { ((offset < block->used_length) ? (void) (0) : __assert_fail ("offset < block->used_length", "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h", 289, __PRETTY_FUNCTION__)); ((block->host) ? (void) (0) : __assert_fail ("block->host", "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h", 290, __PRETTY_FUNCTION__)); return (char *)block->host + offset; } typedef struct RAMList { QemuMutex mutex; unsigned long *dirty_memory[3]; RAMBlock *mru_block; struct { struct RAMBlock *lh_first; } blocks; uint32_t version; } RAMList; extern RAMList ram_list; # 315 "/home/pi/Загрузки/qemu-2.3.1/include/exec/cpu-all.h" void dump_exec_info(FILE *f, fprintf_function cpu_fprintf); void dump_opcount_info(FILE *f, fprintf_function cpu_fprintf); ram_addr_t last_ram_offset(void); void qemu_mutex_lock_ramlist(void); void qemu_mutex_unlock_ramlist(void); int cpu_memory_rw_debug(CPUState *cpu, target_ulong addr, uint8_t *buf, int len, int is_write); # 664 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 2 enum { ACCESS_USER = 0x00, ACCESS_SUPER = 0x01, ACCESS_STORE = 0x02, ACCESS_CODE = 0x10, ACCESS_INT = 0x20, ACCESS_FLOAT = 0x30, }; enum { EXCP_NONE = -1, EXCP_RESET = 0, EXCP_SRESET, EXCP_DSS, EXCP_DINT, EXCP_DDBL, EXCP_DDBS, EXCP_NMI, EXCP_MCHECK, EXCP_EXT_INTERRUPT, EXCP_DFWATCH, EXCP_DIB, EXCP_IWATCH, EXCP_AdEL, EXCP_AdES, EXCP_TLBF, EXCP_IBE, EXCP_DBp, EXCP_SYSCALL, EXCP_BREAK, EXCP_CpU, EXCP_RI, EXCP_OVERFLOW, EXCP_TRAP, EXCP_FPE, EXCP_DWATCH, EXCP_LTLBL, EXCP_TLBL, EXCP_TLBS, EXCP_DBE, EXCP_THREAD, EXCP_MDMX, EXCP_C2E, EXCP_CACHE, EXCP_DSPDIS, EXCP_MSADIS, EXCP_MSAFPE, EXCP_TLBXI, EXCP_TLBRI, EXCP_LAST = EXCP_TLBRI, }; # 735 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" int cpu_mips_exec(CPUMIPSState *s); void mips_tcg_init(void); MIPSCPU *cpu_mips_init(const char *cpu_model); int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc); void cpu_state_reset(CPUMIPSState *s); uint32_t cpu_mips_get_random (CPUMIPSState *env); uint32_t cpu_mips_get_count (CPUMIPSState *env); void cpu_mips_store_count (CPUMIPSState *env, uint32_t value); void cpu_mips_store_compare (CPUMIPSState *env, uint32_t value); void cpu_mips_start_count(CPUMIPSState *env); void cpu_mips_stop_count(CPUMIPSState *env); void cpu_mips_soft_irq(CPUMIPSState *env, int irq, int level); int mips_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int rw, int mmu_idx); void r4k_invalidate_tlb (CPUMIPSState *env, int idx, int use_extra); hwaddr cpu_mips_translate_address (CPUMIPSState *env, target_ulong address, int rw); target_ulong exception_resume_pc (CPUMIPSState *env); extern unsigned int ieee_rm[]; int ieee_ex_to_mips(int xcpt); static __attribute__ (( always_inline )) __inline__ void restore_rounding_mode(CPUMIPSState *env) { set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], &env->active_fpu.fp_status); } static __attribute__ (( always_inline )) __inline__ void restore_flush_mode(CPUMIPSState *env) { set_flush_to_zero((env->active_fpu.fcr31 & (1 << 24)) != 0, &env->active_fpu.fp_status); } static __attribute__ (( always_inline )) __inline__ void restore_fp_status(CPUMIPSState *env) { restore_rounding_mode(env); restore_flush_mode(env); } static __attribute__ (( always_inline )) __inline__ void restore_msa_fp_status(CPUMIPSState *env) { float_status *status = &env->active_tc.msa_fp_status; int rounding_mode = (env->active_tc.msacsr & (0x3 << 0)) >> 0; _Bool flush_to_zero = (env->active_tc.msacsr & (1 << 24)) != 0; set_float_rounding_mode(ieee_rm[rounding_mode], status); set_flush_to_zero(flush_to_zero, status); set_flush_inputs_to_zero(flush_to_zero, status); } static __attribute__ (( always_inline )) __inline__ void cpu_get_tb_cpu_state(CPUMIPSState *env, target_ulong *pc, target_ulong *cs_base, int *flags) { *pc = env->active_tc.PC; *cs_base = 0; *flags = env->hflags & (0x15807FF | (0x803800 | 0x7C000) | 0x200000); } static __attribute__ (( always_inline )) __inline__ int mips_vpe_active(CPUMIPSState *env) { int active = 1; if (!(env->mvp->CP0_MVPControl & (1 << 0))) { active = 0; } if (!(env->CP0_VPEConf0 & (1 << 0))) { active = 0; } if (!(env->active_tc.CP0_TCStatus & (1 << 13))) { active = 0; } if (env->active_tc.CP0_TCHalt & 1) { active = 0; } return active; } # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" 1 # 34 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" typedef ram_addr_t tb_page_addr_t; # 43 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" struct TranslationBlock; typedef struct TranslationBlock TranslationBlock; # 73 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" 1 # 10 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/include/disas/disas.h" 1 void disas(FILE *out, void *code, unsigned long size); void target_disas(FILE *out, struct CPUMIPSState *env, target_ulong code, target_ulong size, int flags); void monitor_disas(Monitor *mon, struct CPUMIPSState *env, target_ulong pc, int nb_insn, int is_physical, int flags); const char *lookup_symbol(target_ulong orig_addr); struct syminfo; struct elf32_sym; struct elf64_sym; typedef const char *(*lookup_symbol_t)(struct syminfo *s, hwaddr orig_addr); struct syminfo { lookup_symbol_t lookup_symbol; unsigned int disas_num_syms; union { struct elf32_sym *elf32; struct elf64_sym *elf64; } disas_symtab; const char *disas_strtab; struct syminfo *next; }; extern struct syminfo *syminfos; # 11 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" 2 extern FILE *qemu_logfile; extern int qemu_loglevel; # 26 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" static __attribute__ (( always_inline )) __inline__ _Bool qemu_log_enabled(void) { return qemu_logfile != ((void *)0); } # 47 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" static __attribute__ (( always_inline )) __inline__ _Bool qemu_loglevel_mask(int mask) { return (qemu_loglevel & mask) != 0; } void __attribute__((format(gnu_printf, 1, 2))) qemu_log(const char *fmt, ...); static __attribute__ (( always_inline )) __inline__ void __attribute__((format(gnu_printf, 1, 0))) qemu_log_vprintf(const char *fmt, va_list va) { if (qemu_logfile) { vfprintf(qemu_logfile, fmt, va); } } void __attribute__((format(gnu_printf, 2, 3))) qemu_log_mask(int mask, const char *fmt, ...); # 83 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" static __attribute__ (( always_inline )) __inline__ void log_cpu_state(CPUState *cpu, int flags) { if (qemu_log_enabled()) { cpu_dump_state(cpu, qemu_logfile, fprintf, flags); } } # 98 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" static __attribute__ (( always_inline )) __inline__ void log_cpu_state_mask(int mask, CPUState *cpu, int flags) { if (qemu_loglevel & mask) { log_cpu_state(cpu, flags); } } static __attribute__ (( always_inline )) __inline__ void log_target_disas(struct CPUMIPSState *env, target_ulong start, target_ulong len, int flags) { target_disas(qemu_logfile, env, start, len, flags); } static __attribute__ (( always_inline )) __inline__ void log_disas(void *code, unsigned long size) { disas(qemu_logfile, code, size); } # 131 "/home/pi/Загрузки/qemu-2.3.1/include/qemu/log.h" static __attribute__ (( always_inline )) __inline__ void qemu_log_flush(void) { fflush(qemu_logfile); } static __attribute__ (( always_inline )) __inline__ void qemu_log_close(void) { if (qemu_logfile) { if (qemu_logfile != stderr) { fclose(qemu_logfile); } qemu_logfile = ((void *)0); } } static __attribute__ (( always_inline )) __inline__ void qemu_log_set_file(FILE *f) { qemu_logfile = f; } typedef struct QEMULogItem { int mask; const char *name; const char *help; } QEMULogItem; extern const QEMULogItem qemu_log_items[]; void do_qemu_set_log(int log_flags, _Bool use_own_buffers); static __attribute__ (( always_inline )) __inline__ void qemu_set_log(int log_flags) { do_qemu_set_log(log_flags, 0); } void qemu_set_log_filename(const char *filename); int qemu_str_to_log_mask(const char *str); void qemu_print_log_usage(FILE *f); # 74 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" 2 void gen_intermediate_code(struct CPUMIPSState *env, struct TranslationBlock *tb); void gen_intermediate_code_pc(struct CPUMIPSState *env, struct TranslationBlock *tb); void restore_state_to_opc(struct CPUMIPSState *env, struct TranslationBlock *tb, int pc_pos); void cpu_gen_init(void); int cpu_mips_gen_code(struct CPUMIPSState *env, struct TranslationBlock *tb, int *gen_code_size_ptr); _Bool cpu_restore_state(CPUState *cpu, uintptr_t searched_pc); void page_size_init(void); void __attribute__ ((__noreturn__)) cpu_resume_from_signal(CPUState *cpu, void *puc); void __attribute__ ((__noreturn__)) cpu_io_recompile(CPUState *cpu, uintptr_t retaddr); TranslationBlock *tb_gen_code(CPUState *cpu, target_ulong pc, target_ulong cs_base, int flags, int cflags); void cpu_exec_init(struct CPUMIPSState *env); void __attribute__ ((__noreturn__)) cpu_loop_exit(CPUState *cpu); int page_unprotect(target_ulong address, uintptr_t pc, void *puc); void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, int is_cpu_write_access); void tb_invalidate_phys_range(tb_page_addr_t start, tb_page_addr_t end, int is_cpu_write_access); _Bool qemu_in_vcpu_thread(void); void cpu_reload_memory_map(CPUState *cpu); void tcg_cpu_address_space_init(CPUState *cpu, AddressSpace *as); void tlb_flush_page(CPUState *cpu, target_ulong addr); void tlb_flush(CPUState *cpu, int flush_global); void tlb_set_page(CPUState *cpu, target_ulong vaddr, hwaddr paddr, int prot, int mmu_idx, target_ulong size); void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr); # 141 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" struct TranslationBlock { target_ulong pc; target_ulong cs_base; uint64_t flags; uint16_t size; uint16_t icount; uint32_t cflags; void *tc_ptr; struct TranslationBlock *phys_hash_next; struct TranslationBlock *page_next[2]; tb_page_addr_t page_addr[2]; uint16_t tb_next_offset[2]; uint16_t tb_jmp_offset[2]; struct TranslationBlock *jmp_next[2]; struct TranslationBlock *jmp_first; }; # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/spinlock.h" 1 # 38 "/home/pi/Загрузки/qemu-2.3.1/include/exec/spinlock.h" typedef int spinlock_t; static __attribute__ (( always_inline )) __inline__ void spin_lock(spinlock_t *lock) { } static __attribute__ (( always_inline )) __inline__ void spin_unlock(spinlock_t *lock) { } # 179 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" 2 typedef struct TBContext TBContext; struct TBContext { TranslationBlock *tbs; TranslationBlock *tb_phys_hash[(1 << 15)]; int nb_tbs; spinlock_t tb_lock; int tb_flush_count; int tb_phys_invalidate_count; int tb_invalidated_flag; }; static __attribute__ (( always_inline )) __inline__ unsigned int tb_jmp_cache_hash_page(target_ulong pc) { target_ulong tmp; tmp = pc ^ (pc >> (12 - (12 / 2))); return (tmp >> (12 - (12 / 2))) & ((1 << 12) - (1 << (12 / 2))); } static __attribute__ (( always_inline )) __inline__ unsigned int tb_jmp_cache_hash_func(target_ulong pc) { target_ulong tmp; tmp = pc ^ (pc >> (12 - (12 / 2))); return (((tmp >> (12 - (12 / 2))) & ((1 << 12) - (1 << (12 / 2)))) | (tmp & ((1 << (12 / 2)) - 1))); } static __attribute__ (( always_inline )) __inline__ unsigned int tb_phys_hash_func(tb_page_addr_t pc) { return (pc >> 2) & ((1 << 15) - 1); } void tb_free(TranslationBlock *tb); void tb_flush(struct CPUMIPSState *env); void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr); # 252 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" static __attribute__ (( always_inline )) __inline__ void tb_set_jmp_target1(uintptr_t jmp_addr, uintptr_t addr) { *(uint32_t *)jmp_addr = (*(uint32_t *)jmp_addr & ~0xffffff) | (((addr - (jmp_addr + 8)) >> 2) & 0xffffff); __builtin___clear_cache((char *) jmp_addr, (char *) jmp_addr + 4); } static __attribute__ (( always_inline )) __inline__ void tb_set_jmp_target(TranslationBlock *tb, int n, uintptr_t addr) { uint16_t offset = tb->tb_jmp_offset[n]; tb_set_jmp_target1((uintptr_t)(tb->tc_ptr + offset), addr); } # 299 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" static __attribute__ (( always_inline )) __inline__ void tb_add_jump(TranslationBlock *tb, int n, TranslationBlock *tb_next) { if (!tb->jmp_next[n]) { tb_set_jmp_target(tb, n, (uintptr_t)tb_next->tc_ptr); tb->jmp_next[n] = tb_next->jmp_first; tb_next->jmp_first = (TranslationBlock *)((uintptr_t)(tb) | (n)); } } # 340 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" void phys_mem_set_alloc(void *(*alloc)(size_t, uint64_t *align)); struct MemoryRegion *iotlb_to_region(CPUState *cpu, hwaddr index); _Bool io_mem_read(struct MemoryRegion *mr, hwaddr addr, uint64_t *pvalue, unsigned size); _Bool io_mem_write(struct MemoryRegion *mr, hwaddr addr, uint64_t value, unsigned size); void tlb_fill(CPUState *cpu, target_ulong addr, int is_write, int mmu_idx, uintptr_t retaddr); # 361 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" tb_page_addr_t get_page_addr_code(struct CPUMIPSState *env1, target_ulong addr); extern int singlestep; extern volatile sig_atomic_t exit_request; # 379 "/home/pi/Загрузки/qemu-2.3.1/include/exec/exec-all.h" static __attribute__ (( always_inline )) __inline__ _Bool cpu_can_do_io(CPUState *cpu) { if (!use_icount) { return 1; } if (cpu->current_tb == ((void *)0)) { return 1; } return cpu->can_do_io != 0; } # 840 "/home/pi/Загрузки/qemu-2.3.1/target-mips/cpu.h" 2 static __attribute__ (( always_inline )) __inline__ void compute_hflags(CPUMIPSState *env) { env->hflags &= ~(0x00080 | 0x00008 | 0x00010 | 0x00040 | 0x00020 | 0x00003 | 0x00200 | 0x080000 | 0x100000 | 0x400000 | 0x1000000); if (!(env->CP0_Status & (1 << 1)) && !(env->CP0_Status & (1 << 2)) && !(env->hflags & 0x00004)) { env->hflags |= (env->CP0_Status >> 3) & 0x00003; } if ((env->insn_flags & 0x00000004) && (((env->hflags & 0x00003) != 0x00002) || (env->CP0_Status & (1 << 23)) || (env->CP0_Status & (1 << 5)))) { env->hflags |= 0x00008; } if (!(env->insn_flags & 0x00000004)) { env->hflags |= 0x00200; } else if (((env->hflags & 0x00003) == 0x00002) && !(env->CP0_Status & (1 << 5))) { env->hflags |= 0x00200; } else if (env->insn_flags & 0x00004000) { if ((((env->hflags & 0x00003) == 0x00001) && !(env->CP0_Status & (1 << 6))) || (((env->hflags & 0x00003) == 0x00000) && !(env->CP0_Status & (1 << 7)))) { env->hflags |= 0x00200; } } if (((env->CP0_Status & (1 << 28)) && !(env->insn_flags & 0x00002000)) || !(env->hflags & 0x00003)) { env->hflags |= 0x00010; } if (env->CP0_Status & (1 << 29)) { env->hflags |= 0x00020; } if (env->CP0_Status & (1 << 26)) { env->hflags |= 0x00040; } if (((env->hflags & 0x00003) != 0x00000) && (env->CP0_Config5 & (1 << 6))) { env->hflags |= 0x400000; } if (env->insn_flags & 0x00100000) { if (env->CP0_Status & (1 << 24)) { env->hflags |= 0x080000 | 0x100000; } } else if (env->insn_flags & 0x00080000) { if (env->CP0_Status & (1 << 24)) { env->hflags |= 0x080000; } } if (env->insn_flags & 0x00000040) { if (env->active_fpu.fcr0 & (1 << 22)) { env->hflags |= 0x00080; } } else if (env->insn_flags & 0x00000020) { if (env->hflags & 0x00008) { env->hflags |= 0x00080; } } else if (env->insn_flags & 0x00000008) { if (env->CP0_Status & (1U << 31)) { env->hflags |= 0x00080; } } if (env->insn_flags & 0x01000000) { if (env->CP0_Config5 & (1 << 27)) { env->hflags |= 0x1000000; } } } static __attribute__ (( always_inline )) __inline__ void sync_c0_status(CPUMIPSState *env, CPUMIPSState *cpu, int tc) { int32_t tcstatus, *tcst; uint32_t v = cpu->CP0_Status; uint32_t cu, mx, asid, ksu; uint32_t mask = ((1 << 31) | (1 << 30) | (1 << 29) | (1 << 28) | (1 << 27) | (3 << 11) | (0xff << 0)); cu = (v >> 28) & 0xf; mx = (v >> 24) & 0x1; ksu = (v >> 3) & 0x3; asid = env->CP0_EntryHi & 0xff; tcstatus = cu << 28; tcstatus |= mx << 27; tcstatus |= ksu << 11; tcstatus |= asid; if (tc == cpu->current_tc) { tcst = &cpu->active_tc.CP0_TCStatus; } else { tcst = &cpu->tcs[tc].CP0_TCStatus; } *tcst &= ~mask; *tcst |= tcstatus; compute_hflags(cpu); } static __attribute__ (( always_inline )) __inline__ void cpu_mips_store_status(CPUMIPSState *env, target_ulong val) { uint32_t mask = env->CP0_Status_rw_bitmask; if (env->insn_flags & 0x00002000) { _Bool has_supervisor = extract32(mask, 3, 2) == 0x3; if (has_supervisor && extract32(val, 3, 2) == 0x3) { mask &= ~(3 << 3); } mask &= ~(((1 << 20) | (1 << 19)) & val); } env->CP0_Status = (env->CP0_Status & ~mask) | (val & mask); if (env->CP0_Config3 & (1 << 2)) { sync_c0_status(env, env, env->current_tc); } else { compute_hflags(env); } } static __attribute__ (( always_inline )) __inline__ void cpu_mips_store_cause(CPUMIPSState *env, target_ulong val) { uint32_t mask = 0x00C00300; uint32_t old = env->CP0_Cause; int i; if (env->insn_flags & 0x00000040) { mask |= 1 << 27; } if (env->insn_flags & 0x00002000) { mask &= ~((1 << 22) & val); } env->CP0_Cause = (env->CP0_Cause & ~mask) | (val & mask); if ((old ^ env->CP0_Cause) & (1 << 27)) { if (env->CP0_Cause & (1 << 27)) { cpu_mips_stop_count(env); } else { cpu_mips_start_count(env); } } for (i = 0 ; i < 2 ; i++) { if ((old ^ env->CP0_Cause) & (1 << (8 + i))) { cpu_mips_soft_irq(env, i, env->CP0_Cause & (1 << (8 + i))); } } } # 21 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/helper-proto.h" 1 # 1 "/home/pi/Загрузки/qemu-2.3.1/include/exec/helper-head.h" 1 # 8 "/home/pi/Загрузки/qemu-2.3.1/include/exec/helper-proto.h" 2 # 29 "/home/pi/Загрузки/qemu-2.3.1/include/exec/helper-proto.h" # 1 "/home/pi/Загрузки/qemu-2.3.1/target-mips/helper.h" 1 void __attribute__ ((__noreturn__)) helper_raise_exception_err (struct CPUMIPSState *, uint32_t, int); void __attribute__ ((__noreturn__)) helper_raise_exception (struct CPUMIPSState *, uint32_t); void helper_sdl (struct CPUMIPSState *, target_ulong, target_ulong, int); void helper_sdr (struct CPUMIPSState *, target_ulong, target_ulong, int); void helper_swl (struct CPUMIPSState *, target_ulong, target_ulong, int); void helper_swr (struct CPUMIPSState *, target_ulong, target_ulong, int); target_ulong helper_ll (struct CPUMIPSState *, target_ulong, int); target_ulong helper_sc (struct CPUMIPSState *, target_ulong, target_ulong, int); target_ulong helper_lld (struct CPUMIPSState *, target_ulong, int); target_ulong helper_scd (struct CPUMIPSState *, target_ulong, target_ulong, int); target_ulong helper_clo (target_ulong); target_ulong helper_clz (target_ulong); target_ulong helper_dclo (target_ulong); target_ulong helper_dclz (target_ulong); target_ulong helper_muls (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_mulsu (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_macc (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_maccu (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_msac (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_msacu (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_mulhi (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_mulhiu (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_mulshi (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_mulshiu (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_macchi (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_macchiu (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_msachi (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_msachiu (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_bitswap (target_ulong); target_ulong helper_dbitswap (target_ulong); target_ulong helper_mfc0_mvpcontrol (struct CPUMIPSState *); target_ulong helper_mfc0_mvpconf0 (struct CPUMIPSState *); target_ulong helper_mfc0_mvpconf1 (struct CPUMIPSState *); target_ulong helper_mftc0_vpecontrol (struct CPUMIPSState *); target_ulong helper_mftc0_vpeconf0 (struct CPUMIPSState *); target_ulong helper_mfc0_random (struct CPUMIPSState *); target_ulong helper_mfc0_tcstatus (struct CPUMIPSState *); target_ulong helper_mftc0_tcstatus (struct CPUMIPSState *); target_ulong helper_mfc0_tcbind (struct CPUMIPSState *); target_ulong helper_mftc0_tcbind (struct CPUMIPSState *); target_ulong helper_mfc0_tcrestart (struct CPUMIPSState *); target_ulong helper_mftc0_tcrestart (struct CPUMIPSState *); target_ulong helper_mfc0_tchalt (struct CPUMIPSState *); target_ulong helper_mftc0_tchalt (struct CPUMIPSState *); target_ulong helper_mfc0_tccontext (struct CPUMIPSState *); target_ulong helper_mftc0_tccontext (struct CPUMIPSState *); target_ulong helper_mfc0_tcschedule (struct CPUMIPSState *); target_ulong helper_mftc0_tcschedule (struct CPUMIPSState *); target_ulong helper_mfc0_tcschefback (struct CPUMIPSState *); target_ulong helper_mftc0_tcschefback (struct CPUMIPSState *); target_ulong helper_mfc0_count (struct CPUMIPSState *); target_ulong helper_mftc0_entryhi (struct CPUMIPSState *); target_ulong helper_mftc0_status (struct CPUMIPSState *); target_ulong helper_mftc0_cause (struct CPUMIPSState *); target_ulong helper_mftc0_epc (struct CPUMIPSState *); target_ulong helper_mftc0_ebase (struct CPUMIPSState *); target_ulong helper_mftc0_configx (struct CPUMIPSState *, target_ulong); target_ulong helper_mfc0_lladdr (struct CPUMIPSState *); target_ulong helper_mfc0_watchlo (struct CPUMIPSState *, uint32_t); target_ulong helper_mfc0_watchhi (struct CPUMIPSState *, uint32_t); target_ulong helper_mfc0_debug (struct CPUMIPSState *); target_ulong helper_mftc0_debug (struct CPUMIPSState *); target_ulong helper_dmfc0_tcrestart (struct CPUMIPSState *); target_ulong helper_dmfc0_tchalt (struct CPUMIPSState *); target_ulong helper_dmfc0_tccontext (struct CPUMIPSState *); target_ulong helper_dmfc0_tcschedule (struct CPUMIPSState *); target_ulong helper_dmfc0_tcschefback (struct CPUMIPSState *); target_ulong helper_dmfc0_lladdr (struct CPUMIPSState *); target_ulong helper_dmfc0_watchlo (struct CPUMIPSState *, uint32_t); void helper_mtc0_index (struct CPUMIPSState *, target_ulong); void helper_mtc0_mvpcontrol (struct CPUMIPSState *, target_ulong); void helper_mtc0_vpecontrol (struct CPUMIPSState *, target_ulong); void helper_mttc0_vpecontrol (struct CPUMIPSState *, target_ulong); void helper_mtc0_vpeconf0 (struct CPUMIPSState *, target_ulong); void helper_mttc0_vpeconf0 (struct CPUMIPSState *, target_ulong); void helper_mtc0_vpeconf1 (struct CPUMIPSState *, target_ulong); void helper_mtc0_yqmask (struct CPUMIPSState *, target_ulong); void helper_mtc0_vpeopt (struct CPUMIPSState *, target_ulong); void helper_mtc0_entrylo0 (struct CPUMIPSState *, target_ulong); void helper_mtc0_tcstatus (struct CPUMIPSState *, target_ulong); void helper_mttc0_tcstatus (struct CPUMIPSState *, target_ulong); void helper_mtc0_tcbind (struct CPUMIPSState *, target_ulong); void helper_mttc0_tcbind (struct CPUMIPSState *, target_ulong); void helper_mtc0_tcrestart (struct CPUMIPSState *, target_ulong); void helper_mttc0_tcrestart (struct CPUMIPSState *, target_ulong); void helper_mtc0_tchalt (struct CPUMIPSState *, target_ulong); void helper_mttc0_tchalt (struct CPUMIPSState *, target_ulong); void helper_mtc0_tccontext (struct CPUMIPSState *, target_ulong); void helper_mttc0_tccontext (struct CPUMIPSState *, target_ulong); void helper_mtc0_tcschedule (struct CPUMIPSState *, target_ulong); void helper_mttc0_tcschedule (struct CPUMIPSState *, target_ulong); void helper_mtc0_tcschefback (struct CPUMIPSState *, target_ulong); void helper_mttc0_tcschefback (struct CPUMIPSState *, target_ulong); void helper_mtc0_entrylo1 (struct CPUMIPSState *, target_ulong); void helper_mtc0_context (struct CPUMIPSState *, target_ulong); void helper_mtc0_pagemask (struct CPUMIPSState *, target_ulong); void helper_mtc0_pagegrain (struct CPUMIPSState *, target_ulong); void helper_mtc0_wired (struct CPUMIPSState *, target_ulong); void helper_mtc0_srsconf0 (struct CPUMIPSState *, target_ulong); void helper_mtc0_srsconf1 (struct CPUMIPSState *, target_ulong); void helper_mtc0_srsconf2 (struct CPUMIPSState *, target_ulong); void helper_mtc0_srsconf3 (struct CPUMIPSState *, target_ulong); void helper_mtc0_srsconf4 (struct CPUMIPSState *, target_ulong); void helper_mtc0_hwrena (struct CPUMIPSState *, target_ulong); void helper_mtc0_count (struct CPUMIPSState *, target_ulong); void helper_mtc0_entryhi (struct CPUMIPSState *, target_ulong); void helper_mttc0_entryhi (struct CPUMIPSState *, target_ulong); void helper_mtc0_compare (struct CPUMIPSState *, target_ulong); void helper_mtc0_status (struct CPUMIPSState *, target_ulong); void helper_mttc0_status (struct CPUMIPSState *, target_ulong); void helper_mtc0_intctl (struct CPUMIPSState *, target_ulong); void helper_mtc0_srsctl (struct CPUMIPSState *, target_ulong); void helper_mtc0_cause (struct CPUMIPSState *, target_ulong); void helper_mttc0_cause (struct CPUMIPSState *, target_ulong); void helper_mtc0_ebase (struct CPUMIPSState *, target_ulong); void helper_mttc0_ebase (struct CPUMIPSState *, target_ulong); void helper_mtc0_config0 (struct CPUMIPSState *, target_ulong); void helper_mtc0_config2 (struct CPUMIPSState *, target_ulong); void helper_mtc0_config3 (struct CPUMIPSState *, target_ulong); void helper_mtc0_config4 (struct CPUMIPSState *, target_ulong); void helper_mtc0_config5 (struct CPUMIPSState *, target_ulong); void helper_mtc0_lladdr (struct CPUMIPSState *, target_ulong); void helper_mtc0_watchlo (struct CPUMIPSState *, target_ulong, uint32_t); void helper_mtc0_watchhi (struct CPUMIPSState *, target_ulong, uint32_t); void helper_mtc0_xcontext (struct CPUMIPSState *, target_ulong); void helper_mtc0_framemask (struct CPUMIPSState *, target_ulong); void helper_mtc0_debug (struct CPUMIPSState *, target_ulong); void helper_mttc0_debug (struct CPUMIPSState *, target_ulong); void helper_mtc0_performance0 (struct CPUMIPSState *, target_ulong); void helper_mtc0_taglo (struct CPUMIPSState *, target_ulong); void helper_mtc0_datalo (struct CPUMIPSState *, target_ulong); void helper_mtc0_taghi (struct CPUMIPSState *, target_ulong); void helper_mtc0_datahi (struct CPUMIPSState *, target_ulong); void helper_dmtc0_entrylo0 (struct CPUMIPSState *, uint64_t); void helper_dmtc0_entrylo1 (struct CPUMIPSState *, uint64_t); target_ulong helper_mftgpr (struct CPUMIPSState *, uint32_t); target_ulong helper_mftlo (struct CPUMIPSState *, uint32_t); target_ulong helper_mfthi (struct CPUMIPSState *, uint32_t); target_ulong helper_mftacx (struct CPUMIPSState *, uint32_t); target_ulong helper_mftdsp (struct CPUMIPSState *); void helper_mttgpr (struct CPUMIPSState *, target_ulong, uint32_t); void helper_mttlo (struct CPUMIPSState *, target_ulong, uint32_t); void helper_mtthi (struct CPUMIPSState *, target_ulong, uint32_t); void helper_mttacx (struct CPUMIPSState *, target_ulong, uint32_t); void helper_mttdsp (struct CPUMIPSState *, target_ulong); target_ulong helper_dmt (void); target_ulong helper_emt (void); target_ulong helper_dvpe (struct CPUMIPSState *); target_ulong helper_evpe (struct CPUMIPSState *); void helper_lwm (struct CPUMIPSState *, target_ulong, target_ulong, uint32_t); void helper_swm (struct CPUMIPSState *, target_ulong, target_ulong, uint32_t); void helper_ldm (struct CPUMIPSState *, target_ulong, target_ulong, uint32_t); void helper_sdm (struct CPUMIPSState *, target_ulong, target_ulong, uint32_t); void helper_fork (target_ulong, target_ulong); target_ulong helper_yield (struct CPUMIPSState *, target_ulong); target_ulong helper_cfc1 (struct CPUMIPSState *, uint32_t); void helper_ctc1 (struct CPUMIPSState *, target_ulong, uint32_t, uint32_t); uint64_t helper_float_cvtd_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_cvtd_w (struct CPUMIPSState *, uint32_t); uint64_t helper_float_cvtd_l (struct CPUMIPSState *, uint64_t); uint64_t helper_float_cvtl_d (struct CPUMIPSState *, uint64_t); uint64_t helper_float_cvtl_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_cvtps_pw (struct CPUMIPSState *, uint64_t); uint64_t helper_float_cvtpw_ps (struct CPUMIPSState *, uint64_t); uint32_t helper_float_cvts_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_cvts_w (struct CPUMIPSState *, uint32_t); uint32_t helper_float_cvts_l (struct CPUMIPSState *, uint64_t); uint32_t helper_float_cvts_pl (struct CPUMIPSState *, uint32_t); uint32_t helper_float_cvts_pu (struct CPUMIPSState *, uint32_t); uint32_t helper_float_cvtw_s (struct CPUMIPSState *, uint32_t); uint32_t helper_float_cvtw_d (struct CPUMIPSState *, uint64_t); uint64_t helper_float_addr_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_mulr_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_class_s (uint32_t); uint64_t helper_float_class_d (uint64_t); uint32_t helper_float_maddf_s (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); uint64_t helper_float_maddf_d (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint32_t helper_float_msubf_s (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); uint64_t helper_float_msubf_d (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint32_t helper_float_max_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_max_d (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_maxa_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_maxa_d (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_min_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_min_d (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_mina_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_mina_d (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_roundl_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_roundl_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_roundw_s (struct CPUMIPSState *, uint32_t); uint32_t helper_float_roundw_d (struct CPUMIPSState *, uint64_t); uint64_t helper_float_truncl_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_truncl_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_truncw_s (struct CPUMIPSState *, uint32_t); uint32_t helper_float_truncw_d (struct CPUMIPSState *, uint64_t); uint64_t helper_float_ceill_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_ceill_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_ceilw_s (struct CPUMIPSState *, uint32_t); uint32_t helper_float_ceilw_d (struct CPUMIPSState *, uint64_t); uint64_t helper_float_floorl_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_floorl_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_floorw_s (struct CPUMIPSState *, uint32_t); uint32_t helper_float_floorw_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_sqrt_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_sqrt_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_rsqrt_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_rsqrt_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_recip_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_recip_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_rint_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_rint_d (struct CPUMIPSState *, uint64_t); uint32_t helper_float_abs_s (uint32_t); uint64_t helper_float_abs_d (uint64_t); uint64_t helper_float_abs_ps (uint64_t); uint32_t helper_float_chs_s (uint32_t); uint64_t helper_float_chs_d (uint64_t); uint64_t helper_float_chs_ps (uint64_t); uint32_t helper_float_recip1_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_recip1_d (struct CPUMIPSState *, uint64_t); uint64_t helper_float_recip1_ps (struct CPUMIPSState *, uint64_t); uint32_t helper_float_rsqrt1_s (struct CPUMIPSState *, uint32_t); uint64_t helper_float_rsqrt1_d (struct CPUMIPSState *, uint64_t); uint64_t helper_float_rsqrt1_ps (struct CPUMIPSState *, uint64_t); uint32_t helper_float_add_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_add_d (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_add_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_sub_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_sub_d (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_sub_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_mul_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_mul_d (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_mul_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_div_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_div_d (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_div_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_recip2_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_recip2_d (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_recip2_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_rsqrt2_s (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_float_rsqrt2_d (struct CPUMIPSState *, uint64_t, uint64_t); uint64_t helper_float_rsqrt2_ps (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_float_madd_s (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); uint64_t helper_float_madd_d (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint64_t helper_float_madd_ps (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint32_t helper_float_msub_s (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); uint64_t helper_float_msub_d (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint64_t helper_float_msub_ps (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint32_t helper_float_nmadd_s (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); uint64_t helper_float_nmadd_d (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint64_t helper_float_nmadd_ps (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint32_t helper_float_nmsub_s (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); uint64_t helper_float_nmsub_d (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); uint64_t helper_float_nmsub_ps (struct CPUMIPSState *, uint64_t, uint64_t, uint64_t); # 295 "/home/pi/Загрузки/qemu-2.3.1/target-mips/helper.h" void helper_cmp_d_f (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_f (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_f (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_f (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_f (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_f (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_un (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_un (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_un (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_un (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_un (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_un (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_eq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_eq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_eq (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_eq (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_eq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_eq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_ueq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_ueq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_ueq (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_ueq (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_ueq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_ueq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_olt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_olt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_olt (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_olt (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_olt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_olt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_ult (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_ult (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_ult (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_ult (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_ult (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_ult (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_ole (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_ole (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_ole (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_ole (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_ole (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_ole (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_ule (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_ule (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_ule (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_ule (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_ule (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_ule (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_sf (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_sf (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_sf (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_sf (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_sf (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_sf (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_ngle (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_ngle (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_ngle (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_ngle (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_ngle (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_ngle (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_seq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_seq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_seq (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_seq (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_seq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_seq (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_ngl (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_ngl (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_ngl (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_ngl (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_ngl (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_ngl (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_lt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_lt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_lt (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_lt (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_lt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_lt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_nge (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_nge (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_nge (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_nge (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_nge (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_nge (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_le (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_le (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_le (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_le (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_le (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_le (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_d_ngt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_d_ngt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmp_s_ngt (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmpabs_s_ngt (struct CPUMIPSState *, uint32_t, uint32_t, int); void helper_cmp_ps_ngt (struct CPUMIPSState *, uint64_t, uint64_t, int); void helper_cmpabs_ps_ngt (struct CPUMIPSState *, uint64_t, uint64_t, int); uint64_t helper_r6_cmp_d_af (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_af (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_un (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_un (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_eq (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_eq (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_ueq (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_ueq (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_lt (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_lt (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_ult (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_ult (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_le (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_le (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_ule (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_ule (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_saf (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_saf (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sun (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sun (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_seq (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_seq (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sueq (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sueq (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_slt (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_slt (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sult (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sult (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sle (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sle (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sule (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sule (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_or (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_or (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_une (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_une (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_ne (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_ne (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sor (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sor (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sune (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sune (struct CPUMIPSState *, uint32_t, uint32_t); uint64_t helper_r6_cmp_d_sne (struct CPUMIPSState *, uint64_t, uint64_t); uint32_t helper_r6_cmp_s_sne (struct CPUMIPSState *, uint32_t, uint32_t); void helper_tlbwi (struct CPUMIPSState *); void helper_tlbwr (struct CPUMIPSState *); void helper_tlbp (struct CPUMIPSState *); void helper_tlbr (struct CPUMIPSState *); void helper_tlbinv (struct CPUMIPSState *); void helper_tlbinvf (struct CPUMIPSState *); target_ulong helper_di (struct CPUMIPSState *); target_ulong helper_ei (struct CPUMIPSState *); void helper_eret (struct CPUMIPSState *); void helper_deret (struct CPUMIPSState *); target_ulong helper_rdhwr_cpunum (struct CPUMIPSState *); target_ulong helper_rdhwr_synci_step (struct CPUMIPSState *); target_ulong helper_rdhwr_cc (struct CPUMIPSState *); target_ulong helper_rdhwr_ccres (struct CPUMIPSState *); void helper_pmon (struct CPUMIPSState *, int); void helper_wait (struct CPUMIPSState *); uint64_t helper_paddsh (uint64_t, uint64_t); uint64_t helper_paddush (uint64_t, uint64_t); uint64_t helper_paddh (uint64_t, uint64_t); uint64_t helper_paddw (uint64_t, uint64_t); uint64_t helper_paddsb (uint64_t, uint64_t); uint64_t helper_paddusb (uint64_t, uint64_t); uint64_t helper_paddb (uint64_t, uint64_t); uint64_t helper_psubsh (uint64_t, uint64_t); uint64_t helper_psubush (uint64_t, uint64_t); uint64_t helper_psubh (uint64_t, uint64_t); uint64_t helper_psubw (uint64_t, uint64_t); uint64_t helper_psubsb (uint64_t, uint64_t); uint64_t helper_psubusb (uint64_t, uint64_t); uint64_t helper_psubb (uint64_t, uint64_t); uint64_t helper_pshufh (uint64_t, uint64_t); uint64_t helper_packsswh (uint64_t, uint64_t); uint64_t helper_packsshb (uint64_t, uint64_t); uint64_t helper_packushb (uint64_t, uint64_t); uint64_t helper_punpcklhw (uint64_t, uint64_t); uint64_t helper_punpckhhw (uint64_t, uint64_t); uint64_t helper_punpcklbh (uint64_t, uint64_t); uint64_t helper_punpckhbh (uint64_t, uint64_t); uint64_t helper_punpcklwd (uint64_t, uint64_t); uint64_t helper_punpckhwd (uint64_t, uint64_t); uint64_t helper_pavgh (uint64_t, uint64_t); uint64_t helper_pavgb (uint64_t, uint64_t); uint64_t helper_pmaxsh (uint64_t, uint64_t); uint64_t helper_pminsh (uint64_t, uint64_t); uint64_t helper_pmaxub (uint64_t, uint64_t); uint64_t helper_pminub (uint64_t, uint64_t); uint64_t helper_pcmpeqw (uint64_t, uint64_t); uint64_t helper_pcmpgtw (uint64_t, uint64_t); uint64_t helper_pcmpeqh (uint64_t, uint64_t); uint64_t helper_pcmpgth (uint64_t, uint64_t); uint64_t helper_pcmpeqb (uint64_t, uint64_t); uint64_t helper_pcmpgtb (uint64_t, uint64_t); uint64_t helper_psllw (uint64_t, uint64_t); uint64_t helper_psllh (uint64_t, uint64_t); uint64_t helper_psrlw (uint64_t, uint64_t); uint64_t helper_psrlh (uint64_t, uint64_t); uint64_t helper_psraw (uint64_t, uint64_t); uint64_t helper_psrah (uint64_t, uint64_t); uint64_t helper_pmullh (uint64_t, uint64_t); uint64_t helper_pmulhh (uint64_t, uint64_t); uint64_t helper_pmulhuh (uint64_t, uint64_t); uint64_t helper_pmaddhw (uint64_t, uint64_t); uint64_t helper_pasubub (uint64_t, uint64_t); uint64_t helper_biadd (uint64_t); uint64_t helper_pmovmskb (uint64_t); target_ulong helper_addq_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addq_s_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addq_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addq_s_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addq_s_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addq_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addq_s_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addu_qb (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addu_s_qb (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_adduh_qb (target_ulong, target_ulong); target_ulong helper_adduh_r_qb (target_ulong, target_ulong); target_ulong helper_addu_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addu_s_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addqh_ph (target_ulong, target_ulong); target_ulong helper_addqh_r_ph (target_ulong, target_ulong); target_ulong helper_addqh_w (target_ulong, target_ulong); target_ulong helper_addqh_r_w (target_ulong, target_ulong); target_ulong helper_addu_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addu_s_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_adduh_ob (target_ulong, target_ulong); target_ulong helper_adduh_r_ob (target_ulong, target_ulong); target_ulong helper_addu_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addu_s_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subq_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subq_s_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subq_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subq_s_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subq_s_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subq_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subq_s_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subu_qb (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subu_s_qb (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subuh_qb (target_ulong, target_ulong); target_ulong helper_subuh_r_qb (target_ulong, target_ulong); target_ulong helper_subu_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subu_s_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subqh_ph (target_ulong, target_ulong); target_ulong helper_subqh_r_ph (target_ulong, target_ulong); target_ulong helper_subqh_w (target_ulong, target_ulong); target_ulong helper_subqh_r_w (target_ulong, target_ulong); target_ulong helper_subu_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subu_s_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subuh_ob (target_ulong, target_ulong); target_ulong helper_subuh_r_ob (target_ulong, target_ulong); target_ulong helper_subu_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_subu_s_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addsc (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_addwc (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_modsub (target_ulong, target_ulong); target_ulong helper_raddu_w_qb (target_ulong); target_ulong helper_raddu_l_ob (target_ulong); target_ulong helper_absq_s_qb (target_ulong, struct CPUMIPSState *); target_ulong helper_absq_s_ph (target_ulong, struct CPUMIPSState *); target_ulong helper_absq_s_w (target_ulong, struct CPUMIPSState *); target_ulong helper_absq_s_ob (target_ulong, struct CPUMIPSState *); target_ulong helper_absq_s_qh (target_ulong, struct CPUMIPSState *); target_ulong helper_absq_s_pw (target_ulong, struct CPUMIPSState *); target_ulong helper_precr_qb_ph (target_ulong, target_ulong); target_ulong helper_precrq_qb_ph (target_ulong, target_ulong); target_ulong helper_precr_sra_ph_w (uint32_t, target_ulong, target_ulong); target_ulong helper_precr_sra_r_ph_w (uint32_t, target_ulong, target_ulong); target_ulong helper_precrq_ph_w (target_ulong, target_ulong); target_ulong helper_precrq_rs_ph_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_precr_ob_qh (target_ulong, target_ulong); target_ulong helper_precr_sra_qh_pw (target_ulong, target_ulong, uint32_t); target_ulong helper_precr_sra_r_qh_pw (target_ulong, target_ulong, uint32_t); target_ulong helper_precrq_ob_qh (target_ulong, target_ulong); target_ulong helper_precrq_qh_pw (target_ulong, target_ulong); target_ulong helper_precrq_rs_qh_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_precrq_pw_l (target_ulong, target_ulong); target_ulong helper_precrqu_s_qb_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_precrqu_s_ob_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_preceq_pw_qhl (target_ulong); target_ulong helper_preceq_pw_qhr (target_ulong); target_ulong helper_preceq_pw_qhla (target_ulong); target_ulong helper_preceq_pw_qhra (target_ulong); target_ulong helper_precequ_ph_qbl (target_ulong); target_ulong helper_precequ_ph_qbr (target_ulong); target_ulong helper_precequ_ph_qbla (target_ulong); target_ulong helper_precequ_ph_qbra (target_ulong); target_ulong helper_precequ_qh_obl (target_ulong); target_ulong helper_precequ_qh_obr (target_ulong); target_ulong helper_precequ_qh_obla (target_ulong); target_ulong helper_precequ_qh_obra (target_ulong); target_ulong helper_preceu_ph_qbl (target_ulong); target_ulong helper_preceu_ph_qbr (target_ulong); target_ulong helper_preceu_ph_qbla (target_ulong); target_ulong helper_preceu_ph_qbra (target_ulong); target_ulong helper_preceu_qh_obl (target_ulong); target_ulong helper_preceu_qh_obr (target_ulong); target_ulong helper_preceu_qh_obla (target_ulong); target_ulong helper_preceu_qh_obra (target_ulong); target_ulong helper_shll_qb (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_s_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_s_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_s_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shll_s_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_shrl_qb (target_ulong, target_ulong); target_ulong helper_shrl_ph (target_ulong, target_ulong); target_ulong helper_shrl_ob (target_ulong, target_ulong); target_ulong helper_shrl_qh (target_ulong, target_ulong); target_ulong helper_shra_qb (target_ulong, target_ulong); target_ulong helper_shra_r_qb (target_ulong, target_ulong); target_ulong helper_shra_ob (target_ulong, target_ulong); target_ulong helper_shra_r_ob (target_ulong, target_ulong); target_ulong helper_shra_ph (target_ulong, target_ulong); target_ulong helper_shra_r_ph (target_ulong, target_ulong); target_ulong helper_shra_r_w (target_ulong, target_ulong); target_ulong helper_shra_qh (target_ulong, target_ulong); target_ulong helper_shra_r_qh (target_ulong, target_ulong); target_ulong helper_shra_pw (target_ulong, target_ulong); target_ulong helper_shra_r_pw (target_ulong, target_ulong); target_ulong helper_muleu_s_ph_qbl (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_muleu_s_ph_qbr (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_muleu_s_qh_obl (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_muleu_s_qh_obr (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_mulq_rs_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_mulq_rs_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_muleq_s_w_phl (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_muleq_s_w_phr (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_muleq_s_pw_qhl (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_muleq_s_pw_qhr (target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpau_h_qbl (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpau_h_qbr (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpau_h_obl (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpau_h_obr (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpsu_h_qbl (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpsu_h_qbr (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpsu_h_obl (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpsu_h_obr (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpa_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpa_w_qh (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpax_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpaq_s_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpaq_s_w_qh (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpaqx_s_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpaqx_sa_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dps_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dps_w_qh (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpsx_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpsq_s_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpsq_s_w_qh (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpsqx_s_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpsqx_sa_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_mulsaq_s_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_mulsaq_s_w_qh (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpaq_sa_l_w (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpaq_sa_l_pw (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dpsq_sa_l_w (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_dpsq_sa_l_pw (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_mulsaq_s_l_pw (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_s_w_phl (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_maq_s_w_phr (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_maq_sa_w_phl (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_maq_sa_w_phr (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_mul_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_mul_s_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_mulq_s_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_mulq_s_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_mulq_rs_w (target_ulong, target_ulong, struct CPUMIPSState *); void helper_mulsa_w_ph (uint32_t, target_ulong, target_ulong, struct CPUMIPSState *); void helper_maq_s_w_qhll (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_s_w_qhlr (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_s_w_qhrl (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_s_w_qhrr (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_sa_w_qhll (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_sa_w_qhlr (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_sa_w_qhrl (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_sa_w_qhrr (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_s_l_pwl (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_maq_s_l_pwr (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dmadd (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dmaddu (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dmsub (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); void helper_dmsubu (target_ulong, target_ulong, uint32_t, struct CPUMIPSState *); target_ulong helper_bitrev (target_ulong); target_ulong helper_insv (struct CPUMIPSState *, target_ulong, target_ulong); target_ulong helper_dinsv (struct CPUMIPSState *, target_ulong, target_ulong); void helper_cmpu_eq_qb (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmpu_lt_qb (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmpu_le_qb (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_cmpgu_eq_qb (target_ulong, target_ulong); target_ulong helper_cmpgu_lt_qb (target_ulong, target_ulong); target_ulong helper_cmpgu_le_qb (target_ulong, target_ulong); void helper_cmp_eq_ph (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmp_lt_ph (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmp_le_ph (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmpu_eq_ob (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmpu_lt_ob (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmpu_le_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_cmpgdu_eq_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_cmpgdu_lt_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_cmpgdu_le_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_cmpgu_eq_ob (target_ulong, target_ulong); target_ulong helper_cmpgu_lt_ob (target_ulong, target_ulong); target_ulong helper_cmpgu_le_ob (target_ulong, target_ulong); void helper_cmp_eq_qh (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmp_lt_qh (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmp_le_qh (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmp_eq_pw (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmp_lt_pw (target_ulong, target_ulong, struct CPUMIPSState *); void helper_cmp_le_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_pick_qb (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_pick_ph (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_pick_ob (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_pick_qh (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_pick_pw (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_packrl_ph (target_ulong, target_ulong); target_ulong helper_packrl_pw (target_ulong, target_ulong); target_ulong helper_extr_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_extr_r_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_extr_rs_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextr_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextr_r_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextr_rs_w (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextr_l (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextr_r_l (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextr_rs_l (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_extr_s_h (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextr_s_h (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_extp (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_extpdp (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextp (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_dextpdp (target_ulong, target_ulong, struct CPUMIPSState *); void helper_shilo (target_ulong, target_ulong, struct CPUMIPSState *); void helper_dshilo (target_ulong, target_ulong, struct CPUMIPSState *); void helper_mthlip (target_ulong, target_ulong, struct CPUMIPSState *); void helper_dmthlip (target_ulong, target_ulong, struct CPUMIPSState *); void helper_wrdsp (target_ulong, target_ulong, struct CPUMIPSState *); target_ulong helper_rddsp (target_ulong, struct CPUMIPSState *); void helper_msa_andi_b (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ori_b (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_nori_b (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_xori_b (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_bmnzi_b (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_bmzi_b (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_bseli_b (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_shf_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_addvi_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_subvi_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_maxi_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_maxi_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_mini_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_mini_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_ceqi_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_clti_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_clti_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_clei_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_clei_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_ldi_df (struct CPUMIPSState *, uint32_t, uint32_t, int32_t); void helper_msa_slli_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_srai_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_srli_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_bclri_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_bseti_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_bnegi_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_binsli_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_binsri_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_sat_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_sat_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_srari_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_srlri_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_sll_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_sra_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_srl_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_bclr_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_bset_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_bneg_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_binsl_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_binsr_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_addv_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_subv_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_max_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_max_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_min_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_min_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_max_a_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_min_a_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ceq_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_clt_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_clt_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_cle_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_cle_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_add_a_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_adds_a_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_adds_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_adds_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ave_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ave_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_aver_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_aver_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_subs_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_subs_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_subsus_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_subsuu_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_asub_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_asub_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_mulv_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_maddv_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_msubv_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_div_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_div_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_mod_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_mod_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_dotp_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_dotp_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_dpadd_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_dpadd_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_dpsub_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_dpsub_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_sld_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_splat_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_pckev_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_pckod_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ilvl_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ilvr_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ilvev_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ilvod_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_vshf_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_srar_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_srlr_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_hadd_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_hadd_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_hsub_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_hsub_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_sldi_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_splati_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_copy_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_copy_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_insert_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_insve_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ctcmsa (struct CPUMIPSState *, target_ulong, uint32_t); target_ulong helper_msa_cfcmsa (struct CPUMIPSState *, uint32_t); void helper_msa_move_v (struct CPUMIPSState *, uint32_t, uint32_t); void helper_msa_fcaf_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcun_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fceq_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcueq_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fclt_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcult_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcle_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcule_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsaf_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsun_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fseq_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsueq_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fslt_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsult_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsle_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsule_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fadd_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsub_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fmul_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fdiv_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fmadd_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fmsub_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fexp2_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fexdo_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_ftq_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fmin_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fmin_a_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fmax_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fmax_a_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcor_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcune_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fcne_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_mul_q_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_madd_q_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_msub_q_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsor_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsune_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_fsne_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_mulr_q_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_maddr_q_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_msubr_q_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, uint32_t); void helper_msa_and_v (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_or_v (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_nor_v (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_xor_v (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_bmnz_v (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_bmz_v (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_bsel_v (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_fill_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_pcnt_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_nloc_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_nlzc_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_fclass_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ftrunc_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ftrunc_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_fsqrt_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_frsqrt_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_frcp_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_frint_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_flog2_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_fexupl_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_fexupr_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ffql_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ffqr_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ftint_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ftint_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ffint_s_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ffint_u_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t); void helper_msa_ld_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); void helper_msa_st_df (struct CPUMIPSState *, uint32_t, uint32_t, uint32_t, int32_t); # 30 "/home/pi/Загрузки/qemu-2.3.1/include/exec/helper-proto.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/trace/generated-helpers.h" 1 # 31 "/home/pi/Загрузки/qemu-2.3.1/include/exec/helper-proto.h" 2 # 1 "/home/pi/Загрузки/qemu-2.3.1/tcg/tcg-runtime.h" 1 int32_t helper_div_i32 (int32_t, int32_t); int32_t helper_rem_i32 (int32_t, int32_t); uint32_t helper_divu_i32 (uint32_t, uint32_t); uint32_t helper_remu_i32 (uint32_t, uint32_t); int64_t helper_div_i64 (int64_t, int64_t); int64_t helper_rem_i64 (int64_t, int64_t); uint64_t helper_divu_i64 (uint64_t, uint64_t); uint64_t helper_remu_i64 (uint64_t, uint64_t); uint64_t helper_shl_i64 (uint64_t, uint64_t); uint64_t helper_shr_i64 (uint64_t, uint64_t); int64_t helper_sar_i64 (int64_t, int64_t); int64_t helper_mulsh_i64 (int64_t, int64_t); uint64_t helper_muluh_i64 (uint64_t, uint64_t); # 32 "/home/pi/Загрузки/qemu-2.3.1/include/exec/helper-proto.h" 2 # 22 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" 2 # 42 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" static __attribute__ (( always_inline )) __inline__ void msa_move_v(wr_t *pwd, wr_t *pws) { uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = pws->d[i]; } } # 63 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_andi_b(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t i8) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = pws->b[i] & i8; } } void helper_msa_ori_b(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t i8) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = pws->b[i] | i8; } } void helper_msa_nori_b(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t i8) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = ~(pws->b[i] | i8); } } void helper_msa_xori_b(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t i8) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = pws->b[i] ^ i8; } } void helper_msa_bmnzi_b # 70 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t i8) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = ((((pwd->b[i] & (~i8)) | (pws->b[i] & i8))) & (uint64_t)(-1ULL >> (64 - (1 << ((DF_BYTE) + 3))))); } } void helper_msa_bmzi_b # 75 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t i8) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = (((pwd->b[i] & i8) | (pws->b[i] & (~i8))) & (uint64_t)(-1ULL >> (64 - (1 << ((DF_BYTE) + 3))))); } } void helper_msa_bseli_b # 80 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t i8) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = (((pws->b[i] & (~pwd->b[i])) | (i8 & pwd->b[i])) & (uint64_t)(-1ULL >> (64 - (1 << ((DF_BYTE) + 3))))); } } void helper_msa_shf_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t imm) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwx->b[i] = pws->b[(((i) & 0xfc) + (((imm) >> (2 * ((i) & 0x03))) & 0x03))]; } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwx->h[i] = pws->h[(((i) & 0xfc) + (((imm) >> (2 * ((i) & 0x03))) & 0x03))]; } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwx->w[i] = pws->w[(((i) & 0xfc) + (((imm) >> (2 * ((i) & 0x03))) & 0x03))]; } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 112, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } # 130 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_and_v(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = pws->d[i] & pwt->d[i]; } } void helper_msa_or_v(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = pws->d[i] | pwt->d[i]; } } void helper_msa_nor_v(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = ~(pws->d[i] | pwt->d[i]); } } void helper_msa_xor_v(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = pws->d[i] ^ pwt->d[i]; } } void helper_msa_bmnz_v # 134 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = ((((pwd->d[i] & (~pwt->d[i])) | (pws->d[i] & pwt->d[i]))) & (uint64_t)(-1ULL >> (64 - (1 << ((DF_DOUBLE) + 3))))); } } void helper_msa_bmz_v # 136 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = (((pwd->d[i] & pwt->d[i]) | (pws->d[i] & (~pwt->d[i]))) & (uint64_t)(-1ULL >> (64 - (1 << ((DF_DOUBLE) + 3))))); } } void helper_msa_bsel_v # 138 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = (((pws->d[i] & (~pwd->d[i])) | (pwt->d[i] & pwd->d[i])) & (uint64_t)(-1ULL >> (64 - (1 << ((DF_DOUBLE) + 3))))); } } static __attribute__ (( always_inline )) __inline__ int64_t msa_addv_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 + arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_subv_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 - arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_ceq_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 == arg2 ? -1 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_cle_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 <= arg2 ? -1 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_cle_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return u_arg1 <= u_arg2 ? -1 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_clt_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 < arg2 ? -1 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_clt_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return u_arg1 < u_arg2 ? -1 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_max_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 > arg2 ? arg1 : arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_max_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return u_arg1 > u_arg2 ? arg1 : arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_min_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 < arg2 ? arg1 : arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_min_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return u_arg1 < u_arg2 ? arg1 : arg2; } # 242 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_addvi_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_addv_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_addv_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_addv_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_addv_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 242, __PRETTY_FUNCTION__)); } } void helper_msa_subvi_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_subv_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_subv_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_subv_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_subv_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 243, __PRETTY_FUNCTION__)); } } void helper_msa_ceqi_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_ceq_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_ceq_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_ceq_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_ceq_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 244, __PRETTY_FUNCTION__)); } } void helper_msa_clei_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_cle_s_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_cle_s_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_cle_s_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_cle_s_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 245, __PRETTY_FUNCTION__)); } } void helper_msa_clei_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_cle_u_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_cle_u_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_cle_u_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_cle_u_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 246, __PRETTY_FUNCTION__)); } } void helper_msa_clti_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_clt_s_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_clt_s_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_clt_s_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_clt_s_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 247, __PRETTY_FUNCTION__)); } } void helper_msa_clti_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_clt_u_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_clt_u_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_clt_u_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_clt_u_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 248, __PRETTY_FUNCTION__)); } } void helper_msa_maxi_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_max_s_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_max_s_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_max_s_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_max_s_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 249, __PRETTY_FUNCTION__)); } } void helper_msa_maxi_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_max_u_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_max_u_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_max_u_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_max_u_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 250, __PRETTY_FUNCTION__)); } } void helper_msa_mini_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_min_s_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_min_s_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_min_s_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_min_s_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 251, __PRETTY_FUNCTION__)); } } void helper_msa_mini_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, int32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_min_u_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_min_u_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_min_u_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_min_u_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 252, __PRETTY_FUNCTION__)); } } void helper_msa_ldi_df(CPUMIPSState *env, uint32_t df, uint32_t wd, int32_t s10) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = (int8_t)s10; } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = (int16_t)s10; } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = (int32_t)s10; } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = (int64_t)s10; } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 283, __PRETTY_FUNCTION__)); } } static __attribute__ (( always_inline )) __inline__ int64_t msa_sll_df(uint32_t df, int64_t arg1, int64_t arg2) { int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); return arg1 << b_arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_sra_df(uint32_t df, int64_t arg1, int64_t arg2) { int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); return arg1 >> b_arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_srl_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); return u_arg1 >> b_arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_bclr_df(uint32_t df, int64_t arg1, int64_t arg2) { int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); return ((arg1 & (~(1LL << b_arg2))) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); } static __attribute__ (( always_inline )) __inline__ int64_t msa_bset_df(uint32_t df, int64_t arg1, int64_t arg2) { int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); return ((arg1 | (1LL << b_arg2)) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); } static __attribute__ (( always_inline )) __inline__ int64_t msa_bneg_df(uint32_t df, int64_t arg1, int64_t arg2) { int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); return ((arg1 ^ (1LL << b_arg2)) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); } static __attribute__ (( always_inline )) __inline__ int64_t msa_binsl_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_dest = ((dest) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); int32_t sh_d = ((uint64_t)(arg2) % (1 << ((df) + 3))) + 1; int32_t sh_a = (1 << ((df) + 3)) - sh_d; if (sh_d == (1 << ((df) + 3))) { return u_arg1; } else { return ((((u_dest << sh_d) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))) >> sh_d) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))) | ((((u_arg1 >> sh_a) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))) << sh_a) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); } } static __attribute__ (( always_inline )) __inline__ int64_t msa_binsr_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_dest = ((dest) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); int32_t sh_d = ((uint64_t)(arg2) % (1 << ((df) + 3))) + 1; int32_t sh_a = (1 << ((df) + 3)) - sh_d; if (sh_d == (1 << ((df) + 3))) { return u_arg1; } else { return ((((u_dest >> sh_d) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))) << sh_d) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))) | ((((u_arg1 << sh_a) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))) >> sh_a) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); } } static __attribute__ (( always_inline )) __inline__ int64_t msa_sat_s_df(uint32_t df, int64_t arg, uint32_t m) { return arg < (int64_t)(-(1LL << ((m+1) - 1))) ? (int64_t)(-(1LL << ((m+1) - 1))) : arg > (int64_t)((1LL << ((m+1) - 1)) - 1) ? (int64_t)((1LL << ((m+1) - 1)) - 1) : arg; } static __attribute__ (( always_inline )) __inline__ int64_t msa_sat_u_df(uint32_t df, int64_t arg, uint32_t m) { uint64_t u_arg = ((arg) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return u_arg < (uint64_t)(-1ULL >> (64 - (m+1))) ? u_arg : (uint64_t)(-1ULL >> (64 - (m+1))); } static __attribute__ (( always_inline )) __inline__ int64_t msa_srar_df(uint32_t df, int64_t arg1, int64_t arg2) { int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); if (b_arg2 == 0) { return arg1; } else { int64_t r_bit = (arg1 >> (b_arg2 - 1)) & 1; return (arg1 >> b_arg2) + r_bit; } } static __attribute__ (( always_inline )) __inline__ int64_t msa_srlr_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); int32_t b_arg2 = ((uint64_t)(arg2) % (1 << ((df) + 3))); if (b_arg2 == 0) { return u_arg1; } else { uint64_t r_bit = (u_arg1 >> (b_arg2 - 1)) & 1; return (u_arg1 >> b_arg2) + r_bit; } } # 429 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_slli_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_sll_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_sll_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_sll_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_sll_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 429, __PRETTY_FUNCTION__)); } } void helper_msa_srai_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_sra_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_sra_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_sra_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_sra_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 430, __PRETTY_FUNCTION__)); } } void helper_msa_srli_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_srl_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_srl_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_srl_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_srl_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 431, __PRETTY_FUNCTION__)); } } void helper_msa_bclri_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_bclr_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_bclr_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_bclr_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_bclr_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 432, __PRETTY_FUNCTION__)); } } void helper_msa_bseti_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_bset_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_bset_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_bset_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_bset_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 433, __PRETTY_FUNCTION__)); } } void helper_msa_bnegi_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_bneg_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_bneg_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_bneg_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_bneg_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 434, __PRETTY_FUNCTION__)); } } void helper_msa_sat_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_sat_s_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_sat_s_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_sat_s_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_sat_s_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 435, __PRETTY_FUNCTION__)); } } void helper_msa_sat_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_sat_u_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_sat_u_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_sat_u_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_sat_u_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 436, __PRETTY_FUNCTION__)); } } void helper_msa_srari_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_srar_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_srar_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_srar_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_srar_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 437, __PRETTY_FUNCTION__)); } } void helper_msa_srlri_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_srlr_df(df, pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_srlr_df(df, pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_srlr_df(df, pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_srlr_df(df, pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 438, __PRETTY_FUNCTION__)); } } # 479 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_binsli_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_binsl_df(df, pwd->b[i], pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_binsl_df(df, pwd->h[i], pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_binsl_df(df, pwd->w[i], pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_binsl_df(df, pwd->d[i], pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 479, __PRETTY_FUNCTION__)); } } void helper_msa_binsri_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t u5) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_binsr_df(df, pwd->b[i], pws->b[i], u5); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_binsr_df(df, pwd->h[i], pws->h[i], u5); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_binsr_df(df, pwd->w[i], pws->w[i], u5); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_binsr_df(df, pwd->d[i], pws->d[i], u5); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 480, __PRETTY_FUNCTION__)); } } static __attribute__ (( always_inline )) __inline__ int64_t msa_max_a_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t abs_arg1 = arg1 >= 0 ? arg1 : -arg1; uint64_t abs_arg2 = arg2 >= 0 ? arg2 : -arg2; return abs_arg1 > abs_arg2 ? arg1 : arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_min_a_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t abs_arg1 = arg1 >= 0 ? arg1 : -arg1; uint64_t abs_arg2 = arg2 >= 0 ? arg2 : -arg2; return abs_arg1 < abs_arg2 ? arg1 : arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_add_a_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t abs_arg1 = arg1 >= 0 ? arg1 : -arg1; uint64_t abs_arg2 = arg2 >= 0 ? arg2 : -arg2; return abs_arg1 + abs_arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_adds_a_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t max_int = (uint64_t)(int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); uint64_t abs_arg1 = arg1 >= 0 ? arg1 : -arg1; uint64_t abs_arg2 = arg2 >= 0 ? arg2 : -arg2; if (abs_arg1 > max_int || abs_arg2 > max_int) { return (int64_t)max_int; } else { return (abs_arg1 < max_int - abs_arg2) ? abs_arg1 + abs_arg2 : max_int; } } static __attribute__ (( always_inline )) __inline__ int64_t msa_adds_s_df(uint32_t df, int64_t arg1, int64_t arg2) { int64_t max_int = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t min_int = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); if (arg1 < 0) { return (min_int - arg1 < arg2) ? arg1 + arg2 : min_int; } else { return (arg2 < max_int - arg1) ? arg1 + arg2 : max_int; } } static __attribute__ (( always_inline )) __inline__ uint64_t msa_adds_u_df(uint32_t df, uint64_t arg1, uint64_t arg2) { uint64_t max_uint = (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3)))); uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return (u_arg1 < max_uint - u_arg2) ? u_arg1 + u_arg2 : max_uint; } static __attribute__ (( always_inline )) __inline__ int64_t msa_ave_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return (arg1 >> 1) + (arg2 >> 1) + (arg1 & arg2 & 1); } static __attribute__ (( always_inline )) __inline__ uint64_t msa_ave_u_df(uint32_t df, uint64_t arg1, uint64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return (u_arg1 >> 1) + (u_arg2 >> 1) + (u_arg1 & u_arg2 & 1); } static __attribute__ (( always_inline )) __inline__ int64_t msa_aver_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return (arg1 >> 1) + (arg2 >> 1) + ((arg1 | arg2) & 1); } static __attribute__ (( always_inline )) __inline__ uint64_t msa_aver_u_df(uint32_t df, uint64_t arg1, uint64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return (u_arg1 >> 1) + (u_arg2 >> 1) + ((u_arg1 | u_arg2) & 1); } static __attribute__ (( always_inline )) __inline__ int64_t msa_subs_s_df(uint32_t df, int64_t arg1, int64_t arg2) { int64_t max_int = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t min_int = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); if (arg2 > 0) { return (min_int + arg2 < arg1) ? arg1 - arg2 : min_int; } else { return (arg1 < max_int + arg2) ? arg1 - arg2 : max_int; } } static __attribute__ (( always_inline )) __inline__ int64_t msa_subs_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return (u_arg1 > u_arg2) ? u_arg1 - u_arg2 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_subsus_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t max_uint = (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3)))); if (arg2 >= 0) { uint64_t u_arg2 = (uint64_t)arg2; return (u_arg1 > u_arg2) ? (int64_t)(u_arg1 - u_arg2) : 0; } else { uint64_t u_arg2 = (uint64_t)(-arg2); return (u_arg1 < max_uint - u_arg2) ? (int64_t)(u_arg1 + u_arg2) : (int64_t)max_uint; } } static __attribute__ (( always_inline )) __inline__ int64_t msa_subsuu_s_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); int64_t max_int = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t min_int = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); if (u_arg1 > u_arg2) { return u_arg1 - u_arg2 < (uint64_t)max_int ? (int64_t)(u_arg1 - u_arg2) : max_int; } else { return u_arg2 - u_arg1 < (uint64_t)(-min_int) ? (int64_t)(u_arg1 - u_arg2) : min_int; } } static __attribute__ (( always_inline )) __inline__ int64_t msa_asub_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return (arg1 < arg2) ? (uint64_t)(arg2 - arg1) : (uint64_t)(arg1 - arg2); } static __attribute__ (( always_inline )) __inline__ uint64_t msa_asub_u_df(uint32_t df, uint64_t arg1, uint64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return (u_arg1 < u_arg2) ? (uint64_t)(u_arg2 - u_arg1) : (uint64_t)(u_arg1 - u_arg2); } static __attribute__ (( always_inline )) __inline__ int64_t msa_mulv_df(uint32_t df, int64_t arg1, int64_t arg2) { return arg1 * arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_div_s_df(uint32_t df, int64_t arg1, int64_t arg2) { if (arg1 == (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))) && arg2 == -1) { return (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); } return arg2 ? arg1 / arg2 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_div_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return u_arg2 ? u_arg1 / u_arg2 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_mod_s_df(uint32_t df, int64_t arg1, int64_t arg2) { if (arg1 == (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))) && arg2 == -1) { return 0; } return arg2 ? arg1 % arg2 : 0; } static __attribute__ (( always_inline )) __inline__ int64_t msa_mod_u_df(uint32_t df, int64_t arg1, int64_t arg2) { uint64_t u_arg1 = ((arg1) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); uint64_t u_arg2 = ((arg2) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); return u_arg2 ? u_arg1 % u_arg2 : 0; } # 690 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" static __attribute__ (( always_inline )) __inline__ int64_t msa_dotp_s_df(uint32_t df, int64_t arg1, int64_t arg2) { int64_t even_arg1; int64_t even_arg2; int64_t odd_arg1; int64_t odd_arg2; do { even_arg1 = ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg1 = ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; do { even_arg2 = ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg2 = ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; return (even_arg1 * even_arg2) + (odd_arg1 * odd_arg2); } static __attribute__ (( always_inline )) __inline__ int64_t msa_dotp_u_df(uint32_t df, int64_t arg1, int64_t arg2) { int64_t even_arg1; int64_t even_arg2; int64_t odd_arg1; int64_t odd_arg2; do { even_arg1 = ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg1 = ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; do { even_arg2 = ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg2 = ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; return (even_arg1 * even_arg2) + (odd_arg1 * odd_arg2); } # 723 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" static __attribute__ (( always_inline )) __inline__ void msa_sld_df(uint32_t df, wr_t *pwd, wr_t *pws, target_ulong rt) { uint32_t n = rt % ((128) / (1 << ((df) + 3))); uint8_t v[64]; uint32_t i, k; switch (df) { case DF_BYTE: do { for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { v[i] = pws->b[((128) / (1 << ((DF_BYTE) + 3))) * 0 + i]; v[i + ((128) / (1 << ((DF_BYTE) + 3)))] = pwd->b[((128) / (1 << ((DF_BYTE) + 3))) * 0 + i]; } for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[((128) / (1 << ((DF_BYTE) + 3))) * 0 + i] = v[i + n]; } } while (0); break; case DF_HALF: for (k = 0; k < 2; k++) { do { for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { v[i] = pws->b[((128) / (1 << ((DF_HALF) + 3))) * k + i]; v[i + ((128) / (1 << ((DF_HALF) + 3)))] = pwd->b[((128) / (1 << ((DF_HALF) + 3))) * k + i]; } for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->b[((128) / (1 << ((DF_HALF) + 3))) * k + i] = v[i + n]; } } while (0); } break; case DF_WORD: for (k = 0; k < 4; k++) { do { for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { v[i] = pws->b[((128) / (1 << ((DF_WORD) + 3))) * k + i]; v[i + ((128) / (1 << ((DF_WORD) + 3)))] = pwd->b[((128) / (1 << ((DF_WORD) + 3))) * k + i]; } for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->b[((128) / (1 << ((DF_WORD) + 3))) * k + i] = v[i + n]; } } while (0); } break; case DF_DOUBLE: for (k = 0; k < 8; k++) { do { for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { v[i] = pws->b[((128) / (1 << ((DF_DOUBLE) + 3))) * k + i]; v[i + ((128) / (1 << ((DF_DOUBLE) + 3)))] = pwd->b[((128) / (1 << ((DF_DOUBLE) + 3))) * k + i]; } for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->b[((128) / (1 << ((DF_DOUBLE) + 3))) * k + i] = v[i + n]; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 750, __PRETTY_FUNCTION__)); } } static __attribute__ (( always_inline )) __inline__ int64_t msa_hadd_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)) + ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); } static __attribute__ (( always_inline )) __inline__ int64_t msa_hadd_u_df(uint32_t df, int64_t arg1, int64_t arg2) { return ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)) + ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); } static __attribute__ (( always_inline )) __inline__ int64_t msa_hsub_s_df(uint32_t df, int64_t arg1, int64_t arg2) { return ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)) - ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); } static __attribute__ (( always_inline )) __inline__ int64_t msa_hsub_u_df(uint32_t df, int64_t arg1, int64_t arg2) { return ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)) - ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); } static __attribute__ (( always_inline )) __inline__ int64_t msa_mul_q_df(uint32_t df, int64_t arg1, int64_t arg2) { int64_t q_min = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); int64_t q_max = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); if (arg1 == q_min && arg2 == q_min) { return q_max; } return (arg1 * arg2) >> ((1 << ((df) + 3)) - 1); } static __attribute__ (( always_inline )) __inline__ int64_t msa_mulr_q_df(uint32_t df, int64_t arg1, int64_t arg2) { int64_t q_min = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); int64_t q_max = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t r_bit = 1 << ((1 << ((df) + 3)) - 2); if (arg1 == q_min && arg2 == q_min) { return q_max; } return (arg1 * arg2 + r_bit) >> ((1 << ((df) + 3)) - 1); } # 832 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_sll_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_sll_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_sll_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_sll_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_sll_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 832, __PRETTY_FUNCTION__)); } } void helper_msa_sra_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_sra_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_sra_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_sra_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_sra_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 833, __PRETTY_FUNCTION__)); } } void helper_msa_srl_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_srl_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_srl_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_srl_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_srl_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 834, __PRETTY_FUNCTION__)); } } void helper_msa_bclr_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_bclr_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_bclr_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_bclr_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_bclr_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 835, __PRETTY_FUNCTION__)); } } void helper_msa_bset_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_bset_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_bset_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_bset_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_bset_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 836, __PRETTY_FUNCTION__)); } } void helper_msa_bneg_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_bneg_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_bneg_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_bneg_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_bneg_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 837, __PRETTY_FUNCTION__)); } } void helper_msa_addv_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_addv_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_addv_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_addv_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_addv_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 838, __PRETTY_FUNCTION__)); } } void helper_msa_subv_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_subv_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_subv_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_subv_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_subv_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 839, __PRETTY_FUNCTION__)); } } void helper_msa_max_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_max_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_max_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_max_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_max_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 840, __PRETTY_FUNCTION__)); } } void helper_msa_max_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_max_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_max_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_max_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_max_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 841, __PRETTY_FUNCTION__)); } } void helper_msa_min_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_min_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_min_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_min_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_min_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 842, __PRETTY_FUNCTION__)); } } void helper_msa_min_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_min_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_min_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_min_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_min_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 843, __PRETTY_FUNCTION__)); } } void helper_msa_max_a_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_max_a_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_max_a_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_max_a_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_max_a_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 844, __PRETTY_FUNCTION__)); } } void helper_msa_min_a_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_min_a_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_min_a_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_min_a_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_min_a_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 845, __PRETTY_FUNCTION__)); } } void helper_msa_ceq_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_ceq_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_ceq_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_ceq_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_ceq_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 846, __PRETTY_FUNCTION__)); } } void helper_msa_clt_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_clt_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_clt_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_clt_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_clt_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 847, __PRETTY_FUNCTION__)); } } void helper_msa_clt_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_clt_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_clt_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_clt_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_clt_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 848, __PRETTY_FUNCTION__)); } } void helper_msa_cle_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_cle_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_cle_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_cle_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_cle_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 849, __PRETTY_FUNCTION__)); } } void helper_msa_cle_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_cle_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_cle_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_cle_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_cle_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 850, __PRETTY_FUNCTION__)); } } void helper_msa_add_a_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_add_a_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_add_a_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_add_a_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_add_a_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 851, __PRETTY_FUNCTION__)); } } void helper_msa_adds_a_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_adds_a_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_adds_a_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_adds_a_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_adds_a_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 852, __PRETTY_FUNCTION__)); } } void helper_msa_adds_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_adds_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_adds_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_adds_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_adds_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 853, __PRETTY_FUNCTION__)); } } void helper_msa_adds_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_adds_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_adds_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_adds_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_adds_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 854, __PRETTY_FUNCTION__)); } } void helper_msa_ave_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_ave_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_ave_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_ave_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_ave_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 855, __PRETTY_FUNCTION__)); } } void helper_msa_ave_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_ave_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_ave_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_ave_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_ave_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 856, __PRETTY_FUNCTION__)); } } void helper_msa_aver_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_aver_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_aver_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_aver_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_aver_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 857, __PRETTY_FUNCTION__)); } } void helper_msa_aver_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_aver_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_aver_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_aver_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_aver_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 858, __PRETTY_FUNCTION__)); } } void helper_msa_subs_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_subs_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_subs_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_subs_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_subs_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 859, __PRETTY_FUNCTION__)); } } void helper_msa_subs_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_subs_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_subs_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_subs_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_subs_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 860, __PRETTY_FUNCTION__)); } } void helper_msa_subsus_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_subsus_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_subsus_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_subsus_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_subsus_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 861, __PRETTY_FUNCTION__)); } } void helper_msa_subsuu_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_subsuu_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_subsuu_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_subsuu_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_subsuu_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 862, __PRETTY_FUNCTION__)); } } void helper_msa_asub_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_asub_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_asub_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_asub_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_asub_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 863, __PRETTY_FUNCTION__)); } } void helper_msa_asub_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_asub_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_asub_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_asub_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_asub_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 864, __PRETTY_FUNCTION__)); } } void helper_msa_mulv_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_mulv_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_mulv_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_mulv_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_mulv_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 865, __PRETTY_FUNCTION__)); } } void helper_msa_div_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_div_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_div_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_div_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_div_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 866, __PRETTY_FUNCTION__)); } } void helper_msa_div_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_div_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_div_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_div_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_div_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 867, __PRETTY_FUNCTION__)); } } void helper_msa_mod_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_mod_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_mod_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_mod_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_mod_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 868, __PRETTY_FUNCTION__)); } } void helper_msa_mod_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_mod_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_mod_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_mod_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_mod_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 869, __PRETTY_FUNCTION__)); } } void helper_msa_dotp_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_dotp_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_dotp_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_dotp_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_dotp_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 870, __PRETTY_FUNCTION__)); } } void helper_msa_dotp_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_dotp_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_dotp_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_dotp_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_dotp_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 871, __PRETTY_FUNCTION__)); } } void helper_msa_srar_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_srar_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_srar_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_srar_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_srar_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 872, __PRETTY_FUNCTION__)); } } void helper_msa_srlr_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_srlr_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_srlr_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_srlr_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_srlr_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 873, __PRETTY_FUNCTION__)); } } void helper_msa_hadd_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_hadd_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_hadd_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_hadd_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_hadd_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 874, __PRETTY_FUNCTION__)); } } void helper_msa_hadd_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_hadd_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_hadd_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_hadd_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_hadd_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 875, __PRETTY_FUNCTION__)); } } void helper_msa_hsub_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_hsub_s_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_hsub_s_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_hsub_s_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_hsub_s_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 876, __PRETTY_FUNCTION__)); } } void helper_msa_hsub_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_hsub_u_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_hsub_u_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_hsub_u_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_hsub_u_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 877, __PRETTY_FUNCTION__)); } } void helper_msa_mul_q_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_mul_q_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_mul_q_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_mul_q_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_mul_q_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 879, __PRETTY_FUNCTION__)); } } void helper_msa_mulr_q_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_mulr_q_df(df, pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_mulr_q_df(df, pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_mulr_q_df(df, pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_mulr_q_df(df, pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 880, __PRETTY_FUNCTION__)); } } void helper_msa_sld_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t rt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); msa_sld_df(df, pwd, pws, env->active_tc.gpr[rt]); } static __attribute__ (( always_inline )) __inline__ int64_t msa_maddv_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { return dest + arg1 * arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_msubv_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { return dest - arg1 * arg2; } static __attribute__ (( always_inline )) __inline__ int64_t msa_dpadd_s_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t even_arg1; int64_t even_arg2; int64_t odd_arg1; int64_t odd_arg2; do { even_arg1 = ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg1 = ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; do { even_arg2 = ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg2 = ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; return dest + (even_arg1 * even_arg2) + (odd_arg1 * odd_arg2); } static __attribute__ (( always_inline )) __inline__ int64_t msa_dpadd_u_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t even_arg1; int64_t even_arg2; int64_t odd_arg1; int64_t odd_arg2; do { even_arg1 = ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg1 = ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; do { even_arg2 = ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg2 = ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; return dest + (even_arg1 * even_arg2) + (odd_arg1 * odd_arg2); } static __attribute__ (( always_inline )) __inline__ int64_t msa_dpsub_s_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t even_arg1; int64_t even_arg2; int64_t odd_arg1; int64_t odd_arg2; do { even_arg1 = ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg1 = ((((int64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; do { even_arg2 = ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg2 = ((((int64_t)(arg2)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; return dest - ((even_arg1 * even_arg2) + (odd_arg1 * odd_arg2)); } static __attribute__ (( always_inline )) __inline__ int64_t msa_dpsub_u_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t even_arg1; int64_t even_arg2; int64_t odd_arg1; int64_t odd_arg2; do { even_arg1 = ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg1 = ((((uint64_t)(arg1)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; do { even_arg2 = ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3))/2)) >> (64 - (1 << ((df) + 3))/2)); odd_arg2 = ((((uint64_t)(arg2)) << (64 - (1 << ((df) + 3)))) >> (64 - (1 << ((df) + 3))/2)); } while (0);; return dest - ((even_arg1 * even_arg2) + (odd_arg1 * odd_arg2)); } static __attribute__ (( always_inline )) __inline__ int64_t msa_madd_q_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t q_prod, q_ret; int64_t q_max = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t q_min = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); q_prod = arg1 * arg2; q_ret = ((dest << ((1 << ((df) + 3)) - 1)) + q_prod) >> ((1 << ((df) + 3)) - 1); return (q_ret < q_min) ? q_min : (q_max < q_ret) ? q_max : q_ret; } static __attribute__ (( always_inline )) __inline__ int64_t msa_msub_q_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t q_prod, q_ret; int64_t q_max = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t q_min = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); q_prod = arg1 * arg2; q_ret = ((dest << ((1 << ((df) + 3)) - 1)) - q_prod) >> ((1 << ((df) + 3)) - 1); return (q_ret < q_min) ? q_min : (q_max < q_ret) ? q_max : q_ret; } static __attribute__ (( always_inline )) __inline__ int64_t msa_maddr_q_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t q_prod, q_ret; int64_t q_max = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t q_min = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); int64_t r_bit = 1 << ((1 << ((df) + 3)) - 2); q_prod = arg1 * arg2; q_ret = ((dest << ((1 << ((df) + 3)) - 1)) + q_prod + r_bit) >> ((1 << ((df) + 3)) - 1); return (q_ret < q_min) ? q_min : (q_max < q_ret) ? q_max : q_ret; } static __attribute__ (( always_inline )) __inline__ int64_t msa_msubr_q_df(uint32_t df, int64_t dest, int64_t arg1, int64_t arg2) { int64_t q_prod, q_ret; int64_t q_max = (int64_t)((1LL << ((1 << ((df) + 3)) - 1)) - 1); int64_t q_min = (int64_t)(-(1LL << ((1 << ((df) + 3)) - 1))); int64_t r_bit = 1 << ((1 << ((df) + 3)) - 2); q_prod = arg1 * arg2; q_ret = ((dest << ((1 << ((df) + 3)) - 1)) - q_prod + r_bit) >> ((1 << ((df) + 3)) - 1); return (q_ret < q_min) ? q_min : (q_max < q_ret) ? q_max : q_ret; } # 1049 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_maddv_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_maddv_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_maddv_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_maddv_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_maddv_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1049, __PRETTY_FUNCTION__)); } } void helper_msa_msubv_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_msubv_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_msubv_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_msubv_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_msubv_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1050, __PRETTY_FUNCTION__)); } } void helper_msa_dpadd_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_dpadd_s_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_dpadd_s_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_dpadd_s_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_dpadd_s_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1051, __PRETTY_FUNCTION__)); } } void helper_msa_dpadd_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_dpadd_u_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_dpadd_u_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_dpadd_u_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_dpadd_u_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1052, __PRETTY_FUNCTION__)); } } void helper_msa_dpsub_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_dpsub_s_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_dpsub_s_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_dpsub_s_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_dpsub_s_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1053, __PRETTY_FUNCTION__)); } } void helper_msa_dpsub_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_dpsub_u_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_dpsub_u_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_dpsub_u_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_dpsub_u_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1054, __PRETTY_FUNCTION__)); } } void helper_msa_binsl_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_binsl_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_binsl_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_binsl_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_binsl_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1055, __PRETTY_FUNCTION__)); } } void helper_msa_binsr_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_binsr_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_binsr_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_binsr_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_binsr_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1056, __PRETTY_FUNCTION__)); } } void helper_msa_madd_q_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_madd_q_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_madd_q_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_madd_q_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_madd_q_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1057, __PRETTY_FUNCTION__)); } } void helper_msa_msub_q_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_msub_q_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_msub_q_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_msub_q_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_msub_q_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1058, __PRETTY_FUNCTION__)); } } void helper_msa_maddr_q_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_maddr_q_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_maddr_q_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_maddr_q_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_maddr_q_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1059, __PRETTY_FUNCTION__)); } } void helper_msa_msubr_q_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_msubr_q_df(df, pwd->b[i], pws->b[i], pwt->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_msubr_q_df(df, pwd->h[i], pws->h[i], pwt->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_msubr_q_df(df, pwd->w[i], pws->w[i], pwt->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_msubr_q_df(df, pwd->d[i], pws->d[i], pwt->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1060, __PRETTY_FUNCTION__)); } } static __attribute__ (( always_inline )) __inline__ void msa_splat_df(uint32_t df, wr_t *pwd, wr_t *pws, target_ulong rt) { uint32_t n = rt % ((128) / (1 << ((df) + 3))); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = pws->b[n]; } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = pws->h[n]; } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = pws->w[n]; } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = pws->d[n]; } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1091, __PRETTY_FUNCTION__)); } } void helper_msa_splat_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t rt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); msa_splat_df(df, pwd, pws, env->active_tc.gpr[rt]); } # 1169 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_pckev_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((((128) / (1 << ((DF_BYTE) + 3))) / 2)) ; i++) { do { (pwx->b[i]) = pwt->b[2*i]; (pwx->b[i + ((128) / (1 << ((DF_BYTE) + 3)))/2]) = pws->b[2*i]; } while (0); } break; case DF_HALF: for (i = 0; i < ((((128) / (1 << ((DF_HALF) + 3))) / 2)) ; i++) { do { (pwx->h[i]) = pwt->h[2*i]; (pwx->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]) = pws->h[2*i]; } while (0); } break; case DF_WORD: for (i = 0; i < ((((128) / (1 << ((DF_WORD) + 3))) / 2)) ; i++) { do { (pwx->w[i]) = pwt->w[2*i]; (pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]) = pws->w[2*i]; } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((((128) / (1 << ((DF_DOUBLE) + 3))) / 2)) ; i++) { do { (pwx->d[i]) = pwt->d[2*i]; (pwx->d[i + ((128) / (1 << ((DF_DOUBLE) + 3)))/2]) = pws->d[2*i]; } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1169, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_pckod_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((((128) / (1 << ((DF_BYTE) + 3))) / 2)) ; i++) { do { (pwx->b[i]) = pwt->b[2*i+1]; (pwx->b[i + ((128) / (1 << ((DF_BYTE) + 3)))/2]) = pws->b[2*i+1]; } while (0); } break; case DF_HALF: for (i = 0; i < ((((128) / (1 << ((DF_HALF) + 3))) / 2)) ; i++) { do { (pwx->h[i]) = pwt->h[2*i+1]; (pwx->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]) = pws->h[2*i+1]; } while (0); } break; case DF_WORD: for (i = 0; i < ((((128) / (1 << ((DF_WORD) + 3))) / 2)) ; i++) { do { (pwx->w[i]) = pwt->w[2*i+1]; (pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]) = pws->w[2*i+1]; } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((((128) / (1 << ((DF_DOUBLE) + 3))) / 2)) ; i++) { do { (pwx->d[i]) = pwt->d[2*i+1]; (pwx->d[i + ((128) / (1 << ((DF_DOUBLE) + 3)))/2]) = pws->d[2*i+1]; } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1177, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_ilvl_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((((128) / (1 << ((DF_BYTE) + 3))) / 2)) ; i++) { do { pwx->b[2*i] = (pwt->b[i + ((128) / (1 << ((DF_BYTE) + 3)))/2]); pwx->b[2*i+1] = (pws->b[i + ((128) / (1 << ((DF_BYTE) + 3)))/2]); } while (0); } break; case DF_HALF: for (i = 0; i < ((((128) / (1 << ((DF_HALF) + 3))) / 2)) ; i++) { do { pwx->h[2*i] = (pwt->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]); pwx->h[2*i+1] = (pws->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]); } while (0); } break; case DF_WORD: for (i = 0; i < ((((128) / (1 << ((DF_WORD) + 3))) / 2)) ; i++) { do { pwx->w[2*i] = (pwt->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]); pwx->w[2*i+1] = (pws->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]); } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((((128) / (1 << ((DF_DOUBLE) + 3))) / 2)) ; i++) { do { pwx->d[2*i] = (pwt->d[i + ((128) / (1 << ((DF_DOUBLE) + 3)))/2]); pwx->d[2*i+1] = (pws->d[i + ((128) / (1 << ((DF_DOUBLE) + 3)))/2]); } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1185, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_ilvr_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((((128) / (1 << ((DF_BYTE) + 3))) / 2)) ; i++) { do { pwx->b[2*i] = (pwt->b[i]); pwx->b[2*i+1] = (pws->b[i]); } while (0); } break; case DF_HALF: for (i = 0; i < ((((128) / (1 << ((DF_HALF) + 3))) / 2)) ; i++) { do { pwx->h[2*i] = (pwt->h[i]); pwx->h[2*i+1] = (pws->h[i]); } while (0); } break; case DF_WORD: for (i = 0; i < ((((128) / (1 << ((DF_WORD) + 3))) / 2)) ; i++) { do { pwx->w[2*i] = (pwt->w[i]); pwx->w[2*i+1] = (pws->w[i]); } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((((128) / (1 << ((DF_DOUBLE) + 3))) / 2)) ; i++) { do { pwx->d[2*i] = (pwt->d[i]); pwx->d[2*i+1] = (pws->d[i]); } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1193, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_ilvev_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((((128) / (1 << ((DF_BYTE) + 3))) / 2)) ; i++) { do { pwx->b[2*i] = pwt->b[2*i]; pwx->b[2*i+1] = pws->b[2*i]; } while (0); } break; case DF_HALF: for (i = 0; i < ((((128) / (1 << ((DF_HALF) + 3))) / 2)) ; i++) { do { pwx->h[2*i] = pwt->h[2*i]; pwx->h[2*i+1] = pws->h[2*i]; } while (0); } break; case DF_WORD: for (i = 0; i < ((((128) / (1 << ((DF_WORD) + 3))) / 2)) ; i++) { do { pwx->w[2*i] = pwt->w[2*i]; pwx->w[2*i+1] = pws->w[2*i]; } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((((128) / (1 << ((DF_DOUBLE) + 3))) / 2)) ; i++) { do { pwx->d[2*i] = pwt->d[2*i]; pwx->d[2*i+1] = pws->d[2*i]; } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1201, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_ilvod_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((((128) / (1 << ((DF_BYTE) + 3))) / 2)) ; i++) { do { pwx->b[2*i] = pwt->b[2*i+1]; pwx->b[2*i+1] = pws->b[2*i+1]; } while (0); } break; case DF_HALF: for (i = 0; i < ((((128) / (1 << ((DF_HALF) + 3))) / 2)) ; i++) { do { pwx->h[2*i] = pwt->h[2*i+1]; pwx->h[2*i+1] = pws->h[2*i+1]; } while (0); } break; case DF_WORD: for (i = 0; i < ((((128) / (1 << ((DF_WORD) + 3))) / 2)) ; i++) { do { pwx->w[2*i] = pwt->w[2*i+1]; pwx->w[2*i+1] = pws->w[2*i+1]; } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((((128) / (1 << ((DF_DOUBLE) + 3))) / 2)) ; i++) { do { pwx->d[2*i] = pwt->d[2*i+1]; pwx->d[2*i+1] = pws->d[2*i+1]; } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1209, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } # 1223 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_vshf_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); wr_t wx, *pwx = &wx; uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((((128) / (1 << ((DF_BYTE) + 3))))) ; i++) { do { uint32_t n = ((128) / (1 << ((df) + 3))); uint32_t k = (pwd->b[i] & 0x3f) % (2 * n); pwx->b[i] = (pwd->b[i] & 0xc0) ? 0 : k < n ? pwt->b[k] : pws->b[k - n]; } while (0); } break; case DF_HALF: for (i = 0; i < ((((128) / (1 << ((DF_HALF) + 3))))) ; i++) { do { uint32_t n = ((128) / (1 << ((df) + 3))); uint32_t k = (pwd->h[i] & 0x3f) % (2 * n); pwx->h[i] = (pwd->h[i] & 0xc0) ? 0 : k < n ? pwt->h[k] : pws->h[k - n]; } while (0); } break; case DF_WORD: for (i = 0; i < ((((128) / (1 << ((DF_WORD) + 3))))) ; i++) { do { uint32_t n = ((128) / (1 << ((df) + 3))); uint32_t k = (pwd->w[i] & 0x3f) % (2 * n); pwx->w[i] = (pwd->w[i] & 0xc0) ? 0 : k < n ? pwt->w[k] : pws->w[k - n]; } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((((128) / (1 << ((DF_DOUBLE) + 3))))) ; i++) { do { uint32_t n = ((128) / (1 << ((df) + 3))); uint32_t k = (pwd->d[i] & 0x3f) % (2 * n); pwx->d[i] = (pwd->d[i] & 0xc0) ? 0 : k < n ? pwt->d[k] : pws->d[k - n]; } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1223, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_sldi_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t n) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); msa_sld_df(df, pwd, pws, n); } void helper_msa_splati_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t n) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); msa_splat_df(df, pwd, pws, n); } void helper_msa_copy_s_df(CPUMIPSState *env, uint32_t df, uint32_t rd, uint32_t ws, uint32_t n) { n %= ((128) / (1 << ((df) + 3))); switch (df) { case DF_BYTE: env->active_tc.gpr[rd] = (int8_t)env->active_fpu.fpr[ws].wr.b[n]; break; case DF_HALF: env->active_tc.gpr[rd] = (int16_t)env->active_fpu.fpr[ws].wr.h[n]; break; case DF_WORD: env->active_tc.gpr[rd] = (int32_t)env->active_fpu.fpr[ws].wr.w[n]; break; case DF_DOUBLE: env->active_tc.gpr[rd] = (int64_t)env->active_fpu.fpr[ws].wr.d[n]; break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1267, __PRETTY_FUNCTION__)); } } void helper_msa_copy_u_df(CPUMIPSState *env, uint32_t df, uint32_t rd, uint32_t ws, uint32_t n) { n %= ((128) / (1 << ((df) + 3))); switch (df) { case DF_BYTE: env->active_tc.gpr[rd] = (uint8_t)env->active_fpu.fpr[ws].wr.b[n]; break; case DF_HALF: env->active_tc.gpr[rd] = (uint16_t)env->active_fpu.fpr[ws].wr.h[n]; break; case DF_WORD: env->active_tc.gpr[rd] = (uint32_t)env->active_fpu.fpr[ws].wr.w[n]; break; case DF_DOUBLE: env->active_tc.gpr[rd] = (uint64_t)env->active_fpu.fpr[ws].wr.d[n]; break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1292, __PRETTY_FUNCTION__)); } } void helper_msa_insert_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t rs_num, uint32_t n) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); target_ulong rs = env->active_tc.gpr[rs_num]; switch (df) { case DF_BYTE: pwd->b[n] = (int8_t)rs; break; case DF_HALF: pwd->h[n] = (int16_t)rs; break; case DF_WORD: pwd->w[n] = (int32_t)rs; break; case DF_DOUBLE: pwd->d[n] = (int64_t)rs; break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1316, __PRETTY_FUNCTION__)); } } void helper_msa_insve_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t n) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); switch (df) { case DF_BYTE: pwd->b[n] = (int8_t)pws->b[0]; break; case DF_HALF: pwd->h[n] = (int16_t)pws->h[0]; break; case DF_WORD: pwd->w[n] = (int32_t)pws->w[0]; break; case DF_DOUBLE: pwd->d[n] = (int64_t)pws->d[0]; break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1340, __PRETTY_FUNCTION__)); } } void helper_msa_ctcmsa(CPUMIPSState *env, target_ulong elm, uint32_t cd) { switch (cd) { case 0: break; case 1: env->active_tc.msacsr = (int32_t)elm & ((0x3 << 0) | (0xffff << 2) | (1 << 18) | (1 << 24)); restore_msa_fp_status(env); if (((((env->active_tc.msacsr) >> 7) & 0x1f) | 32) & (((env->active_tc.msacsr) >> 12) & 0x3f)) { helper_raise_exception(env, EXCP_MSAFPE); } break; } } target_ulong helper_msa_cfcmsa(CPUMIPSState *env, uint32_t cs) { switch (cs) { case 0: return env->msair; case 1: return env->active_tc.msacsr & ((0x3 << 0) | (0xffff << 2) | (1 << 18) | (1 << 24)); } return 0; } void helper_msa_move_v(CPUMIPSState *env, uint32_t wd, uint32_t ws) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); msa_move_v(pwd, pws); } static __attribute__ (( always_inline )) __inline__ int64_t msa_pcnt_df(uint32_t df, int64_t arg) { uint64_t x; x = ((arg) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); x = (x & 0x5555555555555555ULL) + ((x >> 1) & 0x5555555555555555ULL); x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL); x = (x & 0x0F0F0F0F0F0F0F0FULL) + ((x >> 4) & 0x0F0F0F0F0F0F0F0FULL); x = (x & 0x00FF00FF00FF00FFULL) + ((x >> 8) & 0x00FF00FF00FF00FFULL); x = (x & 0x0000FFFF0000FFFFULL) + ((x >> 16) & 0x0000FFFF0000FFFFULL); x = (x & 0x00000000FFFFFFFFULL) + ((x >> 32)); return x; } static __attribute__ (( always_inline )) __inline__ int64_t msa_nlzc_df(uint32_t df, int64_t arg) { uint64_t x, y; int n, c; x = ((arg) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3))))); n = (1 << ((df) + 3)); c = (1 << ((df) + 3)) / 2; do { y = x >> c; if (y != 0) { n = n - c; x = y; } c = c >> 1; } while (c != 0); return n - x; } static __attribute__ (( always_inline )) __inline__ int64_t msa_nloc_df(uint32_t df, int64_t arg) { return msa_nlzc_df(df, (((~arg)) & (uint64_t)(-1ULL >> (64 - (1 << ((df) + 3)))))); } void helper_msa_fill_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t rs) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = (int8_t)env->active_tc.gpr[rs]; } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = (int16_t)env->active_tc.gpr[rs]; } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = (int32_t)env->active_tc.gpr[rs]; } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = (int64_t)env->active_tc.gpr[rs]; } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1450, __PRETTY_FUNCTION__)); } } # 1488 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_nlzc_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_nlzc_df(df, pws->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_nlzc_df(df, pws->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_nlzc_df(df, pws->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_nlzc_df(df, pws->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1488, __PRETTY_FUNCTION__)); } } void helper_msa_nloc_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_nloc_df(df, pws->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_nloc_df(df, pws->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_nloc_df(df, pws->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_nloc_df(df, pws->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1489, __PRETTY_FUNCTION__)); } } void helper_msa_pcnt_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_BYTE: for (i = 0; i < ((128) / (1 << ((DF_BYTE) + 3))); i++) { pwd->b[i] = msa_pcnt_df(df, pws->b[i]); } break; case DF_HALF: for (i = 0; i < ((128) / (1 << ((DF_HALF) + 3))); i++) { pwd->h[i] = msa_pcnt_df(df, pws->h[i]); } break; case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { pwd->w[i] = msa_pcnt_df(df, pws->w[i]); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { pwd->d[i] = msa_pcnt_df(df, pws->d[i]); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1490, __PRETTY_FUNCTION__)); } } # 1503 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" static __attribute__ (( always_inline )) __inline__ void clear_msacsr_cause(CPUMIPSState *env) { do { (env->active_tc.msacsr) = ((env->active_tc.msacsr) & ~(0x3f << 12)) | ((0 & 0x3f) << 12); } while(0); } static __attribute__ (( always_inline )) __inline__ void check_msacsr_cause(CPUMIPSState *env) { if (((((env->active_tc.msacsr) >> 12) & 0x3f) & ((((env->active_tc.msacsr) >> 7) & 0x1f) | 32)) == 0) { do { (env->active_tc.msacsr) |= (((((env->active_tc.msacsr) >> 12) & 0x3f) & 0x1f) << 2); } while(0) ; } else { helper_raise_exception(env, EXCP_MSAFPE); } } static __attribute__ (( always_inline )) __inline__ int update_msacsr(CPUMIPSState *env, int action, int denormal) { int ieee_ex; int c; int cause; int enable; ieee_ex = get_float_exception_flags(&env->active_tc.msa_fp_status); if (denormal) { ieee_ex |= float_flag_underflow; } c = ieee_ex_to_mips(ieee_ex); enable = (((env->active_tc.msacsr) >> 7) & 0x1f) | 32; if ((ieee_ex & float_flag_input_denormal) && (env->active_tc.msacsr & (1 << 24)) != 0) { if (action & 2) { c &= ~1; } else { c |= 1; } } if ((ieee_ex & float_flag_output_denormal) && (env->active_tc.msacsr & (1 << 24)) != 0) { c |= 1; if (action & 1) { c &= ~2; } else { c |= 2; } } if ((c & 4) != 0 && (enable & 4) == 0) { c |= 1; } if ((c & 2) != 0 && (enable & 2) == 0 && (c & 1) == 0) { c &= ~2; } if ((action & 4) && (c & (16 | 8)) == 0) { c = 1; } cause = c & enable; if (cause == 0) { do { (env->active_tc.msacsr) = ((env->active_tc.msacsr) & ~(0x3f << 12)) | ((((((env->active_tc.msacsr) >> 12) & 0x3f) | c) & 0x3f) << 12); } while(0) ; } else { if ((env->active_tc.msacsr & (1 << 18)) == 0) { do { (env->active_tc.msacsr) = ((env->active_tc.msacsr) & ~(0x3f << 12)) | ((((((env->active_tc.msacsr) >> 12) & 0x3f) | c) & 0x3f) << 12); } while(0) ; } } return c; } static __attribute__ (( always_inline )) __inline__ int get_enabled_exceptions(const CPUMIPSState *env, int c) { int enable = (((env->active_tc.msacsr) >> 7) & 0x1f) | 32; return c & enable; } static __attribute__ (( always_inline )) __inline__ float16 float16_from_float32(int32 a, flag ieee, float_status *status) { float16 f_val; f_val = float32_to_float16((float32)a, ieee, status); f_val = float16_maybe_silence_nan(f_val); return a < 0 ? (f_val | (1 << 15)) : f_val; } static __attribute__ (( always_inline )) __inline__ float32 float32_from_float64(int64 a, float_status *status) { float32 f_val; f_val = float64_to_float32((float64)a, status); f_val = float32_maybe_silence_nan(f_val); return a < 0 ? (f_val | (1 << 31)) : f_val; } static __attribute__ (( always_inline )) __inline__ float32 float32_from_float16(int16_t a, flag ieee, float_status *status) { float32 f_val; f_val = float16_to_float32((float16)a, ieee, status); f_val = float32_maybe_silence_nan(f_val); return a < 0 ? (f_val | (1 << 31)) : f_val; } static __attribute__ (( always_inline )) __inline__ float64 float64_from_float32(int32 a, float_status *status) { float64 f_val; f_val = float32_to_float64((float64)a, status); f_val = float64_maybe_silence_nan(f_val); return a < 0 ? (f_val | (1ULL << 63)) : f_val; } static __attribute__ (( always_inline )) __inline__ float32 float32_from_q16(int16_t a, float_status *status) { float32 f_val; f_val = int32_to_float32(a, status); f_val = float32_scalbn(f_val, -15, status); return f_val; } static __attribute__ (( always_inline )) __inline__ float64 float64_from_q32(int32 a, float_status *status) { float64 f_val; f_val = int32_to_float64(a, status); f_val = float64_scalbn(f_val, -31, status); return f_val; } static __attribute__ (( always_inline )) __inline__ int16_t float32_to_q16(float32 a, float_status *status) { int32 q_val; int32 q_min = 0xffff8000; int32 q_max = 0x00007fff; int ieee_ex; if (float32_is_any_nan(a)) { float_raise(float_flag_invalid, status); return 0; } a = float32_scalbn(a, 15, status); ieee_ex = get_float_exception_flags(status); set_float_exception_flags(ieee_ex & (~float_flag_underflow) , status); if (ieee_ex & float_flag_overflow) { float_raise(float_flag_inexact, status); return (int32)a < 0 ? q_min : q_max; } q_val = float32_to_int32(a, status); ieee_ex = get_float_exception_flags(status); set_float_exception_flags(ieee_ex & (~float_flag_underflow) , status); if (ieee_ex & float_flag_invalid) { set_float_exception_flags(ieee_ex & (~float_flag_invalid) , status); float_raise(float_flag_overflow | float_flag_inexact, status); return (int32)a < 0 ? q_min : q_max; } if (q_val < q_min) { float_raise(float_flag_overflow | float_flag_inexact, status); return (int16_t)q_min; } if (q_max < q_val) { float_raise(float_flag_overflow | float_flag_inexact, status); return (int16_t)q_max; } return (int16_t)q_val; } static __attribute__ (( always_inline )) __inline__ int32 float64_to_q32(float64 a, float_status *status) { int64 q_val; int64 q_min = 0xffffffff80000000LL; int64 q_max = 0x000000007fffffffLL; int ieee_ex; if (float64_is_any_nan(a)) { float_raise(float_flag_invalid, status); return 0; } a = float64_scalbn(a, 31, status); ieee_ex = get_float_exception_flags(status); set_float_exception_flags(ieee_ex & (~float_flag_underflow) , status); if (ieee_ex & float_flag_overflow) { float_raise(float_flag_inexact, status); return (int64)a < 0 ? q_min : q_max; } q_val = float64_to_int64(a, status); ieee_ex = get_float_exception_flags(status); set_float_exception_flags(ieee_ex & (~float_flag_underflow) , status); if (ieee_ex & float_flag_invalid) { set_float_exception_flags(ieee_ex & (~float_flag_invalid) , status); float_raise(float_flag_overflow | float_flag_inexact, status); return (int64)a < 0 ? q_min : q_max; } if (q_val < q_min) { float_raise(float_flag_overflow | float_flag_inexact, status); return (int32)q_min; } if (q_max < q_val) { float_raise(float_flag_overflow | float_flag_inexact, status); return (int32)q_max; } return (int32)q_val; } # 1853 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" static __attribute__ (( always_inline )) __inline__ void compare_af(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_eq(pws->w[i], pwt->w[i], status); } else { cond = float32_eq_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if ((pwx->w[i] & (uint64_t)(-1ULL >> (64 - (32)))) == (uint64_t)(-1ULL >> (64 - (32)))) { pwx->w[i] = 0; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_eq(pws->d[i], pwt->d[i], status); } else { cond = float64_eq_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if ((pwx->d[i] & (uint64_t)(-1ULL >> (64 - (64)))) == (uint64_t)(-1ULL >> (64 - (64)))) { pwx->d[i] = 0; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1873, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_un(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_unordered # 1892 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->w[i], pwt->w[i], status); } else { cond = float32_unordered_quiet # 1892 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (( (float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_unordered # 1898 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->d[i], pwt->d[i], status); } else { cond = float64_unordered_quiet # 1898 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (( (float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1903, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_eq(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_eq(pws->w[i], pwt->w[i], status); } else { cond = float32_eq_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_eq(pws->d[i], pwt->d[i], status); } else { cond = float64_eq_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1931, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_ueq(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_unordered(pws->w[i], pwt->w[i], status); } else { cond = float32_unordered_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if (pwx->w[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_eq(pws->w[i], pwt->w[i], status); } else { cond = float32_eq_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_unordered(pws->d[i], pwt->d[i], status); } else { cond = float64_unordered_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if (pwx->d[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_eq(pws->d[i], pwt->d[i], status); } else { cond = float64_eq_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1959, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_lt(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_lt(pws->w[i], pwt->w[i], status); } else { cond = float32_lt_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_lt(pws->d[i], pwt->d[i], status); } else { cond = float64_lt_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 1987, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_ult(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_unordered(pws->w[i], pwt->w[i], status); } else { cond = float32_unordered_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if (pwx->w[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_lt(pws->w[i], pwt->w[i], status); } else { cond = float32_lt_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_unordered(pws->d[i], pwt->d[i], status); } else { cond = float64_unordered_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if (pwx->d[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_lt(pws->d[i], pwt->d[i], status); } else { cond = float64_lt_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2015, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_le(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_le(pws->w[i], pwt->w[i], status); } else { cond = float32_le_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_le(pws->d[i], pwt->d[i], status); } else { cond = float64_le_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2043, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_ule(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_unordered(pws->w[i], pwt->w[i], status); } else { cond = float32_unordered_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if (pwx->w[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_le(pws->w[i], pwt->w[i], status); } else { cond = float32_le_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_unordered(pws->d[i], pwt->d[i], status); } else { cond = float64_unordered_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if (pwx->d[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_le(pws->d[i], pwt->d[i], status); } else { cond = float64_le_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2071, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_or(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_le(pws->w[i], pwt->w[i], status); } else { cond = float32_le_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if (pwx->w[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_le(pwt->w[i], pws->w[i], status); } else { cond = float32_le_quiet(pwt->w[i], pws->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_le(pws->d[i], pwt->d[i], status); } else { cond = float64_le_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if (pwx->d[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_le(pwt->d[i], pws->d[i], status); } else { cond = float64_le_quiet(pwt->d[i], pws->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2099, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_une(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_unordered(pws->w[i], pwt->w[i], status); } else { cond = float32_unordered_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if (pwx->w[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_lt(pws->w[i], pwt->w[i], status); } else { cond = float32_lt_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if (pwx->w[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_lt(pwt->w[i], pws->w[i], status); } else { cond = float32_lt_quiet(pwt->w[i], pws->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_unordered(pws->d[i], pwt->d[i], status); } else { cond = float64_unordered_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if (pwx->d[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_lt(pws->d[i], pwt->d[i], status); } else { cond = float64_lt_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if (pwx->d[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_lt(pwt->d[i], pws->d[i], status); } else { cond = float64_lt_quiet(pwt->d[i], pws->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2127, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } static __attribute__ (( always_inline )) __inline__ void compare_ne(CPUMIPSState *env, wr_t *pwd, wr_t *pws, wr_t *pwt, uint32_t df, int quiet) { wr_t wx, *pwx = &wx; uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_lt(pws->w[i], pwt->w[i], status); } else { cond = float32_lt_quiet(pws->w[i], pwt->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); if (pwx->w[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float32_lt(pwt->w[i], pws->w[i], status); } else { cond = float32_lt_quiet(pwt->w[i], pws->w[i], status); } pwx->w[i] = cond ? (uint64_t)(-1ULL >> (64 - (32))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_lt(pws->d[i], pwt->d[i], status); } else { cond = float64_lt_quiet(pws->d[i], pwt->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); if (pwx->d[i] == 0) { do { float_status *status = &env->active_tc.msa_fp_status; int c; int64_t cond; set_float_exception_flags(0, status); if (!quiet) { cond = float64_lt(pwt->d[i], pws->d[i], status); } else { cond = float64_lt_quiet(pwt->d[i], pws->d[i], status); } pwx->d[i] = cond ? (uint64_t)(-1ULL >> (64 - (64))) : 0; c = update_msacsr(env, 2, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2154, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fcaf_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_af(env, pwd, pws, pwt, df, 1); } void helper_msa_fcun_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_un(env, pwd, pws, pwt, df, 1); } void helper_msa_fceq_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_eq(env, pwd, pws, pwt, df, 1); } void helper_msa_fcueq_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ueq(env, pwd, pws, pwt, df, 1); } void helper_msa_fclt_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_lt(env, pwd, pws, pwt, df, 1); } void helper_msa_fcult_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ult(env, pwd, pws, pwt, df, 1); } void helper_msa_fcle_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_le(env, pwd, pws, pwt, df, 1); } void helper_msa_fcule_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ule(env, pwd, pws, pwt, df, 1); } void helper_msa_fsaf_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_af(env, pwd, pws, pwt, df, 0); } void helper_msa_fsun_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_un(env, pwd, pws, pwt, df, 0); } void helper_msa_fseq_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_eq(env, pwd, pws, pwt, df, 0); } void helper_msa_fsueq_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ueq(env, pwd, pws, pwt, df, 0); } void helper_msa_fslt_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_lt(env, pwd, pws, pwt, df, 0); } void helper_msa_fsult_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ult(env, pwd, pws, pwt, df, 0); } void helper_msa_fsle_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_le(env, pwd, pws, pwt, df, 0); } void helper_msa_fsule_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ule(env, pwd, pws, pwt, df, 0); } void helper_msa_fcor_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_or(env, pwd, pws, pwt, df, 1); } void helper_msa_fcune_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_une(env, pwd, pws, pwt, df, 1); } void helper_msa_fcne_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ne(env, pwd, pws, pwt, df, 1); } void helper_msa_fsor_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_or(env, pwd, pws, pwt, df, 0); } void helper_msa_fsune_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_une(env, pwd, pws, pwt, df, 0); } void helper_msa_fsne_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); compare_ne(env, pwd, pws, pwt, df, 0); } # 2381 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_fadd_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_add(pws->w[i], pwt->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_add(pws->d[i], pwt->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2404, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fsub_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_sub(pws->w[i], pwt->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_sub(pws->d[i], pwt->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2434, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fmul_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_mul(pws->w[i], pwt->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_mul(pws->d[i], pwt->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2464, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fdiv_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_div(pws->w[i], pwt->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_div(pws->d[i], pwt->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2495, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } # 2517 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_fmadd_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_muladd # 2531 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->w[i], pwt->w[i], pwd->w[i], 0, status); c = update_msacsr(env, 0, (! float32_is_zero # 2531 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->w[i]) && float32_is_zero_or_denormal # 2531 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (( (float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_muladd # 2537 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->d[i], pwt->d[i], pwd->d[i], 0, status); c = update_msacsr(env, 0, (! float64_is_zero # 2537 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->d[i]) && float64_is_zero_or_denormal # 2537 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (( (float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2542, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fmsub_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_muladd # 2564 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->w[i], pwt->w[i], pwd->w[i], float_muladd_negate_product, status); c = update_msacsr(env, 0, (! float32_is_zero # 2564 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->w[i]) && float32_is_zero_or_denormal # 2564 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (( (float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_muladd # 2571 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->d[i], pwt->d[i], pwd->d[i], float_muladd_negate_product, status); c = update_msacsr(env, 0, (! float64_is_zero # 2571 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->d[i]) && float64_is_zero_or_denormal # 2571 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (( (float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2577, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fexp2_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_scalbn # 2599 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->w[i], pwt->w[i] > 0x200 ? 0x200 : pwt->w[i] < -0x200 ? -0x200 : pwt->w[i], status); c = update_msacsr(env, 0, (! float32_is_zero # 2599 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->w[i]) && float32_is_zero_or_denormal # 2599 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (( (float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_scalbn # 2607 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pws->d[i], pwt->d[i] > 0x1000 ? 0x1000 : pwt->d[i] < -0x1000 ? -0x1000 : pwt->d[i], status); c = update_msacsr(env, 0, (! float64_is_zero # 2607 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->d[i]) && float64_is_zero_or_denormal # 2607 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" (pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (( (float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2614, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } # 2636 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_fexdo_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { flag ieee = 1; do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]) = float16_from_float32(pws->w[i], ieee, status); c = update_msacsr(env, 0, (!0 && 0)); if (get_enabled_exceptions(env, c)) { (pwx->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]) = (((float16_default_nan ^ 0x0220) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->h[i]) = float16_from_float32(pwt->w[i], ieee, status); c = update_msacsr(env, 0, (!0 && 0)); if (get_enabled_exceptions(env, c)) { (pwx->h[i]) = (((float16_default_nan ^ 0x0220) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]) = float32_from_float64(pws->d[i], status); c = update_msacsr(env, 0, (!float32_is_zero((pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2])) && float32_is_zero_or_denormal((pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2])))); if (get_enabled_exceptions(env, c)) { (pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]) = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->w[i]) = float32_from_float64(pwt->d[i], status); c = update_msacsr(env, 0, (!float32_is_zero((pwx->w[i])) && float32_is_zero_or_denormal((pwx->w[i])))); if (get_enabled_exceptions(env, c)) { (pwx->w[i]) = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2664, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } # 2685 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_ftq_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]) = float32_to_q16(pws->w[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { (pwx->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]) = (((float16_default_nan ^ 0x0220) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->h[i]) = float32_to_q16(pwt->w[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { (pwx->h[i]) = (((float16_default_nan ^ 0x0220) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]) = float64_to_q32(pws->d[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { (pwx->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]) = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); (pwx->w[i]) = float64_to_q32(pwt->d[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { (pwx->w[i]) = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2710, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } # 2754 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_fmin_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { if (!float32_is_any_nan(pws->w[i]) && float32_is_quiet_nan(pwt->w[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_min(pws->w[i], pws->w[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } else if (!float32_is_any_nan(pwt->w[i]) && float32_is_quiet_nan(pws->w[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_min(pwt->w[i], pwt->w[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } else { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_min(pws->w[i], pwt->w[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { if (!float64_is_any_nan(pws->d[i]) && float64_is_quiet_nan(pwt->d[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_min(pws->d[i], pws->d[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } else if (!float64_is_any_nan(pwt->d[i]) && float64_is_quiet_nan(pws->d[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_min(pwt->d[i], pwt->d[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } else { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_min(pws->d[i], pwt->d[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2789, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fmin_a_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { uint32_t S = pws->w[i], T = pwt->w[i]; uint32_t as, at, xs, xt, xd; if (!float32_is_any_nan(S) && float32_is_quiet_nan(T)) { T = S; } else if (!float32_is_any_nan(T) && float32_is_quiet_nan(S)) { S = T; } as = float32_abs(S); at = float32_abs(T); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xs = float32_min(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xs = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xt = float32_max(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xt = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xd = float32_min(as, at, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xd = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); pwx->w[i] = (as == at || xd == float32_abs(xs)) ? xs : xt; } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { uint64_t S = pws->d[i], T = pwt->d[i]; uint64_t as, at, xs, xt, xd; if (!float64_is_any_nan(S) && float64_is_quiet_nan(T)) { T = S; } else if (!float64_is_any_nan(T) && float64_is_quiet_nan(S)) { S = T; } as = float64_abs(S); at = float64_abs(T); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xs = float64_min(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xs = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xt = float64_max(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xt = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xd = float64_min(as, at, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xd = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); pwx->d[i] = (as == at || xd == float64_abs(xs)) ? xs : xt; } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2820, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fmax_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { if (!float32_is_any_nan(pws->w[i]) && float32_is_quiet_nan(pwt->w[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_max(pws->w[i], pws->w[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } else if (!float32_is_any_nan(pwt->w[i]) && float32_is_quiet_nan(pws->w[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_max(pwt->w[i], pwt->w[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } else { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_max(pws->w[i], pwt->w[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { if (!float64_is_any_nan(pws->d[i]) && float64_is_quiet_nan(pwt->d[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_max(pws->d[i], pws->d[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } else if (!float64_is_any_nan(pwt->d[i]) && float64_is_quiet_nan(pws->d[i])) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_max(pwt->d[i], pwt->d[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } else { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_max(pws->d[i], pwt->d[i], status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2863, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fmax_a_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws, uint32_t wt) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); wr_t *pwt = &(env->active_fpu.fpr[wt].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { uint32_t S = pws->w[i], T = pwt->w[i]; uint32_t as, at, xs, xt, xd; if (!float32_is_any_nan(S) && float32_is_quiet_nan(T)) { T = S; } else if (!float32_is_any_nan(T) && float32_is_quiet_nan(S)) { S = T; } as = float32_abs(S); at = float32_abs(T); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xs = float32_max(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xs = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xt = float32_min(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xt = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xd = float32_max(as, at, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xd = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); pwx->w[i] = (as == at || xd == float32_abs(xs)) ? xs : xt; } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { uint64_t S = pws->d[i], T = pwt->d[i]; uint64_t as, at, xs, xt, xd; if (!float64_is_any_nan(S) && float64_is_quiet_nan(T)) { T = S; } else if (!float64_is_any_nan(T) && float64_is_quiet_nan(S)) { S = T; } as = float64_abs(S); at = float64_abs(T); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xs = float64_max(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xs = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xt = float64_min(S, T, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xt = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); xd = float64_max(as, at, status); c = update_msacsr(env, 0, 0); if (get_enabled_exceptions(env, c)) { xd = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); pwx->d[i] = (as == at || xd == float64_abs(xs)) ? xs : xt; } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2894, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fclass_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); if (df == DF_WORD) { pwd->w[0] = helper_float_class_s(pws->w[0]); pwd->w[1] = helper_float_class_s(pws->w[1]); pwd->w[2] = helper_float_class_s(pws->w[2]); pwd->w[3] = helper_float_class_s(pws->w[3]); } else { pwd->d[0] = helper_float_class_d(pws->d[0]); pwd->d[1] = helper_float_class_d(pws->d[1]); } } # 2934 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_ftrunc_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_to_int32_round_to_zero(pws->w[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } else if (float32_is_any_nan(pws->w[i])) { pwx->w[i] = 0; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_to_int64_round_to_zero(pws->d[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } else if (float64_is_any_nan(pws->d[i])) { pwx->d[i] = 0; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2956, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_ftrunc_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_to_uint32_round_to_zero(pws->w[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } else if (float32_is_any_nan(pws->w[i])) { pwx->w[i] = 0; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_to_uint64_round_to_zero(pws->d[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } else if (float64_is_any_nan(pws->d[i])) { pwx->d[i] = 0; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 2986, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fsqrt_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_sqrt(pws->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_sqrt(pws->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3016, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } # 3041 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_frsqrt_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_div # 3054 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" ( (0x3f8 << 20), float32_sqrt(pws->w[i], &env->active_tc.msa_fp_status), status); c = update_msacsr(env, float32_is_infinity(float32_sqrt(pws->w[i], &env->active_tc.msa_fp_status)) || float32_is_quiet_nan(pwx->w[i]) ? 0 : 4, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_div # 3060 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" ( (0x3ffULL << 52), float64_sqrt(pws->d[i], &env->active_tc.msa_fp_status), status); c = update_msacsr(env, float64_is_infinity(float64_sqrt(pws->d[i], &env->active_tc.msa_fp_status)) || float64_is_quiet_nan(pwx->d[i]) ? 0 : 4, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3065, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_frcp_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_div((0x3f8 << 20), pws->w[i], status); c = update_msacsr(env, float32_is_infinity(pws->w[i]) || float32_is_quiet_nan(pwx->w[i]) ? 0 : 4, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_div((0x3ffULL << 52), pws->d[i], status); c = update_msacsr(env, float64_is_infinity(pws->d[i]) || float64_is_quiet_nan(pwx->d[i]) ? 0 : 4, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3095, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_frint_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_round_to_int(pws->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_round_to_int(pws->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3125, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } # 3157 "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c" void helper_msa_flog2_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); set_float_rounding_mode(float_round_down, status); pwx->w[i] = float32_log2(pws->w[i], status); pwx->w[i] = float32_round_to_int(pwx->w[i], status); set_float_rounding_mode(ieee_rm[(env->active_tc.msacsr & (0x3 << 0)) >> 0], status); set_float_exception_flags(get_float_exception_flags(status) & (~float_flag_inexact), status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); set_float_rounding_mode(float_round_down, status); pwx->d[i] = float64_log2(pws->d[i], status); pwx->d[i] = float64_round_to_int(pwx->d[i], status); set_float_rounding_mode(ieee_rm[(env->active_tc.msacsr & (0x3 << 0)) >> 0], status); set_float_exception_flags(get_float_exception_flags(status) & (~float_flag_inexact), status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3179, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fexupl_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { flag ieee = 1; do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_from_float16((pws->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]), ieee, status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_from_float32((pws->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]), status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3212, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_fexupr_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { flag ieee = 1; do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_from_float16((pws->h[i]), ieee, status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_from_float32((pws->w[i]), status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3244, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_ffql_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_from_q16((pws->h[i + ((128) / (1 << ((DF_HALF) + 3)))/2]), status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_from_q32((pws->w[i + ((128) / (1 << ((DF_WORD) + 3)))/2]), status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3271, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_ffqr_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_from_q16((pws->h[i]), status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_from_q32((pws->w[i]), status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3297, __PRETTY_FUNCTION__)); } msa_move_v(pwd, pwx); } void helper_msa_ftint_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_to_int32(pws->w[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } else if (float32_is_any_nan(pws->w[i])) { pwx->w[i] = 0; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_to_int64(pws->d[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } else if (float64_is_any_nan(pws->d[i])) { pwx->d[i] = 0; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3325, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_ftint_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = float32_to_uint32(pws->w[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } else if (float32_is_any_nan(pws->w[i])) { pwx->w[i] = 0; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = float64_to_uint64(pws->d[i], status); c = update_msacsr(env, 1, 0); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } else if (float64_is_any_nan(pws->d[i])) { pwx->d[i] = 0; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3355, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_ffint_s_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = int32_to_float32(pws->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = int64_to_float64(pws->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3391, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); } void helper_msa_ffint_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, uint32_t ws) { wr_t wx, *pwx = &wx; wr_t *pwd = &(env->active_fpu.fpr[wd].wr); wr_t *pws = &(env->active_fpu.fpr[ws].wr); uint32_t i; clear_msacsr_cause(env); switch (df) { case DF_WORD: for (i = 0; i < ((128) / (1 << ((DF_WORD) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->w[i] = uint32_to_float32(pws->w[i], status); c = update_msacsr(env, 0, (!float32_is_zero(pwx->w[i]) && float32_is_zero_or_denormal(pwx->w[i]))); if (get_enabled_exceptions(env, c)) { pwx->w[i] = (((float32_default_nan ^ 0x00400020) >> 6) << 6) | c; } } while (0); } break; case DF_DOUBLE: for (i = 0; i < ((128) / (1 << ((DF_DOUBLE) + 3))); i++) { do { float_status *status = &env->active_tc.msa_fp_status; int c; set_float_exception_flags(0, status); pwx->d[i] = uint64_to_float64(pws->d[i], status); c = update_msacsr(env, 0, (!float64_is_zero(pwx->d[i]) && float64_is_zero_or_denormal(pwx->d[i]))); if (get_enabled_exceptions(env, c)) { pwx->d[i] = (((float64_default_nan ^ 0x0008000000000020ULL) >> 6) << 6) | c; } } while (0); } break; default: ((0) ? (void) (0) : __assert_fail ("0", "/home/pi/Загрузки/qemu-2.3.1/target-mips/msa_helper.c", 3421, __PRETTY_FUNCTION__)); } check_msacsr_cause(env); msa_move_v(pwd, pwx); }