Lines Matching +full:m68k +full:- +full:linux +full:- +full:user
52 * The following is for compatibility across the various Linux
118 #define TARGET_IOC_NRMASK ((1 << TARGET_IOC_NRBITS)-1)
119 #define TARGET_IOC_TYPEMASK ((1 << TARGET_IOC_TYPEBITS)-1)
120 #define TARGET_IOC_SIZEMASK ((1 << TARGET_IOC_SIZEBITS)-1)
121 #define TARGET_IOC_DIRMASK ((1 << TARGET_IOC_DIRBITS)-1)
180 uint8_t __pad[sizeof(struct target_sockaddr) -
181 sizeof(abi_ushort) - sizeof(abi_short) -
283 abi_long constant; /* PLL (phase-locked loop) time constant */
313 abi_llong constant; /* PLL (phase-locked loop) time constant */
381 #define TARGET_CMSG_ALIGN(len) (((len) + sizeof (abi_long) - 1) \
382 & (size_t) ~(sizeof (abi_long) - 1))
395 + TARGET_CMSG_ALIGN (tswapal(__cmsg->cmsg_len))); in __target_cmsg_nxthdr()
396 if ((unsigned long)((char *)(__ptr+1) - (char *)__cmsg_start) in __target_cmsg_nxthdr()
397 > tswapal(__mhdr->msg_controllen)) { in __target_cmsg_nxthdr()
410 struct target_timeval ru_utime; /* user time used */
451 #define TARGET_SIG_ERR ((abi_long)-1) /* error return from signal */
470 d->sig[i] = tswapal(s->sig[i]); in tswap_sigset()
482 d->sig[0] = set; in target_siginitset()
484 d->sig[i] = 0; in target_siginitset()
559 #define TARGET_SI_PAD_SIZE ((TARGET_SI_MAX_SIZE - TARGET_SI_PREAMBLE_SIZE) / sizeof(int))
565 * which we get from the guest userspace program. (The Linux kernel
633 * Digital reserves positive values for kernel-generated signals.
637 #define TARGET_SI_QUEUE -1 /* sent by sigqueue */
638 #define TARGET_SI_TIMER -2 /* sent by timer expiration */
639 #define TARGET_SI_MESGQ -3 /* sent by real time mesq state change */
640 #define TARGET_SI_ASYNCIO -4 /* sent by AIO completion */
641 #define TARGET_SI_SIGIO -5 /* sent by queued SIGIO */
680 #define TARGET_BUS_ADRERR (2) /* non-existent physical address */
848 /* From <linux/wireless.h> */
852 /* From <linux/if_tun.h> */
867 * TUNATTACHFILTER and TUNDETACHFILTER are not supported. Linux kernel keeps a
868 * user pointer in TUNATTACHFILTER, which we are not able to correctly handle.
884 /* From <linux/random.h> */
892 /* From <linux/fs.h> */
894 #define TARGET_BLKROSET TARGET_IO(0x12,93) /* set device read-only (0 = read-write) */
895 #define TARGET_BLKROGET TARGET_IO(0x12,94) /* get read-only status (0 = read_write) */
896 #define TARGET_BLKRRPART TARGET_IO(0x12,95) /* re-read partition table */
901 #define TARGET_BLKFRASET TARGET_IO(0x12,100)/* set filesystem (mm/filemap.c) read-ahead */
902 #define TARGET_BLKFRAGET TARGET_IO(0x12,101)/* get filesystem (mm/filemap.c) read-ahead */
907 /* A jump here: 108-111 have been used for various private purposes. */
924 /* From <linux/fd.h> */
1053 #define TARGET_CDROMEJECT_SW 0x530f /* enable(1)/disable(0) auto-ejecting */
1054 #define TARGET_CDROMMULTISESSION 0x5310 /* Obtain the start-of-last-session
1061 #define TARGET_CDROMRESET 0x5312 /* hard-reset the drive */
1073 * This ioctl is only used by the scsi-cd driver.
1084 * These ioctls are (now) only in ide-cd.c for controlling
1088 * -Erik
1094 * These ioctls are implemented through the uniform CD-ROM driver
1095 * They _will_ be adopted by all CD-ROM drivers, when all the CD-ROM
1096 * drivers are eventually ported to the uniform CD-ROM driver interface.
1101 #define TARGET_CDROM_SELECT_SPEED 0x5322 /* Set the CD-ROM speed */
1102 #define TARGET_CDROM_SELECT_DISC 0x5323 /* Select disc (for juke-boxes) */
1111 /* Note that scsi/scsi_ioctl.h also uses 0x5382 - 0x5386.
1119 /* DVD-ROM Specific ioctls */
1130 /* hd/ide ctl's that pass (arg) ptrs to user space are numbered 0x030n/0x031n */
1134 #define TARGET_HDIO_GET_KEEPSETTINGS 0x0308 /* get keep-settings-on-reset flag */
1136 #define TARGET_HDIO_GET_NOWERR 0x030a /* get ignore-write-error flag */
1137 #define TARGET_HDIO_GET_DMA 0x030b /* get use-dma flag */
1141 /* hd/ide ctl's that pass (arg) non-ptr values are numbered 0x032n/0x033n */
1146 #define TARGET_HDIO_SET_NOWERR 0x0325 /* change ignore-write-error flag */
1147 #define TARGET_HDIO_SET_DMA 0x0326 /* change use-dma flag */
1285 abi_ulong st_blocks; /* Number 512-byte blocks allocated. */
1491 abi_llong st_blocks; /* Number 512-byte blocks allocated. */
1527 /* FIXME: Microblaze no-mmu user-space has a difference stat64 layout... */
1605 abi_ulong st_blocks; /* Number 512-byte blocks allocated. */
1622 /* The memory layout is the same as of struct stat64 of the 32-bit kernel. */
1642 * but we don't have it under Linux.
1701 * but we don't have it under Linux.
1717 * struct stat of the 64-bit kernel.
1740 * but we don't have it under Linux.
1848 abi_ullong st_blocks; /* Number 512-byte blocks allocated. */
1876 abi_long st_blocks; /* Number 512-byte blocks allocated. */
1960 abi_uint st_uid; /* User ID of the file's owner. */
1966 abi_ullong st_blocks; /* Number 512-byte blocks allocated. */
1980 /* These are the asm-generic versions of the stat and stat64 structures */
2101 abi_int f_frsize; /* Fragment size - unsupported */
2108 /* Linux specials */
2118 abi_long f_frsize; /* Fragment size - unsupported */
2125 /* Linux specials */
2136 abi_uint f_frsize; /* Fragment size - unsupported */
2527 abi_ushort pad; /* explicit padding for m68k */
2531 char _f[20-2*sizeof(abi_long)-sizeof(int)]; /* Padding: libc5 uses this.. */
2635 /* This is architecture-specific but most architectures use the default */
2644 - TARGET_SIGEV_PREAMBLE_SIZE) \
2677 /* from kernel's include/linux/syslog.h */
2715 abi_uint stx_uid; /* User ID of owner */
2722 abi_ullong stx_blocks; /* Number of 512-byte blocks allocated */
2739 /* from kernel's include/linux/sched/types.h */
2757 /* from kernel's include/uapi/linux/openat2.h */