ioctl: take all 32 bits of ioctl commands into account
Historically, only 16 bits (8-bit number and 8-bit type) of 32-bit ioctl commands were used for decoding, which was the source for numerous annoying collisions like this: ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, MGSL_IOCGPARAMS or MMTIMER_GETRES or MTIOCTOP or SNDCTL_MIDI_MPUMODE, 0x7fffd47f7338) = -1 ENOTTY (Inappropriate ioctl for device) The solution is to use all 32 bits for decoding, not just "number" and "type", but also "size" and "direction". As some architectures override defaults that come from asm-generic/ and provide alternative definitions for some ioctl commands, we support per-architecture ioctl definitions and merge them with common definitions at build time. During the merge, we used to keep both generic and architecture-specific definitions, now architecture-specific definitions have precedence over generic ones -- ioctlsort omits definitions from asm-generic/ for those ioctl names that have different definitions in asm/. Additional bits of "direction" are architecture specific -- the number of bits and their values differ between architectures. To reduce architecture differences in the source code, we keep "direction" in symbolic form and compile it in ioctlsort. Additional bits of "size" are also architecture specific -- not only the number of bits differ between architectures, but sizes of many types depend on sizeof(long). To reduce architecture differences in the source code, we keep 32-bit and 64-bit versions of common ioctl definitions, and use the appropriate version for each architecture and personality. To implement this, the tools for generating ioctl definitions from kernel headers have been rewritten, and the source format of ioctl definitions has been extended. The final ioctlent*.h files that are included by syscall.c are now generated from source ioctls_inc*.h and ioctls_arch*.h files at build time with ioctlsort. * ioctl.c (ioctl_lookup): Use all 32 bits of ioctl command code. * ioctlsort.c: Rewritten. * linux/32/ioctls_inc.h: New file. * linux/64/ioctls_inc.h: New file. * linux/aarch64/ioctls_arch0.h: New file. * linux/aarch64/ioctls_arch1.h: New file. * linux/aarch64/ioctls_inc0.h: New file. * linux/aarch64/ioctls_inc1.h: New file. * linux/alpha/ioctls_arch0.h: New file. * linux/alpha/ioctls_inc0.h: New file. * linux/arc/ioctls_arch0.h: New file. * linux/arc/ioctls_inc0.h: New file. * linux/arm/ioctls_arch0.h: New file. * linux/arm/ioctls_inc0.h: New file. * linux/avr32/ioctls_arch0.h: New file. * linux/avr32/ioctls_inc0.h: New file. * linux/bfin/ioctls_arch0.h: New file. * linux/bfin/ioctls_inc0.h: New file. * linux/hppa/ioctls_arch0.h: New file. * linux/hppa/ioctls_inc0.h: New file. * linux/i386/ioctls_arch0.h: New file. * linux/i386/ioctls_inc0.h: New file. * linux/ia64/ioctls_arch0.h: New file. * linux/ia64/ioctls_inc0.h: New file. * linux/m68k/ioctls_arch0.h: New file. * linux/m68k/ioctls_inc0.h: New file. * linux/metag/ioctls_arch0.h: New file. * linux/metag/ioctls_inc0.h: New file. * linux/microblaze/ioctls_arch0.h: New file. * linux/microblaze/ioctls_inc0.h: New file. * linux/mips/ioctls_arch0.h: New file. * linux/mips/ioctls_inc0.h: New file. * linux/or1k/ioctls_arch0.h: New file. * linux/or1k/ioctls_inc0.h: New file. * linux/powerpc/ioctls_arch0.h: New file. * linux/powerpc/ioctls_inc0.h: New file. * linux/powerpc64/ioctls_arch0.h: New file. * linux/powerpc64/ioctls_arch1.h: New file. * linux/powerpc64/ioctls_inc0.h: New file. * linux/powerpc64/ioctls_inc1.h: New file. * linux/s390/ioctls_arch0.h: New file. * linux/s390/ioctls_inc0.h: New file. * linux/s390x/ioctls_arch0.h: New file. * linux/s390x/ioctls_inc0.h: New file. * linux/sh/ioctls_arch0.h: New file. * linux/sh/ioctls_inc0.h: New file. * linux/sh64/ioctls_arch0.h: New file. * linux/sh64/ioctls_inc0.h: New file. * linux/sparc/ioctls_arch0.h: New file. * linux/sparc/ioctls_inc0.h: New file. * linux/sparc64/ioctls_arch0.h: New file. * linux/sparc64/ioctls_arch2.h: New file. * linux/sparc64/ioctls_inc0.h: New file. * linux/sparc64/ioctls_inc2.h: New file. * linux/tile/ioctls_arch0.h: New file. * linux/tile/ioctls_arch1.h: New file. * linux/tile/ioctls_inc0.h: New file. * linux/tile/ioctls_inc1.h: New file. * linux/x32/ioctls_arch0.h: New file. * linux/x32/ioctls_arch1.h: New file. * linux/x32/ioctls_inc0.h: New file. * linux/x32/ioctls_inc1.h: New file. * linux/x86_64/ioctls_arch0.h: New file. * linux/x86_64/ioctls_arch1.h: New file. * linux/x86_64/ioctls_inc0.h: New file. * linux/x86_64/ioctls_inc1.h: New file. * linux/xtensa/ioctls_arch0.h: New file. * linux/xtensa/ioctls_inc0.h: New file. * linux/aarch64/ioctlent.h.in: Remove. * linux/aarch64/ioctlent1.h: Remove. * linux/alpha/ioctlent.h.in: Remove. * linux/arc/ioctlent.h.in: Remove. * linux/arm/ioctlent.h.in: Remove. * linux/avr32/ioctlent.h.in: Remove. * linux/bfin/ioctlent.h.in: Remove. * linux/hppa/ioctlent.h.in: Remove. * linux/i386/ioctlent.h.in: Remove. * linux/ia64/ioctlent.h.in: Remove. * linux/ioctlent.h.in: Remove. * linux/ioctlent.sh: Remove. * linux/m68k/ioctlent.h.in: Remove. * linux/metag/ioctlent.h.in: Remove. * linux/microblaze/ioctlent.h.in: Remove. * linux/mips/ioctlent.h.in: Remove. * linux/mips/ioctlent.sh: Remove. * linux/or1k/ioctlent.h.in: Remove. * linux/powerpc/ioctlent.h.in: Remove. * linux/powerpc64/ioctlent.h: Remove. * linux/powerpc64/ioctlent1.h: Remove. * linux/s390/ioctlent.h.in: Remove. * linux/s390x/ioctlent.h.in: Remove. * linux/sh/ioctlent.h.in: Remove. * linux/sh64/ioctlent.h.in: Remove. * linux/sparc/ioctlent.h.in: Remove. * linux/sparc64/ioctlent.h.in: Remove. * linux/sparc64/ioctlent2.h: Remove. * linux/tile/ioctlent.h.in: Remove. * linux/tile/ioctlent1.h: Remove. * linux/x32/ioctlent.h.in: Remove. * linux/x32/ioctlent1.h: Remove. * linux/x86_64/ioctlent.h.in: Remove. * linux/x86_64/ioctlent1.h: Remove. * linux/xtensa/ioctlent.h.in: Remove. * linux/x86_64/ioctlent2.h: Include ioctlent0.h instead of ioctlent.h. * syscall.c (struct_ioctlent ioctlent0): Likewise. * Makefile.am: Remove all ioctlent-related definitions. Define the list of ioctlent*.h files that have to be generated by presence of $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h files. Add rules for ioctlent*.h files generation. (EXTRA_DIST): Update. * maint/ioctls_gen.sh: New file. * maint/ioctls_hex.sh: New file. * maint/ioctls_sym.sh: New file. * maint/print_ioctlent.c: New file. * HACKING-scripts: Update for ioctlent.sh -> ioctls_gen.sh migration. * .gitignore: Add ioctlent[012].h and ioctls_all[012].h. * configure.ac (AC_CHECK_HEADERS): Add linux/hiddev.h and linux/mmtimer.h for tests. * tests/ioctl.c: New file. * tests/ioctl.test: New test. * tests/Makefile.am (check_PROGRAMS): Add ioctl. (TESTS): Add ioctl.test. * tests/.gitignore: Add ioctl.
This commit is contained in:
parent
6f9a01c721
commit
df7aa2b19e
3
.gitignore
vendored
3
.gitignore
vendored
@ -35,6 +35,7 @@ Makefile.in
|
||||
/strace
|
||||
/test-driver
|
||||
|
||||
/linux/ioctlent.h
|
||||
/ioctlent[012].h
|
||||
/ioctls_all[012].h
|
||||
|
||||
/strace-*.tar.xz
|
||||
|
@ -14,7 +14,7 @@ architecture to be specific). Hopefully, it'll be obvious how to swap out a
|
||||
different system or architecture as your circumstances apply.
|
||||
|
||||
ksrc=/usr/src/linux
|
||||
asrc=$ksrc/arch/blackfin/include/asm
|
||||
asrc=$ksrc/arch/blackfin/include
|
||||
|
||||
To use the errnoent.sh script, give it all the headers that might contain
|
||||
appropriate errno values. Excessive headers are not a problem. The resulting
|
||||
@ -22,30 +22,30 @@ output should be directly usable without modification.
|
||||
sh ./errnoent.sh \
|
||||
$ksrc/include/linux/*errno*.h \
|
||||
$ksrc/include/asm-generic/*errno*.h \
|
||||
$asrc/*errno*.h \
|
||||
$asrc/asm/*errno*.h \
|
||||
> errnoent.h
|
||||
|
||||
To use the ioctlent.sh script, give it all the base include directories. The
|
||||
To use the ioctls_gen.sh script, give it all the base include directories. The
|
||||
script will crawl all the headers and try to discover appropriate ioctls.
|
||||
Unlike the other scripts, this one creates files for further processing. This
|
||||
is because ioctls tend to have a lot of define indirection, and the ioctlent.h
|
||||
is because ioctls tend to have a lot of define indirection, and the ioctlent0.h
|
||||
header needs to be fully expanded into numeric form and sorted properly. So
|
||||
first we process all of the ioctls with the ioctlent.sh into ioctldefs.h and
|
||||
ioctls.h, and then we compile them into ioctlsort.c. The resulting output,
|
||||
while directly usable, only contains definitions that match exactly the current
|
||||
kernel version that the script ran against. That means older/newer ioctl
|
||||
defines that might be present in the existing ioctlent.h header will be lost if
|
||||
things are copied directly. A little creative use of `diff` and manual merging
|
||||
should be used to produce the final ioctlent.h header.
|
||||
sh ./linux/ioctlent.sh $ksrc/include $asrc
|
||||
gcc -Wall -I. linux/ioctlsort.c -o ioctlsort
|
||||
./ioctlsort > ioctlent.h
|
||||
first we process all of the ioctls with the ioctls_gen.sh into ioctls_inc.h and
|
||||
ioctls_arch.h, and then we compile them into ioctlsort.c. The resulting
|
||||
output, while directly usable, only contains definitions that match exactly the
|
||||
current kernel version that the script ran against. That means older/newer
|
||||
ioctl defines that might be present in the existing ioctlent0.h header will be
|
||||
lost if things are copied directly. A little creative use of `diff` and manual
|
||||
merging should be used to produce the final ioctlent0.h header.
|
||||
sh ./maint/ioctls_gen.sh $ksrc/include $asrc
|
||||
gcc -Wall -I. ioctlsort.c -o ioctlsort
|
||||
./ioctlsort > ioctlent0.h
|
||||
|
||||
To use the signalent.sh script, give it all the headers that might contain
|
||||
appropriate signal values. Excessive headers are not a problem. The resulting
|
||||
output should be directly usable without modification.
|
||||
sh ./signalent.sh \
|
||||
$asrc/signal.h \
|
||||
$asrc/asm/signal.h \
|
||||
> signalent.h
|
||||
|
||||
To use the syscallent.sh script, give it the header with the list of your
|
||||
@ -54,5 +54,5 @@ a proper header as it can really only detect the system call number and its
|
||||
name. It has no way of knowing the number of arguments or strace flags for
|
||||
decoding them (yet?).
|
||||
sh ./syscallent.sh \
|
||||
$asrc/unistd.h \
|
||||
$asrc/asm/unistd.h \
|
||||
> syscallent.h
|
||||
|
159
Makefile.am
159
Makefile.am
@ -147,28 +147,37 @@ EXTRA_DIST = \
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/syscallent.h \
|
||||
linux/64/ioctls_inc.h \
|
||||
linux/64/syscallent.h \
|
||||
linux/aarch64/errnoent1.h \
|
||||
linux/aarch64/ioctlent.h.in \
|
||||
linux/aarch64/ioctlent1.h \
|
||||
linux/aarch64/ioctls_arch0.h \
|
||||
linux/aarch64/ioctls_arch1.h \
|
||||
linux/aarch64/ioctls_inc0.h \
|
||||
linux/aarch64/ioctls_inc1.h \
|
||||
linux/aarch64/signalent1.h \
|
||||
linux/aarch64/syscallent.h \
|
||||
linux/aarch64/syscallent1.h \
|
||||
linux/alpha/errnoent.h \
|
||||
linux/alpha/ioctlent.h.in \
|
||||
linux/alpha/ioctls_arch0.h \
|
||||
linux/alpha/ioctls_inc0.h \
|
||||
linux/alpha/signalent.h \
|
||||
linux/alpha/syscallent.h \
|
||||
linux/alpha/userent.h \
|
||||
linux/arc/ioctlent.h.in \
|
||||
linux/arc/ioctls_arch0.h \
|
||||
linux/arc/ioctls_inc0.h \
|
||||
linux/arc/syscallent.h \
|
||||
linux/arm/ioctlent.h.in \
|
||||
linux/arm/ioctls_arch0.h \
|
||||
linux/arm/ioctls_inc0.h \
|
||||
linux/arm/syscallent.h \
|
||||
linux/arm/userent.h \
|
||||
linux/avr32/ioctlent.h.in \
|
||||
linux/avr32/ioctls_arch0.h \
|
||||
linux/avr32/ioctls_inc0.h \
|
||||
linux/avr32/syscallent.h \
|
||||
linux/avr32/userent.h \
|
||||
linux/bfin/ioctlent.h.in \
|
||||
linux/bfin/ioctls_arch0.h \
|
||||
linux/bfin/ioctls_inc0.h \
|
||||
linux/bfin/syscallent.h \
|
||||
linux/bfin/userent.h \
|
||||
linux/crisv10/userent.h \
|
||||
@ -177,35 +186,39 @@ EXTRA_DIST = \
|
||||
linux/errnoent.h \
|
||||
linux/fanotify.h \
|
||||
linux/hppa/errnoent.h \
|
||||
linux/hppa/ioctlent.h.in \
|
||||
linux/hppa/ioctls_arch0.h \
|
||||
linux/hppa/ioctls_inc0.h \
|
||||
linux/hppa/signalent.h \
|
||||
linux/hppa/syscallent.h \
|
||||
linux/i386/ioctlent.h.in \
|
||||
linux/i386/ioctls_arch0.h \
|
||||
linux/i386/ioctls_inc0.h \
|
||||
linux/i386/syscallent.h \
|
||||
linux/i386/userent.h \
|
||||
linux/i386/userent0.h \
|
||||
linux/ia64/ioctlent.h.in \
|
||||
linux/ia64/ioctls_arch0.h \
|
||||
linux/ia64/ioctls_inc0.h \
|
||||
linux/ia64/signalent.h \
|
||||
linux/ia64/syscallent.h \
|
||||
linux/ia64/userent.h \
|
||||
linux/inet_diag.h \
|
||||
linux/inotify.h \
|
||||
linux/ioctlent.h.in \
|
||||
linux/ioctlent.sh \
|
||||
linux/kexec.h \
|
||||
linux/keyctl.h \
|
||||
linux/m68k/ioctlent.h.in \
|
||||
linux/m68k/ioctls_arch0.h \
|
||||
linux/m68k/ioctls_inc0.h \
|
||||
linux/m68k/syscallent.h \
|
||||
linux/m68k/userent.h \
|
||||
linux/metag/ioctlent.h.in \
|
||||
linux/metag/ioctls_arch0.h \
|
||||
linux/metag/ioctls_inc0.h \
|
||||
linux/metag/syscallent.h \
|
||||
linux/microblaze/ioctlent.h.in \
|
||||
linux/microblaze/ioctls_arch0.h \
|
||||
linux/microblaze/ioctls_inc0.h \
|
||||
linux/microblaze/syscallent.h \
|
||||
linux/microblaze/userent.h \
|
||||
linux/mips/errnoent.h \
|
||||
linux/mips/genstub.sh \
|
||||
linux/mips/ioctlent.h.in \
|
||||
linux/mips/ioctlent.sh \
|
||||
linux/mips/ioctls_arch0.h \
|
||||
linux/mips/ioctls_inc0.h \
|
||||
linux/mips/signalent.h \
|
||||
linux/mips/syscallent-compat.h \
|
||||
linux/mips/syscallent-n32.h \
|
||||
@ -214,35 +227,43 @@ EXTRA_DIST = \
|
||||
linux/mips/syscallent.h \
|
||||
linux/mips/userent.h \
|
||||
linux/mtd-abi.h \
|
||||
linux/or1k/ioctlent.h.in \
|
||||
linux/or1k/ioctls_arch0.h \
|
||||
linux/or1k/ioctls_inc0.h \
|
||||
linux/or1k/syscallent.h \
|
||||
linux/or1k/userent.h \
|
||||
linux/personality.h \
|
||||
linux/powerpc/ioctlent.h.in \
|
||||
linux/powerpc/ioctls_arch0.h \
|
||||
linux/powerpc/ioctls_inc0.h \
|
||||
linux/powerpc/syscallent.h \
|
||||
linux/powerpc/userent.h \
|
||||
linux/powerpc64/errnoent1.h \
|
||||
linux/powerpc64/ioctlent.h \
|
||||
linux/powerpc64/ioctlent1.h \
|
||||
linux/powerpc64/ioctls_arch0.h \
|
||||
linux/powerpc64/ioctls_arch1.h \
|
||||
linux/powerpc64/ioctls_inc0.h \
|
||||
linux/powerpc64/ioctls_inc1.h \
|
||||
linux/powerpc64/signalent1.h \
|
||||
linux/powerpc64/syscallent.h \
|
||||
linux/powerpc64/syscallent1.h \
|
||||
linux/powerpc64/userent.h \
|
||||
linux/ptp_clock.h \
|
||||
linux/reboot.h \
|
||||
linux/s390/ioctlent.h.in \
|
||||
linux/s390/ioctls_arch0.h \
|
||||
linux/s390/ioctls_inc0.h \
|
||||
linux/s390/syscallent.h \
|
||||
linux/s390/userent.h \
|
||||
linux/s390/userent0.h \
|
||||
linux/s390/userent1.h \
|
||||
linux/s390x/ioctlent.h.in \
|
||||
linux/s390x/ioctls_arch0.h \
|
||||
linux/s390x/ioctls_inc0.h \
|
||||
linux/s390x/syscallent.h \
|
||||
linux/s390x/userent.h \
|
||||
linux/sh/ioctlent.h.in \
|
||||
linux/sh/ioctls_arch0.h \
|
||||
linux/sh/ioctls_inc0.h \
|
||||
linux/sh/syscallent.h \
|
||||
linux/sh/userent.h \
|
||||
linux/sh/userent0.h \
|
||||
linux/sh64/ioctlent.h.in \
|
||||
linux/sh64/ioctls_arch0.h \
|
||||
linux/sh64/ioctls_inc0.h \
|
||||
linux/sh64/syscallent.h \
|
||||
linux/sh64/userent.h \
|
||||
linux/signalent.h \
|
||||
@ -251,8 +272,9 @@ EXTRA_DIST = \
|
||||
linux/sparc/errnoent.h \
|
||||
linux/sparc/errnoent1.h \
|
||||
linux/sparc/gen.pl \
|
||||
linux/sparc/ioctlent.h.in \
|
||||
linux/sparc/ioctlent1.h \
|
||||
linux/sparc/ioctls_arch0.h \
|
||||
linux/sparc/ioctls_inc0.h \
|
||||
linux/sparc/signalent.h \
|
||||
linux/sparc/signalent1.h \
|
||||
linux/sparc/syscall1.h \
|
||||
@ -263,9 +285,11 @@ EXTRA_DIST = \
|
||||
linux/sparc64/errnoent.h \
|
||||
linux/sparc64/errnoent1.h \
|
||||
linux/sparc64/errnoent2.h \
|
||||
linux/sparc64/ioctlent.h.in \
|
||||
linux/sparc64/ioctlent1.h \
|
||||
linux/sparc64/ioctlent2.h \
|
||||
linux/sparc64/ioctls_arch0.h \
|
||||
linux/sparc64/ioctls_arch2.h \
|
||||
linux/sparc64/ioctls_inc0.h \
|
||||
linux/sparc64/ioctls_inc2.h \
|
||||
linux/sparc64/signalent.h \
|
||||
linux/sparc64/signalent1.h \
|
||||
linux/sparc64/signalent2.h \
|
||||
@ -277,8 +301,10 @@ EXTRA_DIST = \
|
||||
linux/subcall.h \
|
||||
linux/syscall.h \
|
||||
linux/tile/errnoent1.h \
|
||||
linux/tile/ioctlent.h.in \
|
||||
linux/tile/ioctlent1.h \
|
||||
linux/tile/ioctls_arch0.h \
|
||||
linux/tile/ioctls_arch1.h \
|
||||
linux/tile/ioctls_inc0.h \
|
||||
linux/tile/ioctls_inc1.h \
|
||||
linux/tile/signalent1.h \
|
||||
linux/tile/syscallent.h \
|
||||
linux/tile/syscallent1.h \
|
||||
@ -289,8 +315,10 @@ EXTRA_DIST = \
|
||||
linux/userent0.h \
|
||||
linux/x32/errnoent.h \
|
||||
linux/x32/errnoent1.h \
|
||||
linux/x32/ioctlent.h.in \
|
||||
linux/x32/ioctlent1.h \
|
||||
linux/x32/ioctls_arch0.h \
|
||||
linux/x32/ioctls_arch1.h \
|
||||
linux/x32/ioctls_inc0.h \
|
||||
linux/x32/ioctls_inc1.h \
|
||||
linux/x32/signalent.h \
|
||||
linux/x32/signalent1.h \
|
||||
linux/x32/syscallent.h \
|
||||
@ -299,18 +327,25 @@ EXTRA_DIST = \
|
||||
linux/x86_64/errnoent1.h \
|
||||
linux/x86_64/errnoent2.h \
|
||||
linux/x86_64/gentab.pl \
|
||||
linux/x86_64/ioctlent.h.in \
|
||||
linux/x86_64/ioctlent1.h \
|
||||
linux/x86_64/ioctlent2.h \
|
||||
linux/x86_64/ioctls_arch0.h \
|
||||
linux/x86_64/ioctls_arch1.h \
|
||||
linux/x86_64/ioctls_inc0.h \
|
||||
linux/x86_64/ioctls_inc1.h \
|
||||
linux/x86_64/signalent1.h \
|
||||
linux/x86_64/signalent2.h \
|
||||
linux/x86_64/syscallent.h \
|
||||
linux/x86_64/syscallent1.h \
|
||||
linux/x86_64/syscallent2.h \
|
||||
linux/x86_64/userent.h \
|
||||
linux/xtensa/ioctlent.h.in \
|
||||
linux/xtensa/ioctls_arch0.h \
|
||||
linux/xtensa/ioctls_inc0.h \
|
||||
linux/xtensa/syscallent.h \
|
||||
linux/xtensa/userent.h \
|
||||
maint/ioctls_gen.sh \
|
||||
maint/ioctls_hex.sh \
|
||||
maint/ioctls_sym.sh \
|
||||
maint/print_ioctlent.c \
|
||||
signalent.sh \
|
||||
strace-graph \
|
||||
strace-log-merge \
|
||||
@ -346,16 +381,30 @@ news-check: NEWS
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
ioctlent_h = $(builddir)/$(OS)/ioctlent.h
|
||||
ioctlsort_CC = $(CC)
|
||||
ioctlsort_DEFS = $(DEFS)
|
||||
ioctlsort_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES)
|
||||
ioctlsort_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS)
|
||||
ioctlsort_CFLAGS = $(AM_CFLAGS) $(CFLAGS)
|
||||
ioctlsort_LD = $(CCLD)
|
||||
ioctlsort_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS)
|
||||
|
||||
ioctls_inc_h = $(wildcard $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h)
|
||||
ioctlent_h = $(patsubst $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%,ioctlent%,$(ioctls_inc_h))
|
||||
BUILT_SOURCES += $(ioctlent_h)
|
||||
CLEANFILES = $(ioctlent_h)
|
||||
ioctlent_h_deps = $(srcdir)/$(OS)/ioctlent.h.in $(srcdir)/$(OS)/$(ARCH)/ioctlent.h.in
|
||||
$(ioctlent_h): $(top_builddir)/config.status $(ioctlent_h_deps)
|
||||
$(MKDIR_P) $(builddir)/$(OS)
|
||||
cat $(ioctlent_h_deps) | \
|
||||
$(COMPILE) -E -P - | \
|
||||
sed 's/^\([[:space:]]*{\)"[^"]\+",[[:space:]]*/\1/' | \
|
||||
LC_ALL=C sort -u -k2,2 -k1,1 > $@
|
||||
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
ioctlsort%: ioctlsort%.o
|
||||
$(ioctlsort_LD) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
||||
cat $^ > $@
|
||||
|
||||
if MAINTAINER_MODE
|
||||
|
||||
@ -385,28 +434,4 @@ $(srcdir)/CREDITS: $(srcdir)/CREDITS.in $(srcdir)/.mailmap \
|
||||
|
||||
export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX
|
||||
|
||||
INCLUDEDIR = /usr/include
|
||||
KERNEL_RELEASE = $(shell uname -r)
|
||||
# Candidates for the kernel headers tree.
|
||||
KERNEL_INCLUDE = \
|
||||
/lib/modules/$(KERNEL_RELEASE)/build/include \
|
||||
/usr/src/linux-$(KERNEL_RELEASE)/include \
|
||||
$(INCLUDEDIR)
|
||||
IOCTLDIR = $(shell find $(KERNEL_INCLUDE) -maxdepth 0 -type d -print -quit 2>/dev/null)
|
||||
IOCTLASM = $(INCLUDEDIR)/asm
|
||||
|
||||
noinst_PROGRAMS = ioctlsort
|
||||
ioctlsort_SOURCES = ioctlsort.c
|
||||
nodist_ioctlsort_SOURCES = ioctls.h ioctldefs.h
|
||||
CLEANFILES += $(nodist_ioctlsort_SOURCES)
|
||||
ioctlsort.$(OBJEXT): $(nodist_ioctlsort_SOURCES)
|
||||
ioctls.h: $(srcdir)/linux/ioctlent.sh
|
||||
$(SHELL) $< $(IOCTLDIR) $(IOCTLASM)
|
||||
ioctldefs.h: ioctls.h ;
|
||||
|
||||
ioctlent_h_in = linux/ioctlent.h.in
|
||||
BUILT_SOURCES += $(ioctlent_h_in)
|
||||
$(srcdir)/$(ioctlent_h_in): ioctlsort
|
||||
$(<D)/$(<F) > $@
|
||||
|
||||
endif
|
||||
|
@ -223,7 +223,9 @@ AC_CHECK_HEADERS(m4_normalize([
|
||||
inttypes.h
|
||||
ioctls.h
|
||||
linux/falloc.h
|
||||
linux/hiddev.h
|
||||
linux/input.h
|
||||
linux/mmtimer.h
|
||||
linux/perf_event.h
|
||||
linux/ptrace.h
|
||||
linux/utsname.h
|
||||
|
3
ioctl.c
3
ioctl.c
@ -48,11 +48,10 @@ compare(const void *a, const void *b)
|
||||
}
|
||||
|
||||
const struct_ioctlent *
|
||||
ioctl_lookup(unsigned int code)
|
||||
ioctl_lookup(const unsigned int code)
|
||||
{
|
||||
struct_ioctlent *iop;
|
||||
|
||||
code &= (_IOC_NRMASK<<_IOC_NRSHIFT) | (_IOC_TYPEMASK<<_IOC_TYPESHIFT);
|
||||
iop = bsearch((const void *) (const unsigned long) code, ioctlent,
|
||||
nioctlents, sizeof(ioctlent[0]), compare);
|
||||
while (iop > ioctlent) {
|
||||
|
198
ioctlsort.c
198
ioctlsort.c
@ -1,58 +1,176 @@
|
||||
/*
|
||||
* Copyright (c) 2001 Wichert Akkerman <wichert@cistron.nl>
|
||||
* Copyright (c) 2004-2015 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef MIPS
|
||||
# include <sgidefs.h>
|
||||
# if _MIPS_SIM == _MIPS_SIM_ABI64
|
||||
# define LINUX_MIPSN64
|
||||
# elif _MIPS_SIM == _MIPS_SIM_NABI32
|
||||
# define LINUX_MIPSN32
|
||||
# elif _MIPS_SIM == _MIPS_SIM_ABI32
|
||||
# define LINUX_MIPSO32
|
||||
# else
|
||||
# error Unsupported _MIPS_SIM
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <asm/ioctl.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include "ioctldefs.h"
|
||||
#include <linux/atmioc.h>
|
||||
|
||||
struct ioctlent {
|
||||
const char* header;
|
||||
const char* name;
|
||||
unsigned int code;
|
||||
const char *info;
|
||||
const char *name;
|
||||
unsigned int dir;
|
||||
unsigned int type_nr;
|
||||
unsigned int size;
|
||||
};
|
||||
|
||||
struct ioctlent ioctls[] = {
|
||||
#include "ioctls.h"
|
||||
};
|
||||
|
||||
int nioctls = sizeof(ioctls) / sizeof(ioctls[0]);
|
||||
|
||||
int compare(const void* a, const void* b) {
|
||||
unsigned int code1 = ((struct ioctlent *) a)->code;
|
||||
unsigned int code2 = ((struct ioctlent *) b)->code;
|
||||
const char *name1 = ((struct ioctlent *) a)->name;
|
||||
const char *name2 = ((struct ioctlent *) b)->name;
|
||||
return (code1 > code2) ? 1 : (code1 < code2) ? -1 : strcmp(name1, name2);
|
||||
}
|
||||
|
||||
static int is_not_prefix(const char *s1, const char *s2) {
|
||||
static int
|
||||
is_prefix(const char *s1, const char *s2)
|
||||
{
|
||||
size_t len = strlen(s1);
|
||||
|
||||
if (len > strlen(s2))
|
||||
return 1;
|
||||
return memcmp(s1, s2, len);
|
||||
return 0;
|
||||
return !memcmp(s1, s2, len);
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
int i;
|
||||
static int
|
||||
compare_name_info(const void* a, const void* b)
|
||||
{
|
||||
int rc;
|
||||
|
||||
/* ioctl_lookup() only looks at the NR and TYPE bits atm. */
|
||||
for (i = 0; i < nioctls; i++)
|
||||
ioctls[i].code &= (_IOC_NRMASK << _IOC_NRSHIFT) |
|
||||
(_IOC_TYPEMASK << _IOC_TYPESHIFT);
|
||||
const char *name1 = ((struct ioctlent *) a)->name;
|
||||
const char *name2 = ((struct ioctlent *) b)->name;
|
||||
const char *info1 = ((struct ioctlent *) a)->info;
|
||||
const char *info2 = ((struct ioctlent *) b)->info;
|
||||
|
||||
qsort(ioctls, nioctls, sizeof(ioctls[0]), compare);
|
||||
puts("\t/* Generated by ioctlsort */");
|
||||
for (i = 0; i < nioctls; i++)
|
||||
if (i == 0 || ioctls[i-1].code != ioctls[i].code ||
|
||||
is_not_prefix(ioctls[i-1].name, ioctls[i].name))
|
||||
printf("\t{\"%s\",\t\"%s\",\t%#06x},\n",
|
||||
ioctls[i].header, ioctls[i].name, ioctls[i].code);
|
||||
rc = strcmp(name1, name2);
|
||||
if (rc)
|
||||
return rc;
|
||||
|
||||
/*
|
||||
* exception from lexicographical order:
|
||||
* "asm/" < "asm-generic/"
|
||||
*/
|
||||
if (is_prefix("asm/", info1) &&
|
||||
is_prefix("asm-generic/", info2))
|
||||
return -1;
|
||||
|
||||
if (is_prefix("asm/", info2) &&
|
||||
is_prefix("asm-generic/", info1))
|
||||
return 1;
|
||||
|
||||
return strcmp(info1, info2);
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
code(const struct ioctlent *e)
|
||||
{
|
||||
return e->type_nr |
|
||||
(e->size << _IOC_SIZESHIFT) |
|
||||
(e->dir << _IOC_DIRSHIFT);
|
||||
}
|
||||
|
||||
static int
|
||||
compare_code_name(const void* a, const void* b)
|
||||
{
|
||||
unsigned int code1 = code((struct ioctlent *) a);
|
||||
unsigned int code2 = code((struct ioctlent *) b);
|
||||
const char *name1 = ((struct ioctlent *) a)->name;
|
||||
const char *name2 = ((struct ioctlent *) b)->name;
|
||||
return (code1 > code2) ?
|
||||
1 : (code1 < code2) ? -1 : strcmp(name1, name2);
|
||||
}
|
||||
|
||||
static void
|
||||
ioctlsort(struct ioctlent *ioctls, size_t nioctls)
|
||||
{
|
||||
size_t i;
|
||||
|
||||
qsort(ioctls, nioctls, sizeof(ioctls[0]), compare_name_info);
|
||||
|
||||
for (i = 1; i < nioctls; ++i)
|
||||
if (!strcmp(ioctls[i-1].name, ioctls[i].name)) {
|
||||
/*
|
||||
* If there are multiple definitions for the same
|
||||
* name, keep the first one and mark all the rest
|
||||
* for deletion.
|
||||
*/
|
||||
ioctls[i].info = NULL;
|
||||
}
|
||||
|
||||
for (i = 1; i < nioctls; ++i)
|
||||
if (!ioctls[i].info) {
|
||||
/*
|
||||
* Change ioctl code of marked elements
|
||||
* to make them sorted to the end of array.
|
||||
*/
|
||||
ioctls[i].dir =
|
||||
ioctls[i].type_nr =
|
||||
ioctls[i].size = 0xffffffffu;
|
||||
}
|
||||
|
||||
qsort(ioctls, nioctls, sizeof(ioctls[0]), compare_code_name);
|
||||
|
||||
puts("/* Generated by ioctlsort. */");
|
||||
for (i = 0; i < nioctls; ++i) {
|
||||
if (!ioctls[i].info) {
|
||||
/*
|
||||
* We've reached the first element marked for deletion.
|
||||
*/
|
||||
break;
|
||||
}
|
||||
if (i == 0 || code(&ioctls[i-1]) != code(&ioctls[i]) ||
|
||||
!is_prefix(ioctls[i-1].name, ioctls[i].name))
|
||||
printf("{ \"%s\", %#010x },\n",
|
||||
ioctls[i].name, code(ioctls+i));
|
||||
}
|
||||
}
|
||||
|
||||
static struct ioctlent ioctls[] = {
|
||||
#ifdef IOCTLSORT_INC
|
||||
# include IOCTLSORT_INC
|
||||
#else
|
||||
# include "ioctls_arch.h"
|
||||
# include "ioctls_inc.h"
|
||||
#endif
|
||||
};
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
ioctlsort(ioctls, sizeof(ioctls) / sizeof(ioctls[0]));
|
||||
return 0;
|
||||
}
|
||||
|
2617
linux/32/ioctls_inc.h
Normal file
2617
linux/32/ioctls_inc.h
Normal file
File diff suppressed because it is too large
Load Diff
2615
linux/64/ioctls_inc.h
Normal file
2615
linux/64/ioctls_inc.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
#include "../arm/ioctlent.h.in"
|
@ -1 +0,0 @@
|
||||
#include "ioctlent.h"
|
1
linux/aarch64/ioctls_arch0.h
Normal file
1
linux/aarch64/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/arm64/include/ tree. */
|
1
linux/aarch64/ioctls_arch1.h
Normal file
1
linux/aarch64/ioctls_arch1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "arm/ioctls_arch0.h"
|
1
linux/aarch64/ioctls_inc0.h
Normal file
1
linux/aarch64/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
1
linux/aarch64/ioctls_inc1.h
Normal file
1
linux/aarch64/ioctls_inc1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "arm/ioctls_inc0.h"
|
@ -1,73 +0,0 @@
|
||||
{"asm/ioctls.h", "TIOCEXCL", 0x540c},
|
||||
{"asm/ioctls.h", "TIOCNXCL", 0x540d},
|
||||
{"asm/ioctls.h", "TIOCSCTTY", 0x540e},
|
||||
{"asm/ioctls.h", "TIOCSTI", 0x5412},
|
||||
{"asm/ioctls.h", "TIOCMGET", 0x5415},
|
||||
{"asm/ioctls.h", "TIOCMBIS", 0x5416},
|
||||
{"asm/ioctls.h", "TIOCMBIC", 0x5417},
|
||||
{"asm/ioctls.h", "TIOCMSET", 0x5418},
|
||||
{"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419},
|
||||
{"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a},
|
||||
{"asm/ioctls.h", "TIOCLINUX", 0x541c},
|
||||
{"asm/ioctls.h", "TIOCCONS", 0x541d},
|
||||
{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
|
||||
{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
|
||||
{"asm/ioctls.h", "TIOCPKT", 0x5420},
|
||||
{"asm/ioctls.h", "TIOCNOTTY", 0x5422},
|
||||
{"asm/ioctls.h", "TIOCSETD", 0x5423},
|
||||
{"asm/ioctls.h", "TIOCGETD", 0x5424},
|
||||
{"asm/ioctls.h", "TCSBRKP", 0x5425},
|
||||
{"asm/ioctls.h", "TIOCTTYGSTRUCT", 0x5426},
|
||||
{"asm/ioctls.h", "TIOCSBRK", 0x5427},
|
||||
{"asm/ioctls.h", "TIOCCBRK", 0x5428},
|
||||
{"asm/ioctls.h", "TIOCGSID", 0x5429},
|
||||
{"asm/ioctls.h", "TIOCGPTN", 0x5430},
|
||||
{"asm/ioctls.h", "TIOCSPTLCK", 0x5431},
|
||||
{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
|
||||
{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
|
||||
{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
|
||||
{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
|
||||
{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
|
||||
{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
|
||||
{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
|
||||
{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
|
||||
{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
|
||||
{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
|
||||
{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
|
||||
{"asm/ioctls.h", "TIOCGHAYESESP", 0x545e},
|
||||
{"asm/ioctls.h", "TIOCSHAYESESP", 0x545f},
|
||||
{"asm/ioctls.h", "FIOCLEX", 0x6601},
|
||||
{"asm/ioctls.h", "FIONCLEX", 0x6602},
|
||||
{"asm/sockios.h", "FIOGETOWN", 0x667b},
|
||||
{"asm/sockios.h", "FIOSETOWN", 0x667c},
|
||||
{"asm/ioctls.h", "FIOASYNC", 0x667d},
|
||||
{"asm/ioctls.h", "FIONBIO", 0x667e},
|
||||
{"asm/ioctls.h", "FIONREAD", 0x667f},
|
||||
{"asm/sockios.h", "SIOCATMARK", 0x7307},
|
||||
{"asm/sockios.h", "SIOCSPGRP", 0x7308},
|
||||
{"asm/sockios.h", "SIOCGPGRP", 0x7309},
|
||||
{"asm/ioctls.h", "TIOCGETP", 0x7408},
|
||||
{"asm/ioctls.h", "TIOCSETP", 0x7409},
|
||||
{"asm/ioctls.h", "TIOCSETN", 0x740a},
|
||||
{"asm/ioctls.h", "TIOCSETC", 0x7411},
|
||||
{"asm/ioctls.h", "TIOCGETC", 0x7412},
|
||||
{"asm/ioctls.h", "TCGETS", 0x7413},
|
||||
{"asm/ioctls.h", "TCSETS", 0x7414},
|
||||
{"asm/ioctls.h", "TCSETSW", 0x7415},
|
||||
{"asm/ioctls.h", "TCSETSF", 0x7416},
|
||||
{"asm/ioctls.h", "TCGETA", 0x7417},
|
||||
{"asm/ioctls.h", "TCSETA", 0x7418},
|
||||
{"asm/ioctls.h", "TCSETAW", 0x7419},
|
||||
{"asm/ioctls.h", "TCSETAF", 0x741c},
|
||||
{"asm/ioctls.h", "TCSBRK", 0x741d},
|
||||
{"asm/ioctls.h", "TCXONC", 0x741e},
|
||||
{"asm/ioctls.h", "TCFLSH", 0x741f},
|
||||
{"asm/ioctls.h", "TIOCSWINSZ", 0x7467},
|
||||
{"asm/ioctls.h", "TIOCGWINSZ", 0x7468},
|
||||
{"asm/ioctls.h", "TIOCSTART", 0x746e},
|
||||
{"asm/ioctls.h", "TIOCSTOP", 0x746f},
|
||||
{"asm/ioctls.h", "TIOCOUTQ", 0x7473},
|
||||
{"asm/ioctls.h", "TIOCGLTC", 0x7474},
|
||||
{"asm/ioctls.h", "TIOCSLTC", 0x7475},
|
||||
{"asm/ioctls.h", "TIOCSPGRP", 0x7476},
|
||||
{"asm/ioctls.h", "TIOCGPGRP", 0x7477},
|
82
linux/alpha/ioctls_arch0.h
Normal file
82
linux/alpha/ioctls_arch0.h
Normal file
@ -0,0 +1,82 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/alpha/include/ tree. */
|
||||
{ "asm/ioctls.h", "FIOASYNC", _IOC_WRITE, 0x667d, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", _IOC_NONE, 0x6601, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONBIO", _IOC_WRITE, 0x667e, 0x04 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", _IOC_NONE, 0x6602, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONREAD", _IOC_READ, 0x667f, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 },
|
||||
{ "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x741f, 0x00 },
|
||||
{ "asm/ioctls.h", "TCGETA", _IOC_READ, 0x7417, 0x12 },
|
||||
{ "asm/ioctls.h", "TCGETS", _IOC_READ, 0x7413, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x741d, 0x00 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", 0, 0x5425, 0 },
|
||||
{ "asm/ioctls.h", "TCSETA", _IOC_WRITE, 0x7418, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAF", _IOC_WRITE, 0x741c, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAW", _IOC_WRITE, 0x7419, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x7414, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x7416, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x7415, 0x2c },
|
||||
{ "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x741e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", 0, 0x5428, 0 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", 0, 0x541D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", 0, 0x540C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETC", _IOC_READ, 0x7412, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", 0, 0x5424, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGETP", _IOC_READ, 0x7408, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLTC", _IOC_READ, 0x7474, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7477, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x5430, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", _IOC_READ, 0x542e, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCGSERIAL", 0, 0x541E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", 0, 0x5429, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", 0, 0x5419, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGWINSZ", _IOC_READ, 0x7468, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", 0, 0x541C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", 0, 0x5417, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", 0, 0x5416, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", 0, 0x5415, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", 0, 0x545C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", 0, 0x5418, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", 0, 0x5422, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", 0, 0x540D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", 0, 0x5420, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", 0, 0x5427, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", 0, 0x540E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5453, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x5459, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x545A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x5458, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5454, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x545B, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", 0, 0x5455, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETC", _IOC_WRITE, 0x7411, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", 0, 0x5423, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETN", _IOC_WRITE, 0x740a, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSETP", _IOC_WRITE, 0x7409, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSLTC", _IOC_WRITE, 0x7475, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7476, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", _IOC_READ|_IOC_WRITE, 0x542f, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCSSERIAL", 0, 0x541F, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", 0, 0x541A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", 0, 0x5412, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSWINSZ", _IOC_WRITE, 0x7467, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", 0, 0x5437, 0 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", _IOC_READ, 0x667b, 0x04 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", _IOC_WRITE, 0x667c, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", _IOC_READ, 0x7307, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", _IOC_READ, 0x7309, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", _IOC_WRITE, 0x7308, 0x04 },
|
1
linux/alpha/ioctls_inc0.h
Normal file
1
linux/alpha/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
1
linux/arc/ioctls_arch0.h
Normal file
1
linux/arc/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/arc/include/ tree. */
|
1
linux/arc/ioctls_inc0.h
Normal file
1
linux/arc/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
2
linux/arm/ioctls_arch0.h
Normal file
2
linux/arm/ioctls_arch0.h
Normal file
@ -0,0 +1,2 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/arm/include/ tree. */
|
||||
{ "asm/ioctls.h", "FIOQSIZE", 0, 0x545E, 0 },
|
1
linux/arm/ioctls_inc0.h
Normal file
1
linux/arm/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
8
linux/avr32/ioctls_arch0.h
Normal file
8
linux/avr32/ioctls_arch0.h
Normal file
@ -0,0 +1,8 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/avr32/include/ tree. */
|
||||
{ "asm/sockios.h", "FIOGETOWN", 0, 0x8903, 0 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", 0, 0x8901, 0 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", 0, 0x8905, 0 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", 0, 0x8904, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", 0, 0x8902, 0 },
|
1
linux/avr32/ioctls_inc0.h
Normal file
1
linux/avr32/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1,8 +0,0 @@
|
||||
{"asm/bfin_sport.h", "SPORT_IOC_CONFIG", 0x5001},
|
||||
{"asm/bfin_sport.h", "SPORT_IOC_GET_SYSTEMCLOCK", 0x5002},
|
||||
{"asm/bfin_sport.h", "SPORT_IOC_SET_BAUDRATE", 0x5003},
|
||||
{"asm/ioctls.h", "FIOQSIZE", 0x545e},
|
||||
{"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_SET_PERIOD", 0x7402},
|
||||
{"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_START", 0x7406},
|
||||
{"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_STOP", 0x7408},
|
||||
{"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_READ", 0x740a},
|
12
linux/bfin/ioctls_arch0.h
Normal file
12
linux/bfin/ioctls_arch0.h
Normal file
@ -0,0 +1,12 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/blackfin/include/ tree. */
|
||||
{ "asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_READ", _IOC_NONE, 0x740a, 0x00 },
|
||||
{ "asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_READ_COUNTER", _IOC_NONE, 0x740b, 0x00 },
|
||||
{ "asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_SET_MODE", _IOC_NONE, 0x7404, 0x00 },
|
||||
{ "asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_SET_PERIOD", _IOC_NONE, 0x7402, 0x00 },
|
||||
{ "asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_SET_WIDTH", _IOC_NONE, 0x7403, 0x00 },
|
||||
{ "asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_START", _IOC_NONE, 0x7406, 0x00 },
|
||||
{ "asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_STOP", _IOC_NONE, 0x7408, 0x00 },
|
||||
{ "asm/bfin_sport.h", "SPORT_IOC_CONFIG", _IOC_READ|_IOC_WRITE, 0x5001, 0x24 },
|
||||
{ "asm/bfin_sport.h", "SPORT_IOC_GET_SYSTEMCLOCK", _IOC_READ, 0x5002, 0x04 },
|
||||
{ "asm/bfin_sport.h", "SPORT_IOC_SET_BAUDRATE", _IOC_WRITE, 0x5003, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", 0, 0x545E, 0 },
|
1
linux/bfin/ioctls_inc0.h
Normal file
1
linux/bfin/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
101
linux/hppa/ioctls_arch0.h
Normal file
101
linux/hppa/ioctls_arch0.h
Normal file
@ -0,0 +1,101 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/parisc/include/ tree. */
|
||||
{ "asm/grfioctl.h", "GCAOFF", _IOC_NONE, 0x4704, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCAON", _IOC_NONE, 0x4703, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCDESCRIBE", _IOC_READ, 0x4715, 0x70 },
|
||||
{ "asm/grfioctl.h", "GCFASTLOCK", _IOC_NONE, 0x471a, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCID", _IOC_READ, 0x4700, 0x04 },
|
||||
{ "asm/grfioctl.h", "GCLOCK", _IOC_NONE, 0x4707, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCLOCK_MINIMUM", _IOC_NONE, 0x4709, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCMAP", _IOC_READ|_IOC_WRITE, 0x4705, 0x04 },
|
||||
{ "asm/grfioctl.h", "GCMAP_HPUX", _IOC_NONE, 0x4705, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCOFF", _IOC_NONE, 0x4702, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCON", _IOC_NONE, 0x4701, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCSTATIC_CMAP", _IOC_NONE, 0x470b, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCTERM", _IOC_READ|_IOC_WRITE, 0x4714, 0x04 },
|
||||
{ "asm/grfioctl.h", "GCUNLOCK", _IOC_NONE, 0x4708, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCUNLOCK_MINIMUM", _IOC_NONE, 0x470a, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCUNMAP", _IOC_READ|_IOC_WRITE, 0x4706, 0x04 },
|
||||
{ "asm/grfioctl.h", "GCUNMAP_HPUX", _IOC_NONE, 0x4706, 0x00 },
|
||||
{ "asm/grfioctl.h", "GCVARIABLE_CMAP", _IOC_NONE, 0x470c, 0x00 },
|
||||
{ "asm/ioctls.h", "FIOASYNC", 0, 0x5452, 0 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", 0, 0x5451, 0 },
|
||||
{ "asm/ioctls.h", "FIONBIO", 0, 0x5421, 0 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", 0, 0x5450, 0 },
|
||||
{ "asm/ioctls.h", "FIONREAD", 0, 0x541B, 0 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", 0, 0x5460, 0 },
|
||||
{ "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x5407, 0x00 },
|
||||
{ "asm/ioctls.h", "TCGETA", _IOC_READ, 0x5401, 0x12 },
|
||||
{ "asm/ioctls.h", "TCGETS", _IOC_READ, 0x5410, 0x24 },
|
||||
{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x542a, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x5405, 0x00 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", 0, 0x5425, 0 },
|
||||
{ "asm/ioctls.h", "TCSETA", _IOC_WRITE, 0x5402, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAF", _IOC_WRITE, 0x5404, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAW", _IOC_WRITE, 0x5403, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x5411, 0x24 },
|
||||
{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x542b, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x5413, 0x24 },
|
||||
{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x542d, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x5412, 0x24 },
|
||||
{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x542c, 0x2c },
|
||||
{ "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x5406, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", 0, 0x5428, 0 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", 0, 0x541D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", 0, 0x540C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", 0, 0x5424, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x541e, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x5430, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", _IOC_READ, 0x542e, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCGSERIAL", 0, 0x541E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", _IOC_READ, 0x5414, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", 0, 0x5419, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGWINSZ", 0, 0x5413, 0 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", 0, 0x541C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", 0, 0x5417, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", 0, 0x5416, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", 0, 0x5415, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", 0, 0x545C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", 0, 0x5418, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", 0, 0x5422, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", 0, 0x540D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", 0, 0x5411, 0 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", 0, 0x5420, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", 0, 0x5427, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", 0, 0x540E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5453, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x5459, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x545A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x5458, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5454, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x545B, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", 0, 0x5455, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", 0, 0x5423, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSLTC", 0, 0x5462, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x541d, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", _IOC_READ|_IOC_WRITE, 0x542f, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCSSERIAL", 0, 0x541F, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", 0, 0x541A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTART", 0, 0x5461, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", 0, 0x5412, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTOP", 0, 0x5462, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSWINSZ", 0, 0x5414, 0 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", 0, 0x5437, 0 },
|
||||
{ "asm/perf.h", "PA_PERF_OFF", _IOC_READ, 0x7002, 0x04 },
|
||||
{ "asm/perf.h", "PA_PERF_ON", _IOC_NONE, 0x7001, 0x00 },
|
||||
{ "asm/perf.h", "PA_PERF_VERSION", _IOC_READ, 0x7003, 0x04 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", 0, 0x8903, 0 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", 0, 0x8901, 0 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", 0, 0x8905, 0 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", 0, 0x8904, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", 0, 0x8902, 0 },
|
1
linux/hppa/ioctls_inc0.h
Normal file
1
linux/hppa/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1,15 +0,0 @@
|
||||
{"asm/mtrr.h", "MTRRIOC_ADD_ENTRY", 0x4d00},
|
||||
{"asm/mce.h", "MCE_GET_RECORD_LEN", 0x4d01},
|
||||
{"asm/mtrr.h", "MTRRIOC_SET_ENTRY", 0x4d01},
|
||||
{"asm/mce.h", "MCE_GET_LOG_LEN", 0x4d02},
|
||||
{"asm/mtrr.h", "MTRRIOC_DEL_ENTRY", 0x4d02},
|
||||
{"asm/mce.h", "MCE_GETCLEAR_FLAGS", 0x4d03},
|
||||
{"asm/mtrr.h", "MTRRIOC_GET_ENTRY", 0x4d03},
|
||||
{"asm/mtrr.h", "MTRRIOC_KILL_ENTRY", 0x4d04},
|
||||
{"asm/mtrr.h", "MTRRIOC_ADD_PAGE_ENTRY", 0x4d05},
|
||||
{"asm/mtrr.h", "MTRRIOC_SET_PAGE_ENTRY", 0x4d06},
|
||||
{"asm/mtrr.h", "MTRRIOC_DEL_PAGE_ENTRY", 0x4d07},
|
||||
{"asm/mtrr.h", "MTRRIOC_GET_PAGE_ENTRY", 0x4d08},
|
||||
{"asm/mtrr.h", "MTRRIOC_KILL_PAGE_ENTRY", 0x4d09},
|
||||
{"asm/msr.h", "X86_IOC_RDMSR_REGS", 0x63a0},
|
||||
{"asm/msr.h", "X86_IOC_WRMSR_REGS", 0x63a1},
|
16
linux/i386/ioctls_arch0.h
Normal file
16
linux/i386/ioctls_arch0.h
Normal file
@ -0,0 +1,16 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/x86/include/ tree. */
|
||||
{ "asm/mce.h", "MCE_GETCLEAR_FLAGS", _IOC_READ, 0x4d03, 0x04 },
|
||||
{ "asm/mce.h", "MCE_GET_LOG_LEN", _IOC_READ, 0x4d02, 0x04 },
|
||||
{ "asm/mce.h", "MCE_GET_RECORD_LEN", _IOC_READ, 0x4d01, 0x04 },
|
||||
{ "asm/msr.h", "X86_IOC_RDMSR_REGS", _IOC_READ|_IOC_WRITE, 0x63a0, 0x20 },
|
||||
{ "asm/msr.h", "X86_IOC_WRMSR_REGS", _IOC_READ|_IOC_WRITE, 0x63a1, 0x20 },
|
||||
{ "asm/mtrr.h", "MTRRIOC_ADD_ENTRY", _IOC_WRITE, 0x4d00, 0x0c },
|
||||
{ "asm/mtrr.h", "MTRRIOC_ADD_PAGE_ENTRY", _IOC_WRITE, 0x4d05, 0x0c },
|
||||
{ "asm/mtrr.h", "MTRRIOC_DEL_ENTRY", _IOC_WRITE, 0x4d02, 0x0c },
|
||||
{ "asm/mtrr.h", "MTRRIOC_DEL_PAGE_ENTRY", _IOC_WRITE, 0x4d07, 0x0c },
|
||||
{ "asm/mtrr.h", "MTRRIOC_GET_ENTRY", _IOC_READ|_IOC_WRITE, 0x4d03, 0x10 },
|
||||
{ "asm/mtrr.h", "MTRRIOC_GET_PAGE_ENTRY", _IOC_READ|_IOC_WRITE, 0x4d08, 0x10 },
|
||||
{ "asm/mtrr.h", "MTRRIOC_KILL_ENTRY", _IOC_WRITE, 0x4d04, 0x0c },
|
||||
{ "asm/mtrr.h", "MTRRIOC_KILL_PAGE_ENTRY", _IOC_WRITE, 0x4d09, 0x0c },
|
||||
{ "asm/mtrr.h", "MTRRIOC_SET_ENTRY", _IOC_WRITE, 0x4d01, 0x0c },
|
||||
{ "asm/mtrr.h", "MTRRIOC_SET_PAGE_ENTRY", _IOC_WRITE, 0x4d06, 0x0c },
|
1
linux/i386/ioctls_inc0.h
Normal file
1
linux/i386/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1,66 +0,0 @@
|
||||
{"asm/ioctls.h", "TCGETS", 0x5401},
|
||||
{"asm/ioctls.h", "TCSETS", 0x5402},
|
||||
{"asm/ioctls.h", "TCSETSW", 0x5403},
|
||||
{"asm/ioctls.h", "TCSETSF", 0x5404},
|
||||
{"asm/ioctls.h", "TCGETA", 0x5405},
|
||||
{"asm/ioctls.h", "TCSETA", 0x5406},
|
||||
{"asm/ioctls.h", "TCSETAW", 0x5407},
|
||||
{"asm/ioctls.h", "TCSETAF", 0x5408},
|
||||
{"asm/ioctls.h", "TCSBRK", 0x5409},
|
||||
{"asm/ioctls.h", "TCXONC", 0x540a},
|
||||
{"asm/ioctls.h", "TCFLSH", 0x540b},
|
||||
{"asm/ioctls.h", "TIOCEXCL", 0x540c},
|
||||
{"asm/ioctls.h", "TIOCNXCL", 0x540d},
|
||||
{"asm/ioctls.h", "TIOCSCTTY", 0x540e},
|
||||
{"asm/ioctls.h", "TIOCGPGRP", 0x540f},
|
||||
{"asm/ioctls.h", "TIOCSPGRP", 0x5410},
|
||||
{"asm/ioctls.h", "TIOCOUTQ", 0x5411},
|
||||
{"asm/ioctls.h", "TIOCSTI", 0x5412},
|
||||
{"asm/ioctls.h", "TIOCGWINSZ", 0x5413},
|
||||
{"asm/ioctls.h", "TIOCSWINSZ", 0x5414},
|
||||
{"asm/ioctls.h", "TIOCMGET", 0x5415},
|
||||
{"asm/ioctls.h", "TIOCMBIS", 0x5416},
|
||||
{"asm/ioctls.h", "TIOCMBIC", 0x5417},
|
||||
{"asm/ioctls.h", "TIOCMSET", 0x5418},
|
||||
{"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419},
|
||||
{"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a},
|
||||
{"asm/ioctls.h", "FIONREAD", 0x541b},
|
||||
{"asm/ioctls.h", "TIOCLINUX", 0x541c},
|
||||
{"asm/ioctls.h", "TIOCCONS", 0x541d},
|
||||
{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
|
||||
{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
|
||||
{"asm/ioctls.h", "TIOCPKT", 0x5420},
|
||||
{"asm/ioctls.h", "FIONBIO", 0x5421},
|
||||
{"asm/ioctls.h", "TIOCNOTTY", 0x5422},
|
||||
{"asm/ioctls.h", "TIOCSETD", 0x5423},
|
||||
{"asm/ioctls.h", "TIOCGETD", 0x5424},
|
||||
{"asm/ioctls.h", "TCSBRKP", 0x5425},
|
||||
{"asm/ioctls.h", "TIOCTTYGSTRUCT", 0x5426},
|
||||
{"asm/ioctls.h", "TIOCSBRK", 0x5427},
|
||||
{"asm/ioctls.h", "TIOCCBRK", 0x5428},
|
||||
{"asm/ioctls.h", "TIOCGSID", 0x5429},
|
||||
{"asm/ioctls.h", "TIOCGPTN", 0x5430},
|
||||
{"asm/ioctls.h", "TIOCSPTLCK", 0x5431},
|
||||
{"asm/ioctls.h", "FIONCLEX", 0x5450},
|
||||
{"asm/ioctls.h", "FIOCLEX", 0x5451},
|
||||
{"asm/ioctls.h", "FIOASYNC", 0x5452},
|
||||
{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
|
||||
{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
|
||||
{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
|
||||
{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
|
||||
{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
|
||||
{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
|
||||
{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
|
||||
{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
|
||||
{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
|
||||
{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
|
||||
{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
|
||||
{"asm/ioctls.h", "TIOCGHAYESESP", 0x545e},
|
||||
{"asm/ioctls.h", "TIOCSHAYESESP", 0x545f},
|
||||
{"asm/ioctls.h", "FIOQSIZE", 0x5460},
|
||||
{"asm/sockios.h", "FIOSETOWN", 0x8901},
|
||||
{"asm/sockios.h", "SIOCSPGRP", 0x8902},
|
||||
{"asm/sockios.h", "FIOGETOWN", 0x8903},
|
||||
{"asm/sockios.h", "SIOCGPGRP", 0x8904},
|
||||
{"asm/sockios.h", "SIOCATMARK", 0x8905},
|
||||
{"asm/sockios.h", "SIOCGSTAMP", 0x8906},
|
8
linux/ia64/ioctls_arch0.h
Normal file
8
linux/ia64/ioctls_arch0.h
Normal file
@ -0,0 +1,8 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/ia64/include/ tree. */
|
||||
{ "asm/sockios.h", "FIOGETOWN", 0, 0x8903, 0 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", 0, 0x8901, 0 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", 0, 0x8905, 0 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", 0, 0x8904, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", 0, 0x8902, 0 },
|
1
linux/ia64/ioctls_inc0.h
Normal file
1
linux/ia64/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
2061
linux/ioctlent.h.in
2061
linux/ioctlent.h.in
File diff suppressed because it is too large
Load Diff
@ -1,155 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Copyright (c) 2001 Wichert Akkerman <wichert@cistron.nl>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Validate arg count.
|
||||
case $# in
|
||||
1)
|
||||
dir="$1"
|
||||
asm=asm
|
||||
;;
|
||||
2)
|
||||
dir="$1"
|
||||
asm="$2"
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 include-directory [asm-subdirectory]" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
lookup_ioctls()
|
||||
{
|
||||
type="$1"
|
||||
shift
|
||||
|
||||
# Build the list of all ioctls
|
||||
regexp='[[:space:]]*#[[:space:]]*define[[:space:]]\+\([A-Z][A-Z0-9_]*\)[[:space:]]\+\(0x'"$type"'..\)\>'
|
||||
(cd "$dir" && for f; do grep "^$regexp" "$f" "uapi/$f" 2>/dev/null; done) |
|
||||
sed -n -e "s,$asm/,asm/,g" \
|
||||
-e 's/^\([^:]*\):'"$regexp"'.*/ { "\1", "\2", \3 },/p' \
|
||||
>> ioctls.h
|
||||
}
|
||||
|
||||
> ioctls.h
|
||||
|
||||
lookup_ioctls 03 linux/hdreg.h
|
||||
lookup_ioctls 22 scsi/sg.h
|
||||
lookup_ioctls 46 linux/fb.h
|
||||
lookup_ioctls 4B linux/kd.h
|
||||
lookup_ioctls 4C linux/loop.h
|
||||
lookup_ioctls 53 linux/cdrom.h scsi/scsi.h scsi/scsi_ioctl.h
|
||||
lookup_ioctls 54 $asm/ioctls.h asm-generic/ioctls.h
|
||||
lookup_ioctls 56 linux/vt.h
|
||||
lookup_ioctls '7[12]' linux/videotext.h
|
||||
lookup_ioctls 89 $asm/sockios.h asm-generic/sockios.h linux/sockios.h
|
||||
lookup_ioctls 8B linux/wireless.h
|
||||
|
||||
if [ -e $dir/Kbuild ]; then
|
||||
# kernel has exported user space headers, so query only them
|
||||
files=$(
|
||||
cd $dir || exit
|
||||
find . -mindepth 2 -name Kbuild | \
|
||||
sed -e 's:^\./::' -e 's:/Kbuild:/*:' | \
|
||||
grep -v '^asm-'
|
||||
echo "$asm/* asm-generic/*"
|
||||
)
|
||||
# special case: some headers aren't exported directly
|
||||
files="${files} media/* net/bluetooth/* pcmcia/*"
|
||||
else
|
||||
# older kernel tree or headers_install'ed tree, just assume some headers
|
||||
files="linux/* $asm/* asm-generic/* drm/* mtd/* rdma/* scsi/* sound/* video/* xen/*"
|
||||
fi
|
||||
|
||||
# Build the list of all ioctls
|
||||
# Example output:
|
||||
# { "asm/ioctls.h", "TIOCSWINSZ", 0x5414 },
|
||||
# { "asm/mce.h", "MCE_GETCLEAR_FLAGS", _IOC(_IOC_NONE,'M',3,0) },
|
||||
regexp='[[:space:]]*#[[:space:]]*define[[:space:]]\+\([A-Z][A-Z0-9_]*\)[[:space:]]\+_S\?\(IO\|IOW\|IOR\|IOWR\)[[:space:]]*(\([^,()]*\)[[:space:]]*,[[:space:]]*\([^,()]*\)[[:space:]]*[,)]'
|
||||
(cd $dir && grep "^$regexp" $files 2>/dev/null) | \
|
||||
sed -n -e "s,$asm/,asm/,g" \
|
||||
-e 's/^\([^:]*\):'"$regexp"'.*/ { "\1", "\2", _IOC(_IOC_NONE,\4,\5,0) },/p' \
|
||||
>> ioctls.h
|
||||
|
||||
# Strip uapi/ prefix
|
||||
sed -i 's|"uapi/|"|' ioctls.h
|
||||
|
||||
# Sort and drop dups
|
||||
sort -u -o ioctls.h ioctls.h
|
||||
|
||||
> ioctldefs.h
|
||||
|
||||
# Collect potential ioctl names. ('bases' is a bad name. Sigh)
|
||||
# Some use a special base to offset their ioctls on. Extract that as well.
|
||||
# Some use 2 defines: _IOC(_IOC_NONE,DM_IOCTL,DM_LIST_DEVICES_CMD,....)
|
||||
bases=$(sed -n \
|
||||
-e 's/.*_IOC_NONE.*,[[:space:]]*\([A-Z][A-Za-z0-9_]\+\)[[:space:]]*,[[:space:]]*\([A-Z][A-Za-z0-9_]\+\)[[:space:]]*[+,)].*/\1\n\2/p' \
|
||||
-e 's/.*_IOC_NONE.*,[[:space:]]*\([A-Z][A-Za-z0-9_]\+\)[[:space:]]*[+,)].*/\1/p' \
|
||||
ioctls.h | sort -u)
|
||||
|
||||
for base in $bases; do
|
||||
echo "Looking for $base"
|
||||
regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base"
|
||||
line=$( (cd $dir && grep -h $regexp 2>/dev/null $files) | grep -v '\<_IO')
|
||||
if [ x"$line" != x ]; then
|
||||
echo "$base is a #define" # "($line)"
|
||||
echo "$line" >> ioctldefs.h
|
||||
fi
|
||||
|
||||
if ! grep "\<$base\>" ioctldefs.h >/dev/null 2>/dev/null; then
|
||||
# Not all ioctl's are defines ... some (like the DM_* stuff)
|
||||
# are enums, so we have to extract that crap ourself
|
||||
(
|
||||
cd $dir || exit
|
||||
# -P: inhibit generation of linemarkers
|
||||
${CPP:-cpp} -P $(grep -l $base $files 2>/dev/null) | sed '/^$/d' | \
|
||||
awk -v base="$base" '{
|
||||
if ($1 == "enum") {
|
||||
val = 0
|
||||
while ($NF != "};") {
|
||||
if (!getline)
|
||||
exit
|
||||
gsub(/,/, "")
|
||||
if ($0 ~ /=/)
|
||||
val = $NF
|
||||
if ($1 == base) {
|
||||
print "#define " base " (" val ")"
|
||||
exit
|
||||
}
|
||||
val++
|
||||
}
|
||||
}
|
||||
}'
|
||||
) >> ioctldefs.h
|
||||
if ! grep "\<$base\>" ioctldefs.h >/dev/null 2>/dev/null; then
|
||||
echo "Can't find the definition for $base"
|
||||
else
|
||||
echo "$base is an enum"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Sort and drop dups?
|
||||
# sort -u <ioctldefs.h >ioctldefs1.h && mv ioctldefs1.h ioctldefs.h
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
24
linux/m68k/ioctls_arch0.h
Normal file
24
linux/m68k/ioctls_arch0.h
Normal file
@ -0,0 +1,24 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/m68k/include/ tree. */
|
||||
{ "asm/fbio.h", "FBIOGATTR", _IOC_READ, 0x4606, 0x58 },
|
||||
{ "asm/fbio.h", "FBIOGCURMAX", _IOC_READ, 0x461c, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGCURPOS", _IOC_WRITE, 0x461b, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGCURSOR", _IOC_READ|_IOC_WRITE, 0x4619, 0x2c },
|
||||
{ "asm/fbio.h", "FBIOGETCMAP", _IOC_WRITE, 0x4604, 0x14 },
|
||||
{ "asm/fbio.h", "FBIOGTYPE", _IOC_READ, 0x4600, 0x18 },
|
||||
{ "asm/fbio.h", "FBIOGVIDEO", _IOC_READ, 0x4608, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOPUTCMAP", _IOC_WRITE, 0x4603, 0x14 },
|
||||
{ "asm/fbio.h", "FBIOSATTR", _IOC_WRITE, 0x4605, 0x58 },
|
||||
{ "asm/fbio.h", "FBIOSCURPOS", _IOC_WRITE, 0x461a, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOSCURSOR", _IOC_WRITE, 0x4618, 0x2c },
|
||||
{ "asm/fbio.h", "FBIOSVIDEO", _IOC_WRITE, 0x4607, 0x04 },
|
||||
{ "asm/fbio.h", "FBIO_WID_ALLOC", _IOC_READ|_IOC_WRITE, 0x461e, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_FREE", _IOC_WRITE, 0x461f, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_GET", _IOC_READ|_IOC_WRITE, 0x4621, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_PUT", _IOC_WRITE, 0x4620, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTALLOC", _IOC_READ|_IOC_WRITE, 0x4c35, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTFREE", _IOC_WRITE, 0x4c36, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTPOST", _IOC_WRITE, 0x4c38, 0x1c },
|
||||
{ "asm/fbio.h", "LEO_CLUTREAD", _IOC_WRITE, 0x4c37, 0x1c },
|
||||
{ "asm/fbio.h", "LEO_GETGAMMA", _IOC_READ, 0x4c45, 0x04 },
|
||||
{ "asm/fbio.h", "LEO_SETGAMMA", _IOC_WRITE, 0x4c44, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", 0, 0x545E, 0 },
|
1
linux/m68k/ioctls_inc0.h
Normal file
1
linux/m68k/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
1
linux/metag/ioctls_arch0.h
Normal file
1
linux/metag/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/metag/include/ tree. */
|
1
linux/metag/ioctls_inc0.h
Normal file
1
linux/metag/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
1
linux/microblaze/ioctls_arch0.h
Normal file
1
linux/microblaze/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/microblaze/include/ tree. */
|
1
linux/microblaze/ioctls_inc0.h
Normal file
1
linux/microblaze/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1,59 +0,0 @@
|
||||
{"asm/ioctls.h", "TCGETS", 0x5401},
|
||||
{"asm/ioctls.h", "TCSETS", 0x5402},
|
||||
{"asm/ioctls.h", "TCSETSW", 0x5403},
|
||||
{"asm/ioctls.h", "TCSETSF", 0x5404},
|
||||
{"asm/ioctls.h", "TCGETA", 0x5405},
|
||||
{"asm/ioctls.h", "TCSETA", 0x5406},
|
||||
{"asm/ioctls.h", "TCSETAW", 0x5407},
|
||||
{"asm/ioctls.h", "TCSETAF", 0x5408},
|
||||
{"asm/ioctls.h", "TCSBRK", 0x5409},
|
||||
{"asm/ioctls.h", "TCXONC", 0x540a},
|
||||
{"asm/ioctls.h", "TCFLSH", 0x540b},
|
||||
{"asm/ioctls.h", "TIOCEXCL", 0x540c},
|
||||
{"asm/ioctls.h", "TIOCNXCL", 0x540d},
|
||||
{"asm/ioctls.h", "TIOCSCTTY", 0x540e},
|
||||
{"asm/ioctls.h", "TIOCGPGRP", 0x540f},
|
||||
{"asm/ioctls.h", "TIOCSPGRP", 0x5410},
|
||||
{"asm/ioctls.h", "TIOCOUTQ", 0x5411},
|
||||
{"asm/ioctls.h", "TIOCSTI", 0x5412},
|
||||
{"asm/ioctls.h", "TIOCGWINSZ", 0x5413},
|
||||
{"asm/ioctls.h", "TIOCSWINSZ", 0x5414},
|
||||
{"asm/ioctls.h", "TIOCMGET", 0x5415},
|
||||
{"asm/ioctls.h", "TIOCMBIS", 0x5416},
|
||||
{"asm/ioctls.h", "TIOCMBIC", 0x5417},
|
||||
{"asm/ioctls.h", "TIOCMSET", 0x5418},
|
||||
{"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419},
|
||||
{"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a},
|
||||
{"asm/ioctls.h", "FIONREAD", 0x541b},
|
||||
{"asm/ioctls.h", "TIOCLINUX", 0x541c},
|
||||
{"asm/ioctls.h", "TIOCCONS", 0x541d},
|
||||
{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
|
||||
{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
|
||||
{"asm/ioctls.h", "TIOCPKT", 0x5420},
|
||||
{"asm/ioctls.h", "FIONBIO", 0x5421},
|
||||
{"asm/ioctls.h", "TIOCNOTTY", 0x5422},
|
||||
{"asm/ioctls.h", "TIOCSETD", 0x5423},
|
||||
{"asm/ioctls.h", "TIOCGETD", 0x5424},
|
||||
{"asm/ioctls.h", "TCSBRKP", 0x5425},
|
||||
{"asm/ioctls.h", "TIOCTTYGSTRUCT", 0x5426},
|
||||
{"asm/ioctls.h", "TIOCSBRK", 0x5427},
|
||||
{"asm/ioctls.h", "TIOCCBRK", 0x5428},
|
||||
{"asm/ioctls.h", "TIOCGSID", 0x5429},
|
||||
{"asm/ioctls.h", "TIOCGPTN", 0x5430},
|
||||
{"asm/ioctls.h", "TIOCSPTLCK", 0x5431},
|
||||
{"asm/ioctls.h", "FIONCLEX", 0x5450},
|
||||
{"asm/ioctls.h", "FIOCLEX", 0x5451},
|
||||
{"asm/ioctls.h", "FIOASYNC", 0x5452},
|
||||
{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
|
||||
{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
|
||||
{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
|
||||
{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
|
||||
{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
|
||||
{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
|
||||
{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
|
||||
{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
|
||||
{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
|
||||
{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
|
||||
{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
|
||||
{"asm/ioctls.h", "TIOCGHAYESESP", 0x545e},
|
||||
{"asm/ioctls.h", "TIOCSHAYESESP", 0x545f},
|
@ -1,96 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Copyright (c) 1995, 1996 Michael Elizabeth Chastain <mec@duracef.shout.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Files to find.
|
||||
file_find='asm/*.h linux/*.h scsi/*.h'
|
||||
|
||||
# Files to stop.
|
||||
file_stop='asm/byteorder.h linux/config.h linux/pci.h linux/xd.h'
|
||||
|
||||
# Defs to find.
|
||||
# Work on the kernel source to convert all to df_iowr.
|
||||
# Don't know how to find low-numbered ioctls in linux/mc146818rtc.h.
|
||||
df_name='^[ ]*#[ ]*define[ ]+[A-Z_][A-Z0-9_]*[ ]+'
|
||||
df_iowr='_IO|_IOR|_IOW|_IOWR'
|
||||
df_NNNN='0[Xx](03|06|22|46|4B|4C|53|54|56|89|90)[0-9A-Fa-f][0-9A-Fa-f]'
|
||||
df_4359='0[Xx]4359[0-9A-Fa-f][0-9A-Fa-f]' # linux/cyclades.h
|
||||
df_470N='470[0-9]' # linux/fs.h (only in 1.2.13)
|
||||
df_smix='MIXER_READ|MIXER_WRITE' # linux/soundcard.h
|
||||
df_12NN='12[3-4][0-9]' # linux/umsdos_fs.h (only in 1.2.13)
|
||||
df_tail='([() ]|$)'
|
||||
def_find="$df_name($df_iowr|$df_NNNN|$df_4359|$df_470N|$df_smix|$df_12NN)$df_tail"
|
||||
|
||||
# Defs to stop.
|
||||
ds_tail='_MAGIC|_PATCH'
|
||||
ds_fdmp='FD(DEF|GET|SET)MEDIAPRM' # linux/fd.h aliases (only in 1.2.13)
|
||||
ds_mtio='MTIOC(GET|SET)CONFIG' # linux/mtio.h needs config (only in 1.2.13)
|
||||
def_stop="$ds_tail|$ds_fdmp|$ds_mtio"
|
||||
|
||||
# Validate arg count.
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
echo "usage: $0 include-directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Grep through the files.
|
||||
(
|
||||
# Construct list: find files minus stop files.
|
||||
cd $1 || exit
|
||||
file_list=`(ls $file_find $file_stop $file_stop 2>/dev/null) | sort | uniq -u`
|
||||
|
||||
# Grep matching #define lines.
|
||||
# Transform to C structure form.
|
||||
# Filter out stop list.
|
||||
egrep "$def_find" $file_list |
|
||||
sed -n -e 's/^\(.*\):#[ ]*define[ ]*\([A-Z_][A-Z0-9_]*\).*$/ { "\1", "\2", \2 },/p' |
|
||||
egrep -v "$def_stop"
|
||||
) > ioctlent.tmp
|
||||
|
||||
# Generate the output file.
|
||||
echo '/* This file is automatically generated by ioctlent.sh */'
|
||||
echo
|
||||
echo '#include <sys/types.h>'
|
||||
echo
|
||||
echo '/* Needed for <linux/baycom.h> */'
|
||||
echo '#define BAYCOM_DEBUG'
|
||||
echo
|
||||
echo '/* Needed for <linux/cyclades.h> */'
|
||||
echo '#include <linux/termios.h>'
|
||||
echo '#include <linux/tqueue.h>'
|
||||
echo
|
||||
awk '{ print "#include <" substr($2, 2, length($2) - 3) ">" }' ioctlent.tmp | sort -u
|
||||
echo
|
||||
echo 'struct ioctlent ioctlent [] ='
|
||||
echo '{'
|
||||
cat ioctlent.tmp
|
||||
echo '};'
|
||||
|
||||
# Clean up.
|
||||
rm -f ioctlent.tmp
|
82
linux/mips/ioctls_arch0.h
Normal file
82
linux/mips/ioctls_arch0.h
Normal file
@ -0,0 +1,82 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/mips/include/ tree. */
|
||||
{ "asm/ioctls.h", "FIOASYNC", 0, 0x667d, 0 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", 0, 0x6601, 0 },
|
||||
{ "asm/ioctls.h", "FIONBIO", 0, 0x667e, 0 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", 0, 0x6602, 0 },
|
||||
{ "asm/ioctls.h", "FIONREAD", 0, 0x467f, 0 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", 0, 0x667f, 0 },
|
||||
{ "asm/ioctls.h", "TCFLSH", 0, 0x5407, 0 },
|
||||
{ "asm/ioctls.h", "TCGETA", 0, 0x5401, 0 },
|
||||
{ "asm/ioctls.h", "TCGETS", 0, 0x540d, 0 },
|
||||
{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x542a, 0x30 },
|
||||
{ "asm/ioctls.h", "TCSBRK", 0, 0x5405, 0 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", 0, 0x5486, 0 },
|
||||
{ "asm/ioctls.h", "TCSETA", 0, 0x5402, 0 },
|
||||
{ "asm/ioctls.h", "TCSETAF", 0, 0x5404, 0 },
|
||||
{ "asm/ioctls.h", "TCSETAW", 0, 0x5403, 0 },
|
||||
{ "asm/ioctls.h", "TCSETS", 0, 0x540e, 0 },
|
||||
{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x542b, 0x30 },
|
||||
{ "asm/ioctls.h", "TCSETSF", 0, 0x5410, 0 },
|
||||
{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x542d, 0x30 },
|
||||
{ "asm/ioctls.h", "TCSETSW", 0, 0x540f, 0 },
|
||||
{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x542c, 0x30 },
|
||||
{ "asm/ioctls.h", "TCXONC", 0, 0x5406, 0 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", 0, 0x5428, 0 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", _IOC_WRITE, 0x7478, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", 0, 0x740d, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", 0, 0x7400, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGETP", 0, 0x7408, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x5492, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x548b, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLTC", 0, 0x7474, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7477, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x5430, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", _IOC_READ, 0x542e, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCGSERIAL", 0, 0x5484, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", 0, 0x7416, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", 0, 0x5481, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGWINSZ", _IOC_READ, 0x7468, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", 0, 0x5483, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", 0, 0x741c, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", 0, 0x741b, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", 0, 0x741d, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", 0, 0x5491, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", 0, 0x741a, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", 0, 0x5471, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", 0, 0x740e, 0 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", 0, 0x7472, 0 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", 0, 0x5470, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", 0, 0x5427, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", 0, 0x5480, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5488, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x548e, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x548f, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x548d, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5489, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x5490, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", 0, 0x548a, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", 0, 0x7401, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETN", 0, 0x740a, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETP", 0, 0x7409, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x548c, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSLTC", 0, 0x7475, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7476, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", _IOC_READ|_IOC_WRITE, 0x542f, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCSSERIAL", 0, 0x5485, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", 0, 0x5482, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", 0, 0x5472, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSWINSZ", _IOC_WRITE, 0x7467, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", 0, 0x5437, 0 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", _IOC_READ, 0x667b, 0x04 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", _IOC_WRITE, 0x667c, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", _IOC_READ, 0x7307, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", _IOC_READ, 0x7309, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", _IOC_WRITE, 0x7308, 0x04 },
|
5
linux/mips/ioctls_inc0.h
Normal file
5
linux/mips/ioctls_inc0.h
Normal file
@ -0,0 +1,5 @@
|
||||
#ifdef LINUX_MIPSN64
|
||||
# include "64/ioctls_inc.h"
|
||||
#else
|
||||
# include "32/ioctls_inc.h"
|
||||
#endif
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
1
linux/or1k/ioctls_arch0.h
Normal file
1
linux/or1k/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/openrisc/include/ tree. */
|
1
linux/or1k/ioctls_inc0.h
Normal file
1
linux/or1k/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1,84 +0,0 @@
|
||||
{"asm/ioctls.h", "TIOCEXCL", 0x540c},
|
||||
{"asm/ioctls.h", "TIOCNXCL", 0x540d},
|
||||
{"asm/ioctls.h", "TIOCSCTTY", 0x540e},
|
||||
{"asm/ioctls.h", "TIOCSTI", 0x5412},
|
||||
{"asm/ioctls.h", "TIOCMGET", 0x5415},
|
||||
{"asm/ioctls.h", "TIOCMBIS", 0x5416},
|
||||
{"asm/ioctls.h", "TIOCMBIC", 0x5417},
|
||||
{"asm/ioctls.h", "TIOCMSET", 0x5418},
|
||||
{"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419},
|
||||
{"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a},
|
||||
{"asm/ioctls.h", "TIOCLINUX", 0x541c},
|
||||
{"asm/ioctls.h", "TIOCCONS", 0x541d},
|
||||
{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
|
||||
{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
|
||||
{"asm/ioctls.h", "TIOCPKT", 0x5420},
|
||||
{"asm/ioctls.h", "TIOCNOTTY", 0x5422},
|
||||
{"asm/ioctls.h", "TIOCSETD", 0x5423},
|
||||
{"asm/ioctls.h", "TIOCGETD", 0x5424},
|
||||
{"asm/ioctls.h", "TCSBRKP", 0x5425},
|
||||
{"asm/ioctls.h", "TIOCSBRK", 0x5427},
|
||||
{"asm/ioctls.h", "TIOCCBRK", 0x5428},
|
||||
{"asm/ioctls.h", "TIOCGSID", 0x5429},
|
||||
{"asm/ioctls.h", "TIOCGRS485", 0x542e},
|
||||
{"asm/ioctls.h", "TIOCSRS485", 0x542f},
|
||||
{"asm/ioctls.h", "TIOCGPTN", 0x5430},
|
||||
{"asm/ioctls.h", "TIOCSPTLCK", 0x5431},
|
||||
{"asm/ioctls.h", "TIOCSIG", 0x5436},
|
||||
{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
|
||||
{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
|
||||
{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
|
||||
{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
|
||||
{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
|
||||
{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
|
||||
{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
|
||||
{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
|
||||
{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
|
||||
{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
|
||||
{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
|
||||
{"asm/ioctls.h", "FIOCLEX", 0x6601},
|
||||
{"asm/ioctls.h", "FIONCLEX", 0x6602},
|
||||
{"asm/ioctls.h", "FIOASYNC", 0x667d},
|
||||
{"asm/ioctls.h", "FIONBIO", 0x667e},
|
||||
{"asm/ioctls.h", "FIONREAD", 0x667f},
|
||||
{"asm/ioctls.h", "FIOQSIZE", 0x6680},
|
||||
{"asm/nvram.h", "IOC_NVRAM_GET_OFFSET", 0x7042},
|
||||
{"asm/nvram.h", "IOC_NVRAM_SYNC", 0x7043},
|
||||
{"asm/ps3fb.h", "PS3FB_IOCTL_SETMODE", 0x7201},
|
||||
{"asm/ps3fb.h", "PS3FB_IOCTL_GETMODE", 0x7202},
|
||||
{"asm/ps3fb.h", "PS3FB_IOCTL_SCREENINFO", 0x7203},
|
||||
{"asm/ps3fb.h", "PS3FB_IOCTL_ON", 0x7204},
|
||||
{"asm/ps3fb.h", "PS3FB_IOCTL_OFF", 0x7205},
|
||||
{"asm/ps3fb.h", "PS3FB_IOCTL_FSEL", 0x7206},
|
||||
{"asm/ioctls.h", "TIOCGETP", 0x7408},
|
||||
{"asm/ioctls.h", "TIOCSETP", 0x7409},
|
||||
{"asm/ioctls.h", "TIOCSETN", 0x740a},
|
||||
{"asm/ioctls.h", "TIOCSETC", 0x7411},
|
||||
{"asm/ioctls.h", "TIOCGETC", 0x7412},
|
||||
{"asm/ioctls.h", "TCGETS", 0x7413},
|
||||
{"asm/ioctls.h", "TCSETS", 0x7414},
|
||||
{"asm/ioctls.h", "TCSETSW", 0x7415},
|
||||
{"asm/ioctls.h", "TCSETSF", 0x7416},
|
||||
{"asm/ioctls.h", "TCGETA", 0x7417},
|
||||
{"asm/ioctls.h", "TCSETA", 0x7418},
|
||||
{"asm/ioctls.h", "TCSETAW", 0x7419},
|
||||
{"asm/ioctls.h", "TCSETAF", 0x741c},
|
||||
{"asm/ioctls.h", "TCSBRK", 0x741d},
|
||||
{"asm/ioctls.h", "TCXONC", 0x741e},
|
||||
{"asm/ioctls.h", "TCFLSH", 0x741f},
|
||||
{"asm/ioctls.h", "TIOCSWINSZ", 0x7467},
|
||||
{"asm/ioctls.h", "TIOCGWINSZ", 0x7468},
|
||||
{"asm/ioctls.h", "TIOCSTART", 0x746e},
|
||||
{"asm/ioctls.h", "TIOCSTOP", 0x746f},
|
||||
{"asm/ioctls.h", "TIOCOUTQ", 0x7473},
|
||||
{"asm/ioctls.h", "TIOCGLTC", 0x7474},
|
||||
{"asm/ioctls.h", "TIOCSLTC", 0x7475},
|
||||
{"asm/ioctls.h", "TIOCSPGRP", 0x7476},
|
||||
{"asm/ioctls.h", "TIOCGPGRP", 0x7477},
|
||||
{"asm/sockios.h", "FIOSETOWN", 0x8901},
|
||||
{"asm/sockios.h", "SIOCSPGRP", 0x8902},
|
||||
{"asm/sockios.h", "FIOGETOWN", 0x8903},
|
||||
{"asm/sockios.h", "SIOCGPGRP", 0x8904},
|
||||
{"asm/sockios.h", "SIOCATMARK", 0x8905},
|
||||
{"asm/sockios.h", "SIOCGSTAMP", 0x8906},
|
||||
{"asm/sockios.h", "SIOCGSTAMPNS", 0x8907},
|
92
linux/powerpc/ioctls_arch0.h
Normal file
92
linux/powerpc/ioctls_arch0.h
Normal file
@ -0,0 +1,92 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/powerpc/include/ tree. */
|
||||
{ "asm/ioctls.h", "FIOASYNC", _IOC_WRITE, 0x667d, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", _IOC_NONE, 0x6601, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONBIO", _IOC_WRITE, 0x667e, 0x04 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", _IOC_NONE, 0x6602, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONREAD", _IOC_READ, 0x667f, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 },
|
||||
{ "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x741f, 0x00 },
|
||||
{ "asm/ioctls.h", "TCGETA", _IOC_READ, 0x7417, 0x14 },
|
||||
{ "asm/ioctls.h", "TCGETS", _IOC_READ, 0x7413, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x741d, 0x00 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", 0, 0x5425, 0 },
|
||||
{ "asm/ioctls.h", "TCSETA", _IOC_WRITE, 0x7418, 0x14 },
|
||||
{ "asm/ioctls.h", "TCSETAF", _IOC_WRITE, 0x741c, 0x14 },
|
||||
{ "asm/ioctls.h", "TCSETAW", _IOC_WRITE, 0x7419, 0x14 },
|
||||
{ "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x7414, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x7416, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x7415, 0x2c },
|
||||
{ "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x741e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", 0, 0x5428, 0 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", 0, 0x541D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", 0, 0x540C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETC", _IOC_READ, 0x7412, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", 0, 0x5424, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGETP", _IOC_READ, 0x7408, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLTC", _IOC_READ, 0x7474, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7477, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x5430, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", 0, 0x542e, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSERIAL", 0, 0x541E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", 0, 0x5429, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", 0, 0x5419, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGWINSZ", _IOC_READ, 0x7468, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", 0, 0x541C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", 0, 0x5417, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", 0, 0x5416, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", 0, 0x5415, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", 0, 0x545C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", 0, 0x5418, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", 0, 0x5422, 0 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", 0, 0x540D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", 0, 0x5420, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", 0, 0x5427, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", 0, 0x540E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5453, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x5459, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x545A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x5458, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5454, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x545B, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", 0, 0x5455, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETC", _IOC_WRITE, 0x7411, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", 0, 0x5423, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETN", _IOC_WRITE, 0x740a, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSETP", _IOC_WRITE, 0x7409, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSLTC", _IOC_WRITE, 0x7475, 0x06 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7476, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", 0, 0x542f, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSSERIAL", 0, 0x541F, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", 0, 0x541A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", 0, 0x5412, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSWINSZ", _IOC_WRITE, 0x7467, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", 0, 0x5437, 0 },
|
||||
{ "asm/nvram.h", "IOC_NVRAM_GET_OFFSET", _IOC_READ|_IOC_WRITE, 0x7042, 0x04 },
|
||||
{ "asm/nvram.h", "IOC_NVRAM_SYNC", _IOC_NONE, 0x7043, 0x00 },
|
||||
{ "asm/nvram.h", "OBSOLETE_PMAC_NVRAM_GET_OFFSET", _IOC_READ|_IOC_WRITE, 0x7040, 0x04 },
|
||||
{ "asm/ps3fb.h", "FBIO_WAITFORVSYNC", _IOC_WRITE, 0x4620, 0x04 },
|
||||
{ "asm/ps3fb.h", "PS3FB_IOCTL_FSEL", _IOC_WRITE, 0x7206, 0x04 },
|
||||
{ "asm/ps3fb.h", "PS3FB_IOCTL_GETMODE", _IOC_READ, 0x7202, 0x04 },
|
||||
{ "asm/ps3fb.h", "PS3FB_IOCTL_OFF", _IOC_NONE, 0x7205, 0x00 },
|
||||
{ "asm/ps3fb.h", "PS3FB_IOCTL_ON", _IOC_NONE, 0x7204, 0x00 },
|
||||
{ "asm/ps3fb.h", "PS3FB_IOCTL_SCREENINFO", _IOC_READ, 0x7203, 0x04 },
|
||||
{ "asm/ps3fb.h", "PS3FB_IOCTL_SETMODE", _IOC_WRITE, 0x7201, 0x04 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", 0, 0x8903, 0 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", 0, 0x8901, 0 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", 0, 0x8905, 0 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", 0, 0x8904, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", 0, 0x8902, 0 },
|
1
linux/powerpc/ioctls_inc0.h
Normal file
1
linux/powerpc/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../ioctlent.h"
|
@ -1 +0,0 @@
|
||||
#include "../ioctlent.h"
|
1
linux/powerpc64/ioctls_arch0.h
Normal file
1
linux/powerpc64/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "powerpc/ioctls_arch0.h"
|
1
linux/powerpc64/ioctls_arch1.h
Normal file
1
linux/powerpc64/ioctls_arch1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "powerpc/ioctls_arch0.h"
|
1
linux/powerpc64/ioctls_inc0.h
Normal file
1
linux/powerpc64/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
1
linux/powerpc64/ioctls_inc1.h
Normal file
1
linux/powerpc64/ioctls_inc1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "powerpc/ioctls_inc0.h"
|
@ -1,49 +0,0 @@
|
||||
{"asm/dasd.h", "BIODASDDISABLE", 0x4400},
|
||||
{"asm/dasd.h", "DASDAPIVER", 0x4400},
|
||||
{"asm/dasd.h", "BIODASDENABLE", 0x4401},
|
||||
{"asm/dasd.h", "BIODASDFMT", 0x4401},
|
||||
{"asm/dasd.h", "BIODASDINFO", 0x4401},
|
||||
{"asm/dasd.h", "BIODASDSNID", 0x4401},
|
||||
{"asm/dasd.h", "BIODASDPRRD", 0x4402},
|
||||
{"asm/dasd.h", "BIODASDRSRV", 0x4402},
|
||||
{"asm/dasd.h", "BIODASDSATTR", 0x4402},
|
||||
{"asm/dasd.h", "BIODASDINFO2", 0x4403},
|
||||
{"asm/dasd.h", "BIODASDRLSE", 0x4403},
|
||||
{"asm/dasd.h", "BIODASDPSRD", 0x4404},
|
||||
{"asm/dasd.h", "BIODASDSLCK", 0x4404},
|
||||
{"asm/dasd.h", "BIODASDGATTR", 0x4405},
|
||||
{"asm/dasd.h", "BIODASDPRRST", 0x4405},
|
||||
{"asm/dasd.h", "BIODASDQUIESCE", 0x4406},
|
||||
{"asm/dasd.h", "BIODASDRESUME", 0x4407},
|
||||
{"asm/cmb.h", "BIODASDCMFENABLE", 0x4420},
|
||||
{"asm/cmb.h", "BIODASDCMFDISABLE", 0x4421},
|
||||
{"asm/cmb.h", "BIODASDREADALLCMB", 0x4421},
|
||||
{"asm/dasd.h", "BIODASDSYMMIO", 0x44f0},
|
||||
{"asm/ioctls.h", "FIOQSIZE", 0x545e},
|
||||
{"asm/chsc.h", "CHSC_START", 0x6381},
|
||||
{"asm/chsc.h", "CHSC_INFO_CHANNEL_PATH", 0x6382},
|
||||
{"asm/chsc.h", "CHSC_INFO_CU", 0x6383},
|
||||
{"asm/chsc.h", "CHSC_INFO_SCH_CU", 0x6384},
|
||||
{"asm/chsc.h", "CHSC_INFO_CI", 0x6385},
|
||||
{"asm/chsc.h", "CHSC_INFO_CCL", 0x6386},
|
||||
{"asm/chsc.h", "CHSC_INFO_CPD", 0x6387},
|
||||
{"asm/chsc.h", "CHSC_INFO_DCAL", 0x6388},
|
||||
{"asm/tape390.h", "TAPE390_DISPLAY", 0x6401},
|
||||
{"asm/tape390.h", "TAPE390_CRYPT_SET", 0x6402},
|
||||
{"asm/tape390.h", "TAPE390_CRYPT_QUERY", 0x6403},
|
||||
{"asm/tape390.h", "TAPE390_KEKL_SET", 0x6404},
|
||||
{"asm/tape390.h", "TAPE390_KEKL_QUERY", 0x6405},
|
||||
{"asm/zcrypt.h", "Z90STAT_TOTALCOUNT", 0x7a40},
|
||||
{"asm/zcrypt.h", "Z90STAT_PCICACOUNT", 0x7a41},
|
||||
{"asm/zcrypt.h", "Z90STAT_PCICCCOUNT", 0x7a42},
|
||||
{"asm/zcrypt.h", "Z90STAT_REQUESTQ_COUNT", 0x7a44},
|
||||
{"asm/zcrypt.h", "Z90STAT_PENDINGQ_COUNT", 0x7a45},
|
||||
{"asm/zcrypt.h", "Z90STAT_TOTALOPEN_COUNT", 0x7a46},
|
||||
{"asm/zcrypt.h", "Z90STAT_DOMAIN_INDEX", 0x7a47},
|
||||
{"asm/zcrypt.h", "Z90STAT_STATUS_MASK", 0x7a48},
|
||||
{"asm/zcrypt.h", "Z90STAT_QDEPTH_MASK", 0x7a49},
|
||||
{"asm/zcrypt.h", "Z90STAT_PERDEV_REQCNT", 0x7a4a},
|
||||
{"asm/zcrypt.h", "Z90STAT_PCIXCCMCL2COUNT", 0x7a4b},
|
||||
{"asm/zcrypt.h", "Z90STAT_PCIXCCMCL3COUNT", 0x7a4c},
|
||||
{"asm/zcrypt.h", "Z90STAT_CEX2CCOUNT", 0x7a4d},
|
||||
{"asm/zcrypt.h", "Z90STAT_CEX2ACOUNT", 0x7a4e},
|
59
linux/s390/ioctls_arch0.h
Normal file
59
linux/s390/ioctls_arch0.h
Normal file
@ -0,0 +1,59 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/s390/include/ tree. */
|
||||
{ "asm/chsc.h", "CHSC_INFO_CCL", _IOC_READ|_IOC_WRITE, 0x6386, 0x1014 },
|
||||
{ "asm/chsc.h", "CHSC_INFO_CHANNEL_PATH", _IOC_READ|_IOC_WRITE, 0x6382, 0x100c },
|
||||
{ "asm/chsc.h", "CHSC_INFO_CI", _IOC_READ|_IOC_WRITE, 0x6385, 0x100c },
|
||||
{ "asm/chsc.h", "CHSC_INFO_CPD", _IOC_READ|_IOC_WRITE, 0x6387, 0x1014 },
|
||||
{ "asm/chsc.h", "CHSC_INFO_CU", _IOC_READ|_IOC_WRITE, 0x6383, 0x100c },
|
||||
{ "asm/chsc.h", "CHSC_INFO_DCAL", _IOC_READ|_IOC_WRITE, 0x6388, 0x1010 },
|
||||
{ "asm/chsc.h", "CHSC_INFO_SCH_CU", _IOC_READ|_IOC_WRITE, 0x6384, 0x1008 },
|
||||
{ "asm/chsc.h", "CHSC_ON_CLOSE_REMOVE", _IOC_NONE, 0x638b, 0x00 },
|
||||
{ "asm/chsc.h", "CHSC_ON_CLOSE_SET", _IOC_READ|_IOC_WRITE, 0x638a, 0x1000 },
|
||||
{ "asm/chsc.h", "CHSC_START", _IOC_READ|_IOC_WRITE, 0x6381, 0x1000 },
|
||||
{ "asm/chsc.h", "CHSC_START_SYNC", _IOC_READ|_IOC_WRITE, 0x6389, 0x1000 },
|
||||
{ "asm/cmb.h", "BIODASDCMFDISABLE", _IOC_NONE, 0x4421, 0x00 },
|
||||
{ "asm/cmb.h", "BIODASDCMFENABLE", _IOC_NONE, 0x4420, 0x00 },
|
||||
{ "asm/cmb.h", "BIODASDREADALLCMB", _IOC_READ|_IOC_WRITE, 0x4421, 0x58 },
|
||||
{ "asm/dasd.h", "BIODASDABORTIO", _IOC_NONE, 0x44f0, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDALLOWIO", _IOC_NONE, 0x44f1, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDDISABLE", _IOC_NONE, 0x4400, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDENABLE", _IOC_NONE, 0x4401, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDFMT", _IOC_WRITE, 0x4401, 0x10 },
|
||||
{ "asm/dasd.h", "BIODASDGATTR", _IOC_READ, 0x4405, 0x20 },
|
||||
{ "asm/dasd.h", "BIODASDINFO", _IOC_READ, 0x4401, 0x178 },
|
||||
{ "asm/dasd.h", "BIODASDINFO2", _IOC_READ, 0x4403, 0x1a0 },
|
||||
{ "asm/dasd.h", "BIODASDPRRD", _IOC_READ, 0x4402, 0x408 },
|
||||
{ "asm/dasd.h", "BIODASDPRRST", _IOC_NONE, 0x4405, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDPSRD", _IOC_READ, 0x4404, 0xc0 },
|
||||
{ "asm/dasd.h", "BIODASDQUIESCE", _IOC_NONE, 0x4406, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDRESUME", _IOC_NONE, 0x4407, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDRLSE", _IOC_NONE, 0x4403, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDRSRV", _IOC_NONE, 0x4402, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDSATTR", _IOC_WRITE, 0x4402, 0x20 },
|
||||
{ "asm/dasd.h", "BIODASDSLCK", _IOC_NONE, 0x4404, 0x00 },
|
||||
{ "asm/dasd.h", "BIODASDSNID", _IOC_READ|_IOC_WRITE, 0x4401, 0x0d },
|
||||
{ "asm/dasd.h", "BIODASDSYMMIO", _IOC_READ|_IOC_WRITE, 0x44f0, 0x20 },
|
||||
{ "asm/dasd.h", "DASDAPIVER", _IOC_READ, 0x4400, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", 0, 0x545E, 0 },
|
||||
{ "asm/tape390.h", "TAPE390_CRYPT_QUERY", _IOC_READ, 0x6403, 0x03 },
|
||||
{ "asm/tape390.h", "TAPE390_CRYPT_SET", _IOC_WRITE, 0x6402, 0x03 },
|
||||
{ "asm/tape390.h", "TAPE390_DISPLAY", _IOC_WRITE, 0x6401, 0x11 },
|
||||
{ "asm/tape390.h", "TAPE390_KEKL_QUERY", _IOC_READ, 0x6405, 0x86 },
|
||||
{ "asm/tape390.h", "TAPE390_KEKL_SET", _IOC_WRITE, 0x6404, 0x86 },
|
||||
{ "asm/zcrypt.h", "ICARSACRT", _IOC_READ|_IOC_WRITE, 0x7a06, 0x00 },
|
||||
{ "asm/zcrypt.h", "ICARSAMODEXPO", _IOC_READ|_IOC_WRITE, 0x7a05, 0x00 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_CEX2ACOUNT", _IOC_READ, 0x7a4e, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_CEX2CCOUNT", _IOC_READ, 0x7a4d, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_DOMAIN_INDEX", _IOC_READ, 0x7a47, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_PCICACOUNT", _IOC_READ, 0x7a41, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_PCICCCOUNT", _IOC_READ, 0x7a42, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_PCIXCCMCL2COUNT", _IOC_READ, 0x7a4b, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_PCIXCCMCL3COUNT", _IOC_READ, 0x7a4c, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_PENDINGQ_COUNT", _IOC_READ, 0x7a45, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_PERDEV_REQCNT", _IOC_READ, 0x7a4a, 0x100 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_QDEPTH_MASK", _IOC_READ, 0x7a49, 0x40 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_REQUESTQ_COUNT", _IOC_READ, 0x7a44, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_STATUS_MASK", _IOC_READ, 0x7a48, 0x40 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_TOTALCOUNT", _IOC_READ, 0x7a40, 0x04 },
|
||||
{ "asm/zcrypt.h", "Z90STAT_TOTALOPEN_COUNT", _IOC_READ, 0x7a46, 0x04 },
|
||||
{ "asm/zcrypt.h", "ZSECSENDCPRB", _IOC_READ|_IOC_WRITE, 0x7a81, 0x00 },
|
||||
{ "asm/zcrypt.h", "ZSENDEP11CPRB", _IOC_READ|_IOC_WRITE, 0x7a04, 0x00 },
|
1
linux/s390/ioctls_inc0.h
Normal file
1
linux/s390/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../s390/ioctlent.h.in"
|
1
linux/s390x/ioctls_arch0.h
Normal file
1
linux/s390x/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "s390/ioctls_arch0.h"
|
1
linux/s390x/ioctls_inc0.h
Normal file
1
linux/s390x/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
@ -1,65 +0,0 @@
|
||||
{"asm/ioctls.h", "TCGETS", 0x5401},
|
||||
{"asm/ioctls.h", "TCSETS", 0x5402},
|
||||
{"asm/ioctls.h", "TCSETSW", 0x5403},
|
||||
{"asm/ioctls.h", "TCSETSF", 0x5404},
|
||||
{"asm/ioctls.h", "TIOCEXCL", 0x540c},
|
||||
{"asm/ioctls.h", "TIOCNXCL", 0x540d},
|
||||
{"asm/ioctls.h", "TIOCSCTTY", 0x540e},
|
||||
{"asm/ioctls.h", "TIOCSTI", 0x5412},
|
||||
{"asm/ioctls.h", "TIOCMGET", 0x5415},
|
||||
{"asm/ioctls.h", "TIOCMBIS", 0x5416},
|
||||
{"asm/ioctls.h", "TIOCMBIC", 0x5417},
|
||||
{"asm/ioctls.h", "TIOCMSET", 0x5418},
|
||||
{"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419},
|
||||
{"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a},
|
||||
{"asm/ioctls.h", "TIOCLINUX", 0x541c},
|
||||
{"asm/ioctls.h", "TIOCCONS", 0x541d},
|
||||
{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
|
||||
{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
|
||||
{"asm/ioctls.h", "TIOCPKT", 0x5420},
|
||||
{"asm/ioctls.h", "TIOCNOTTY", 0x5422},
|
||||
{"asm/ioctls.h", "TIOCSETD", 0x5423},
|
||||
{"asm/ioctls.h", "TIOCGETD", 0x5424},
|
||||
{"asm/ioctls.h", "TCSBRKP", 0x5425},
|
||||
{"asm/ioctls.h", "TIOCTTYGSTRUCT", 0x5426},
|
||||
{"asm/ioctls.h", "TIOCSBRK", 0x5427},
|
||||
{"asm/ioctls.h", "TIOCCBRK", 0x5428},
|
||||
{"asm/ioctls.h", "TIOCGSID", 0x5429},
|
||||
{"asm/ioctls.h", "TIOCGPTN", 0x5430},
|
||||
{"asm/ioctls.h", "TIOCSPTLCK", 0x5431},
|
||||
{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
|
||||
{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
|
||||
{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
|
||||
{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
|
||||
{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
|
||||
{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
|
||||
{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
|
||||
{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
|
||||
{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
|
||||
{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
|
||||
{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
|
||||
{"asm/ioctls.h", "FIOCLEX", 0x6601},
|
||||
{"asm/ioctls.h", "FIONCLEX", 0x6602},
|
||||
{"asm/sockios.h", "FIOGETOWN", 0x667b},
|
||||
{"asm/sockios.h", "FIOSETOWN", 0x667c},
|
||||
{"asm/ioctls.h", "FIOASYNC", 0x667d},
|
||||
{"asm/ioctls.h", "FIONBIO", 0x667e},
|
||||
{"asm/ioctls.h", "FIONREAD", 0x667f},
|
||||
{"asm/sockios.h", "SIOCATMARK", 0x7307},
|
||||
{"asm/sockios.h", "SIOCSPGRP", 0x7308},
|
||||
{"asm/sockios.h", "SIOCGPGRP", 0x7309},
|
||||
{"asm/sockios.h", "SIOCGSTAMP", 0x7364},
|
||||
{"asm/ioctls.h", "TCGETA", 0x7417},
|
||||
{"asm/ioctls.h", "TCSETA", 0x7418},
|
||||
{"asm/ioctls.h", "TCSETAW", 0x7419},
|
||||
{"asm/ioctls.h", "TCSETAF", 0x741c},
|
||||
{"asm/ioctls.h", "TCSBRK", 0x741d},
|
||||
{"asm/ioctls.h", "TCXONC", 0x741e},
|
||||
{"asm/ioctls.h", "TCFLSH", 0x741f},
|
||||
{"asm/ioctls.h", "TIOCSWINSZ", 0x7467},
|
||||
{"asm/ioctls.h", "TIOCGWINSZ", 0x7468},
|
||||
{"asm/ioctls.h", "TIOCSTART", 0x746e},
|
||||
{"asm/ioctls.h", "TIOCSTOP", 0x746f},
|
||||
{"asm/ioctls.h", "TIOCOUTQ", 0x7473},
|
||||
{"asm/ioctls.h", "TIOCSPGRP", 0x7476},
|
||||
{"asm/ioctls.h", "TIOCGPGRP", 0x7477},
|
77
linux/sh/ioctls_arch0.h
Normal file
77
linux/sh/ioctls_arch0.h
Normal file
@ -0,0 +1,77 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/sh/include/ tree. */
|
||||
{ "asm/ioctls.h", "FIOASYNC", _IOC_WRITE, 0x667d, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", _IOC_NONE, 0x6601, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONBIO", _IOC_WRITE, 0x667e, 0x04 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", _IOC_NONE, 0x6602, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONREAD", _IOC_READ, 0x667f, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 },
|
||||
{ "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x741f, 0x00 },
|
||||
{ "asm/ioctls.h", "TCGETS", 0, 0x5401, 0 },
|
||||
{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x542a, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x741d, 0x00 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", _IOC_WRITE, 0x5425, 0x04 },
|
||||
{ "asm/ioctls.h", "TCSETS", 0, 0x5402, 0 },
|
||||
{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x542b, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSF", 0, 0x5404, 0 },
|
||||
{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x542d, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSW", 0, 0x5403, 0 },
|
||||
{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x542c, 0x2c },
|
||||
{ "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x741e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", _IOC_NONE, 0x5428, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", _IOC_NONE, 0x541d, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", _IOC_NONE, 0x540c, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", _IOC_READ, 0x5424, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7477, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x5430, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", _IOC_READ, 0x542e, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", _IOC_READ, 0x5429, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", _IOC_READ, 0x5419, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", _IOC_WRITE, 0x541c, 0x01 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", _IOC_WRITE, 0x5417, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", _IOC_WRITE, 0x5416, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", _IOC_READ, 0x5415, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", _IOC_NONE, 0x545c, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", _IOC_WRITE, 0x5418, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", _IOC_NONE, 0x5422, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", _IOC_NONE, 0x540d, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", _IOC_WRITE, 0x5420, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", _IOC_NONE, 0x5427, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", _IOC_NONE, 0x540e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", _IOC_NONE, 0x5453, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", _IOC_READ, 0x5459, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", _IOC_READ, 0x5454, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", _IOC_WRITE, 0x5455, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", _IOC_WRITE, 0x5423, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7476, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", _IOC_READ|_IOC_WRITE, 0x542f, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", _IOC_WRITE, 0x541a, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", _IOC_WRITE, 0x5412, 0x01 },
|
||||
{ "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", _IOC_NONE, 0x5437, 0x00 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", _IOC_READ, 0x667b, 0x04 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", _IOC_WRITE, 0x667c, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", _IOC_READ, 0x7307, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", _IOC_READ, 0x7309, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", _IOC_READ, 0x7364, 0x08 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", _IOC_READ, 0x7365, 0x08 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", _IOC_WRITE, 0x7308, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCGGIODATA1", _IOC_READ, 0x6b02, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCGGIODATA2", _IOC_READ, 0x6b04, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCGGIODATA4", _IOC_READ, 0x6b06, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCHARDRESET", _IOC_NONE, 0x6b08, 0x00 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCRESET", _IOC_NONE, 0x6b00, 0x00 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIODATA1", _IOC_WRITE, 0x6b01, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIODATA2", _IOC_WRITE, 0x6b03, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIODATA4", _IOC_WRITE, 0x6b05, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIOSETADDR", _IOC_WRITE, 0x6b07, 0x04 },
|
1
linux/sh/ioctls_inc0.h
Normal file
1
linux/sh/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../sh/ioctlent.h.in"
|
77
linux/sh64/ioctls_arch0.h
Normal file
77
linux/sh64/ioctls_arch0.h
Normal file
@ -0,0 +1,77 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/sh/include/ tree. */
|
||||
{ "asm/ioctls.h", "FIOASYNC", _IOC_WRITE, 0x667d, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", _IOC_NONE, 0x6601, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONBIO", _IOC_WRITE, 0x667e, 0x04 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", _IOC_NONE, 0x6602, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONREAD", _IOC_READ, 0x667f, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 },
|
||||
{ "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x741f, 0x00 },
|
||||
{ "asm/ioctls.h", "TCGETS", 0, 0x5401, 0 },
|
||||
{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x542a, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x741d, 0x00 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", _IOC_WRITE, 0x5425, 0x04 },
|
||||
{ "asm/ioctls.h", "TCSETS", 0, 0x5402, 0 },
|
||||
{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x542b, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSF", 0, 0x5404, 0 },
|
||||
{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x542d, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSW", 0, 0x5403, 0 },
|
||||
{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x542c, 0x2c },
|
||||
{ "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x741e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", _IOC_NONE, 0x5428, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", _IOC_NONE, 0x541d, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", _IOC_NONE, 0x540c, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", _IOC_READ, 0x5424, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7477, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x5430, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", _IOC_READ, 0x542e, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", _IOC_READ, 0x5429, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", _IOC_READ, 0x5419, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", _IOC_WRITE, 0x541c, 0x01 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", _IOC_WRITE, 0x5417, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", _IOC_WRITE, 0x5416, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", _IOC_READ, 0x5415, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", _IOC_NONE, 0x545c, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", _IOC_WRITE, 0x5418, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", _IOC_NONE, 0x5422, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", _IOC_NONE, 0x540d, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", _IOC_WRITE, 0x5420, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", _IOC_NONE, 0x5427, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", _IOC_NONE, 0x540e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", _IOC_NONE, 0x5453, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", _IOC_READ, 0x5459, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", _IOC_READ, 0x5454, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", _IOC_WRITE, 0x5455, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", _IOC_WRITE, 0x5423, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7476, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", _IOC_READ|_IOC_WRITE, 0x542f, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", _IOC_WRITE, 0x541a, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", _IOC_WRITE, 0x5412, 0x01 },
|
||||
{ "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", _IOC_NONE, 0x5437, 0x00 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", _IOC_READ, 0x667b, 0x04 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", _IOC_WRITE, 0x667c, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", _IOC_READ, 0x7307, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", _IOC_READ, 0x7309, 0x04 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", _IOC_READ, 0x7364, 0x10 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", _IOC_READ, 0x7365, 0x10 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", _IOC_WRITE, 0x7308, 0x04 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCGGIODATA1", _IOC_READ, 0x6b02, 0x08 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCGGIODATA2", _IOC_READ, 0x6b04, 0x08 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCGGIODATA4", _IOC_READ, 0x6b06, 0x08 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCHARDRESET", _IOC_NONE, 0x6b08, 0x00 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCRESET", _IOC_NONE, 0x6b00, 0x00 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIODATA1", _IOC_WRITE, 0x6b01, 0x08 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIODATA2", _IOC_WRITE, 0x6b03, 0x08 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIODATA4", _IOC_WRITE, 0x6b05, 0x08 },
|
||||
{ "mach-landisk/mach/gio.h", "GIODRV_IOCSGIOSETADDR", _IOC_WRITE, 0x6b07, 0x08 },
|
1
linux/sh64/ioctls_inc0.h
Normal file
1
linux/sh64/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
@ -1,120 +0,0 @@
|
||||
{"asm/apc.h", "APCIOCGFANCTL", 0x4100},
|
||||
{"asm/apc.h", "APCIOCSFANCTL", 0x4101},
|
||||
{"asm/apc.h", "APCIOCGCPWR", 0x4102},
|
||||
{"asm/apc.h", "APCIOCSCPWR", 0x4103},
|
||||
{"asm/apc.h", "APCIOCGBPORT", 0x4104},
|
||||
{"asm/apc.h", "APCIOCSBPORT", 0x4105},
|
||||
{"asm/fbio.h", "FBIOGTYPE", 0x4600},
|
||||
{"asm/fbio.h", "FBIOPUTCMAP", 0x4603},
|
||||
{"asm/fbio.h", "FBIOSATTR", 0x4605},
|
||||
{"asm/fbio.h", "FBIOGATTR", 0x4606},
|
||||
{"asm/fbio.h", "FBIOSVIDEO", 0x4607},
|
||||
{"asm/fbio.h", "FBIOGVIDEO", 0x4608},
|
||||
{"asm/fbio.h", "FBIOSCURSOR", 0x4618},
|
||||
{"asm/fbio.h", "FBIOGCURSOR", 0x4619},
|
||||
{"asm/fbio.h", "FBIOSCURPOS", 0x461a},
|
||||
{"asm/fbio.h", "FBIOGCURPOS", 0x461b},
|
||||
{"asm/fbio.h", "FBIOGCURMAX", 0x461c},
|
||||
{"asm/fbio.h", "FBIO_WID_ALLOC", 0x461e},
|
||||
{"asm/fbio.h", "FBIO_WID_FREE", 0x461f},
|
||||
{"asm/fbio.h", "FBIO_WID_PUT", 0x4620},
|
||||
{"asm/fbio.h", "FBIO_WID_GET", 0x4621},
|
||||
{"asm/fbio.h", "LEO_CLUTALLOC", 0x4c35},
|
||||
{"asm/fbio.h", "LEO_CLUTFREE", 0x4c36},
|
||||
{"asm/fbio.h", "LEO_CLUTREAD", 0x4c37},
|
||||
{"asm/fbio.h", "LEO_CLUTPOST", 0x4c38},
|
||||
{"asm/fbio.h", "LEO_SETGAMMA", 0x4c44},
|
||||
{"asm/fbio.h", "LEO_GETGAMMA", 0x4c45},
|
||||
{"asm/openpromio.h", "OPIOCGET", 0x4f01},
|
||||
{"asm/openpromio.h", "OPIOCSET", 0x4f02},
|
||||
{"asm/openpromio.h", "OPIOCNEXTPROP", 0x4f03},
|
||||
{"asm/openpromio.h", "OPIOCGETOPTNODE", 0x4f04},
|
||||
{"asm/openpromio.h", "OPIOCGETNEXT", 0x4f05},
|
||||
{"asm/openpromio.h", "OPIOCGETCHILD", 0x4f06},
|
||||
{"asm/ioctls.h", "TCGETA", 0x5401},
|
||||
{"asm/ioctls.h", "TCSETA", 0x5402},
|
||||
{"asm/ioctls.h", "TCSETAW", 0x5403},
|
||||
{"asm/ioctls.h", "TCSETAF", 0x5404},
|
||||
{"asm/ioctls.h", "TCSBRK", 0x5405},
|
||||
{"asm/ioctls.h", "TCXONC", 0x5406},
|
||||
{"asm/ioctls.h", "TCFLSH", 0x5407},
|
||||
{"asm/ioctls.h", "TCGETS", 0x5408},
|
||||
{"asm/ioctls.h", "TCSETS", 0x5409},
|
||||
{"asm/ioctls.h", "TCSETSW", 0x540a},
|
||||
{"asm/ioctls.h", "TCSETSF", 0x540b},
|
||||
{"asm/ioctls.h", "TCGETS2", 0x540c},
|
||||
{"asm/ioctls.h", "TCSETS2", 0x540d},
|
||||
{"asm/ioctls.h", "TCSETSW2", 0x540e},
|
||||
{"asm/ioctls.h", "TCSETSF2", 0x540f},
|
||||
{"asm/ioctls.h", "TIOCLINUX", 0x541c},
|
||||
{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
|
||||
{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
|
||||
{"asm/ioctls.h", "TCSBRKP", 0x5425},
|
||||
{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
|
||||
{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
|
||||
{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
|
||||
{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
|
||||
{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
|
||||
{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
|
||||
{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
|
||||
{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
|
||||
{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
|
||||
{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
|
||||
{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
|
||||
{"asm/watchdog.h", "WIOCSTART", 0x570a},
|
||||
{"asm/watchdog.h", "WIOCSTOP", 0x570b},
|
||||
{"asm/watchdog.h", "WIOCGSTAT", 0x570c},
|
||||
{"asm/ioctls.h", "FIOCLEX", 0x6601},
|
||||
{"asm/ioctls.h", "FIONCLEX", 0x6602},
|
||||
{"asm/ioctls.h", "FIOASYNC", 0x667d},
|
||||
{"asm/ioctls.h", "FIONBIO", 0x667e},
|
||||
{"asm/ioctls.h", "FIONREAD", 0x667f},
|
||||
{"asm/ioctls.h", "FIOQSIZE", 0x6680},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_CPU_TEMPERATURE", 0x7040},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_CPU_VOLTAGE", 0x7041},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_FAN_STATUS", 0x7042},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_WARNING_TEMPERATURE", 0x7043},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_SHUTDOWN_TEMPERATURE", 0x7044},
|
||||
{"asm/display7seg.h", "D7SIOCRD", 0x7045},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_VOLTAGE_STATUS", 0x7045},
|
||||
{"asm/display7seg.h", "D7SIOCWR", 0x7046},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_SCSI_TEMPERATURE", 0x7046},
|
||||
{"asm/display7seg.h", "D7SIOCTM", 0x7047},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_ETHERNET_TEMPERATURE", 0x7047},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_MTHRBD_TEMPERATURE", 0x7048},
|
||||
{"asm/envctrl.h", "ENVCTRL_RD_GLOBALADDRESS", 0x7049},
|
||||
{"asm/ioctls.h", "TIOCGETD", 0x7400},
|
||||
{"asm/ioctls.h", "TIOCSETD", 0x7401},
|
||||
{"asm/ioctls.h", "TIOCEXCL", 0x740d},
|
||||
{"asm/ioctls.h", "TIOCNXCL", 0x740e},
|
||||
{"asm/ioctls.h", "TIOCCONS", 0x7424},
|
||||
{"asm/ioctls.h", "TIOCGSOFTCAR", 0x7464},
|
||||
{"asm/ioctls.h", "TIOCSSOFTCAR", 0x7465},
|
||||
{"asm/ioctls.h", "TIOCSWINSZ", 0x7467},
|
||||
{"asm/ioctls.h", "TIOCGWINSZ", 0x7468},
|
||||
{"asm/ioctls.h", "TIOCMGET", 0x746a},
|
||||
{"asm/ioctls.h", "TIOCMBIC", 0x746b},
|
||||
{"asm/ioctls.h", "TIOCMBIS", 0x746c},
|
||||
{"asm/ioctls.h", "TIOCMSET", 0x746d},
|
||||
{"asm/ioctls.h", "TIOCSTART", 0x746e},
|
||||
{"asm/ioctls.h", "TIOCSTOP", 0x746f},
|
||||
{"asm/ioctls.h", "TIOCPKT", 0x7470},
|
||||
{"asm/ioctls.h", "TIOCNOTTY", 0x7471},
|
||||
{"asm/ioctls.h", "TIOCSTI", 0x7472},
|
||||
{"asm/ioctls.h", "TIOCOUTQ", 0x7473},
|
||||
{"asm/ioctls.h", "TIOCCBRK", 0x747a},
|
||||
{"asm/ioctls.h", "TIOCSBRK", 0x747b},
|
||||
{"asm/ioctls.h", "TIOCSPGRP", 0x7482},
|
||||
{"asm/ioctls.h", "TIOCGPGRP", 0x7483},
|
||||
{"asm/ioctls.h", "TIOCSCTTY", 0x7484},
|
||||
{"asm/ioctls.h", "TIOCGSID", 0x7485},
|
||||
{"asm/ioctls.h", "TIOCGPTN", 0x7486},
|
||||
{"asm/ioctls.h", "TIOCSPTLCK", 0x7487},
|
||||
{"asm/ioctls.h", "TIOCSIG", 0x7488},
|
||||
{"asm/sockios.h", "FIOSETOWN", 0x8901},
|
||||
{"asm/sockios.h", "SIOCSPGRP", 0x8902},
|
||||
{"asm/sockios.h", "FIOGETOWN", 0x8903},
|
||||
{"asm/sockios.h", "SIOCGPGRP", 0x8904},
|
||||
{"asm/sockios.h", "SIOCATMARK", 0x8905},
|
||||
{"asm/sockios.h", "SIOCGSTAMP", 0x8906},
|
||||
{"asm/sockios.h", "SIOCGSTAMPNS", 0x8907},
|
129
linux/sparc/ioctls_arch0.h
Normal file
129
linux/sparc/ioctls_arch0.h
Normal file
@ -0,0 +1,129 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/sparc/include/ tree. */
|
||||
{ "asm/apc.h", "APCIOCGBPORT", _IOC_READ, 0x4104, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCGCPWR", _IOC_READ, 0x4102, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCGFANCTL", _IOC_READ, 0x4100, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCSBPORT", _IOC_WRITE, 0x4105, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCSCPWR", _IOC_WRITE, 0x4103, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCSFANCTL", _IOC_WRITE, 0x4101, 0x04 },
|
||||
{ "asm/display7seg.h", "D7SIOCRD", _IOC_READ, 0x7045, 0x04 },
|
||||
{ "asm/display7seg.h", "D7SIOCTM", _IOC_NONE, 0x7047, 0x00 },
|
||||
{ "asm/display7seg.h", "D7SIOCWR", _IOC_WRITE, 0x7046, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_CPU_TEMPERATURE", _IOC_READ, 0x7040, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_CPU_VOLTAGE", _IOC_READ, 0x7041, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_ETHERNET_TEMPERATURE", _IOC_READ, 0x7047, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_FAN_STATUS", _IOC_READ, 0x7042, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_GLOBALADDRESS", _IOC_READ, 0x7049, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_MTHRBD_TEMPERATURE", _IOC_READ, 0x7048, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_SCSI_TEMPERATURE", _IOC_READ, 0x7046, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_SHUTDOWN_TEMPERATURE", _IOC_READ, 0x7044, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_VOLTAGE_STATUS", _IOC_READ, 0x7045, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_WARNING_TEMPERATURE", _IOC_READ, 0x7043, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGATTR", _IOC_READ, 0x4606, 0x58 },
|
||||
{ "asm/fbio.h", "FBIOGCURMAX", _IOC_READ, 0x461c, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGCURPOS", _IOC_WRITE, 0x461b, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGCURSOR", _IOC_READ|_IOC_WRITE, 0x4619, 0x2c },
|
||||
{ "asm/fbio.h", "FBIOGETCMAP", _IOC_WRITE, 0x4604, 0x14 },
|
||||
{ "asm/fbio.h", "FBIOGTYPE", _IOC_READ, 0x4600, 0x18 },
|
||||
{ "asm/fbio.h", "FBIOGVIDEO", _IOC_READ, 0x4608, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOPUTCMAP", _IOC_WRITE, 0x4603, 0x14 },
|
||||
{ "asm/fbio.h", "FBIOSATTR", _IOC_WRITE, 0x4605, 0x58 },
|
||||
{ "asm/fbio.h", "FBIOSCURPOS", _IOC_WRITE, 0x461a, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOSCURSOR", _IOC_WRITE, 0x4618, 0x2c },
|
||||
{ "asm/fbio.h", "FBIOSVIDEO", _IOC_WRITE, 0x4607, 0x04 },
|
||||
{ "asm/fbio.h", "FBIO_WID_ALLOC", _IOC_READ|_IOC_WRITE, 0x461e, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_FREE", _IOC_WRITE, 0x461f, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_GET", _IOC_READ|_IOC_WRITE, 0x4621, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_PUT", _IOC_WRITE, 0x4620, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTALLOC", _IOC_READ|_IOC_WRITE, 0x4c35, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTFREE", _IOC_WRITE, 0x4c36, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTPOST", _IOC_WRITE, 0x4c38, 0x1c },
|
||||
{ "asm/fbio.h", "LEO_CLUTREAD", _IOC_WRITE, 0x4c37, 0x1c },
|
||||
{ "asm/fbio.h", "LEO_GETGAMMA", _IOC_READ, 0x4c45, 0x04 },
|
||||
{ "asm/fbio.h", "LEO_SETGAMMA", _IOC_WRITE, 0x4c44, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOASYNC", _IOC_WRITE, 0x667d, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", _IOC_NONE, 0x6601, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONBIO", _IOC_WRITE, 0x667e, 0x04 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", _IOC_NONE, 0x6602, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONREAD", _IOC_READ, 0x667f, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 },
|
||||
{ "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x5407, 0x00 },
|
||||
{ "asm/ioctls.h", "TCGETA", _IOC_READ, 0x5401, 0x12 },
|
||||
{ "asm/ioctls.h", "TCGETS", _IOC_READ, 0x5408, 0x24 },
|
||||
{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x540c, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x5405, 0x00 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", 0, 0x5425, 0 },
|
||||
{ "asm/ioctls.h", "TCSETA", _IOC_WRITE, 0x5402, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAF", _IOC_WRITE, 0x5404, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAW", _IOC_WRITE, 0x5403, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x5409, 0x24 },
|
||||
{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x540d, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x540b, 0x24 },
|
||||
{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x540f, 0x2c },
|
||||
{ "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x540a, 0x24 },
|
||||
{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x540e, 0x2c },
|
||||
{ "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x5406, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", _IOC_NONE, 0x747a, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", _IOC_NONE, 0x7424, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", _IOC_NONE, 0x740d, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", _IOC_READ, 0x7400, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7483, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x7486, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", _IOC_READ, 0x5441, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCGSERIAL", 0, 0x541E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", _IOC_READ, 0x7485, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", _IOC_READ, 0x7464, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGWINSZ", _IOC_READ, 0x7468, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", 0, 0x541C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", _IOC_WRITE, 0x746b, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", _IOC_WRITE, 0x746c, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", _IOC_READ, 0x746a, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", 0, 0x545C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", _IOC_WRITE, 0x746d, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", _IOC_NONE, 0x7471, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", _IOC_NONE, 0x740e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", _IOC_WRITE, 0x7470, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", _IOC_NONE, 0x747b, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", _IOC_NONE, 0x7484, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5453, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x5459, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x545A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x5458, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5454, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x545B, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", 0, 0x5455, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", _IOC_WRITE, 0x7401, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x7488, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7482, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x7487, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", _IOC_READ|_IOC_WRITE, 0x5442, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCSSERIAL", 0, 0x541F, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", _IOC_WRITE, 0x7465, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", _IOC_WRITE, 0x7472, 0x01 },
|
||||
{ "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSWINSZ", _IOC_WRITE, 0x7467, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", _IOC_NONE, 0x5437, 0x00 },
|
||||
{ "asm/openpromio.h", "OPIOCGET", _IOC_READ|_IOC_WRITE, 0x4f01, 0x14 },
|
||||
{ "asm/openpromio.h", "OPIOCGETCHILD", _IOC_READ|_IOC_WRITE, 0x4f06, 0x04 },
|
||||
{ "asm/openpromio.h", "OPIOCGETNEXT", _IOC_READ|_IOC_WRITE, 0x4f05, 0x04 },
|
||||
{ "asm/openpromio.h", "OPIOCGETOPTNODE", _IOC_READ, 0x4f04, 0x04 },
|
||||
{ "asm/openpromio.h", "OPIOCNEXTPROP", _IOC_READ|_IOC_WRITE, 0x4f03, 0x14 },
|
||||
{ "asm/openpromio.h", "OPIOCSET", _IOC_WRITE, 0x4f02, 0x14 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", 0, 0x8903, 0 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", 0, 0x8901, 0 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", 0, 0x8905, 0 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", 0, 0x8904, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", 0, 0x8902, 0 },
|
||||
{ "asm/watchdog.h", "WIOCGSTAT", _IOC_READ, 0x570c, 0x04 },
|
||||
{ "asm/watchdog.h", "WIOCSTART", _IOC_NONE, 0x570a, 0x00 },
|
||||
{ "asm/watchdog.h", "WIOCSTOP", _IOC_NONE, 0x570b, 0x00 },
|
1
linux/sparc/ioctls_inc0.h
Normal file
1
linux/sparc/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../sparc/ioctlent.h.in"
|
@ -1 +1 @@
|
||||
#include "../sparc/ioctlent1.h"
|
||||
#include "sparc/ioctlent1.h"
|
||||
|
@ -1,2 +0,0 @@
|
||||
/* sparc64 personality */
|
||||
#include "ioctlent.h"
|
1
linux/sparc64/ioctls_arch0.h
Normal file
1
linux/sparc64/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "sparc/ioctls_arch0.h"
|
129
linux/sparc64/ioctls_arch2.h
Normal file
129
linux/sparc64/ioctls_arch2.h
Normal file
@ -0,0 +1,129 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/sparc/include/ tree. */
|
||||
{ "asm/apc.h", "APCIOCGBPORT", _IOC_READ, 0x4104, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCGCPWR", _IOC_READ, 0x4102, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCGFANCTL", _IOC_READ, 0x4100, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCSBPORT", _IOC_WRITE, 0x4105, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCSCPWR", _IOC_WRITE, 0x4103, 0x04 },
|
||||
{ "asm/apc.h", "APCIOCSFANCTL", _IOC_WRITE, 0x4101, 0x04 },
|
||||
{ "asm/display7seg.h", "D7SIOCRD", _IOC_READ, 0x7045, 0x04 },
|
||||
{ "asm/display7seg.h", "D7SIOCTM", _IOC_NONE, 0x7047, 0x00 },
|
||||
{ "asm/display7seg.h", "D7SIOCWR", _IOC_WRITE, 0x7046, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_CPU_TEMPERATURE", _IOC_READ, 0x7040, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_CPU_VOLTAGE", _IOC_READ, 0x7041, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_ETHERNET_TEMPERATURE", _IOC_READ, 0x7047, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_FAN_STATUS", _IOC_READ, 0x7042, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_GLOBALADDRESS", _IOC_READ, 0x7049, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_MTHRBD_TEMPERATURE", _IOC_READ, 0x7048, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_SCSI_TEMPERATURE", _IOC_READ, 0x7046, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_SHUTDOWN_TEMPERATURE", _IOC_READ, 0x7044, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_VOLTAGE_STATUS", _IOC_READ, 0x7045, 0x04 },
|
||||
{ "asm/envctrl.h", "ENVCTRL_RD_WARNING_TEMPERATURE", _IOC_READ, 0x7043, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGATTR", _IOC_READ, 0x4606, 0x58 },
|
||||
{ "asm/fbio.h", "FBIOGCURMAX", _IOC_READ, 0x461c, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGCURPOS", _IOC_WRITE, 0x461b, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOGCURSOR", _IOC_READ|_IOC_WRITE, 0x4619, 0x48 },
|
||||
{ "asm/fbio.h", "FBIOGETCMAP", _IOC_WRITE, 0x4604, 0x20 },
|
||||
{ "asm/fbio.h", "FBIOGTYPE", _IOC_READ, 0x4600, 0x18 },
|
||||
{ "asm/fbio.h", "FBIOGVIDEO", _IOC_READ, 0x4608, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOPUTCMAP", _IOC_WRITE, 0x4603, 0x20 },
|
||||
{ "asm/fbio.h", "FBIOSATTR", _IOC_WRITE, 0x4605, 0x58 },
|
||||
{ "asm/fbio.h", "FBIOSCURPOS", _IOC_WRITE, 0x461a, 0x04 },
|
||||
{ "asm/fbio.h", "FBIOSCURSOR", _IOC_WRITE, 0x4618, 0x48 },
|
||||
{ "asm/fbio.h", "FBIOSVIDEO", _IOC_WRITE, 0x4607, 0x04 },
|
||||
{ "asm/fbio.h", "FBIO_WID_ALLOC", _IOC_READ|_IOC_WRITE, 0x461e, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_FREE", _IOC_WRITE, 0x461f, 0x0c },
|
||||
{ "asm/fbio.h", "FBIO_WID_GET", _IOC_READ|_IOC_WRITE, 0x4621, 0x10 },
|
||||
{ "asm/fbio.h", "FBIO_WID_PUT", _IOC_WRITE, 0x4620, 0x10 },
|
||||
{ "asm/fbio.h", "LEO_CLUTALLOC", _IOC_READ|_IOC_WRITE, 0x4c35, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTFREE", _IOC_WRITE, 0x4c36, 0x0c },
|
||||
{ "asm/fbio.h", "LEO_CLUTPOST", _IOC_WRITE, 0x4c38, 0x28 },
|
||||
{ "asm/fbio.h", "LEO_CLUTREAD", _IOC_WRITE, 0x4c37, 0x28 },
|
||||
{ "asm/fbio.h", "LEO_GETGAMMA", _IOC_READ, 0x4c45, 0x04 },
|
||||
{ "asm/fbio.h", "LEO_SETGAMMA", _IOC_WRITE, 0x4c44, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOASYNC", _IOC_WRITE, 0x667d, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOCLEX", _IOC_NONE, 0x6601, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONBIO", _IOC_WRITE, 0x667e, 0x04 },
|
||||
{ "asm/ioctls.h", "FIONCLEX", _IOC_NONE, 0x6602, 0x00 },
|
||||
{ "asm/ioctls.h", "FIONREAD", _IOC_READ, 0x667f, 0x04 },
|
||||
{ "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 },
|
||||
{ "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x5407, 0x00 },
|
||||
{ "asm/ioctls.h", "TCGETA", _IOC_READ, 0x5401, 0x12 },
|
||||
{ "asm/ioctls.h", "TCGETS", _IOC_READ, 0x5408, 0x38 },
|
||||
{ "asm/ioctls.h", "TCGETS2", _IOC_READ, 0x540c, 0x40 },
|
||||
{ "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x5405, 0x00 },
|
||||
{ "asm/ioctls.h", "TCSBRKP", 0, 0x5425, 0 },
|
||||
{ "asm/ioctls.h", "TCSETA", _IOC_WRITE, 0x5402, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAF", _IOC_WRITE, 0x5404, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETAW", _IOC_WRITE, 0x5403, 0x12 },
|
||||
{ "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x5409, 0x38 },
|
||||
{ "asm/ioctls.h", "TCSETS2", _IOC_WRITE, 0x540d, 0x40 },
|
||||
{ "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x540b, 0x38 },
|
||||
{ "asm/ioctls.h", "TCSETSF2", _IOC_WRITE, 0x540f, 0x40 },
|
||||
{ "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x540a, 0x38 },
|
||||
{ "asm/ioctls.h", "TCSETSW2", _IOC_WRITE, 0x540e, 0x40 },
|
||||
{ "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x5406, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCBRK", _IOC_NONE, 0x747a, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCCONS", _IOC_NONE, 0x7424, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCEXCL", _IOC_NONE, 0x740d, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGETD", _IOC_READ, 0x7400, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7483, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x7486, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGRS485", _IOC_READ, 0x5441, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCGSERIAL", 0, 0x541E, 0 },
|
||||
{ "asm/ioctls.h", "TIOCGSID", _IOC_READ, 0x7485, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGSOFTCAR", _IOC_READ, 0x7464, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCGWINSZ", _IOC_READ, 0x7468, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCLINUX", 0, 0x541C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMBIC", _IOC_WRITE, 0x746b, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMBIS", _IOC_WRITE, 0x746c, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMGET", _IOC_READ, 0x746a, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCMIWAIT", 0, 0x545C, 0 },
|
||||
{ "asm/ioctls.h", "TIOCMSET", _IOC_WRITE, 0x746d, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCNOTTY", _IOC_NONE, 0x7471, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCNXCL", _IOC_NONE, 0x740e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCPKT", _IOC_WRITE, 0x7470, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSBRK", _IOC_NONE, 0x747b, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSCTTY", _IOC_NONE, 0x7484, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5453, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x5459, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x545A, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x5458, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5454, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x545B, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSERSWILD", 0, 0x5455, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSETD", _IOC_WRITE, 0x7401, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x7488, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7482, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x7487, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSRS485", _IOC_READ|_IOC_WRITE, 0x5442, 0x20 },
|
||||
{ "asm/ioctls.h", "TIOCSSERIAL", 0, 0x541F, 0 },
|
||||
{ "asm/ioctls.h", "TIOCSSOFTCAR", _IOC_WRITE, 0x7465, 0x04 },
|
||||
{ "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSTI", _IOC_WRITE, 0x7472, 0x01 },
|
||||
{ "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 },
|
||||
{ "asm/ioctls.h", "TIOCSWINSZ", _IOC_WRITE, 0x7467, 0x08 },
|
||||
{ "asm/ioctls.h", "TIOCVHANGUP", _IOC_NONE, 0x5437, 0x00 },
|
||||
{ "asm/openpromio.h", "OPIOCGET", _IOC_READ|_IOC_WRITE, 0x4f01, 0x20 },
|
||||
{ "asm/openpromio.h", "OPIOCGETCHILD", _IOC_READ|_IOC_WRITE, 0x4f06, 0x04 },
|
||||
{ "asm/openpromio.h", "OPIOCGETNEXT", _IOC_READ|_IOC_WRITE, 0x4f05, 0x04 },
|
||||
{ "asm/openpromio.h", "OPIOCGETOPTNODE", _IOC_READ, 0x4f04, 0x04 },
|
||||
{ "asm/openpromio.h", "OPIOCNEXTPROP", _IOC_READ|_IOC_WRITE, 0x4f03, 0x20 },
|
||||
{ "asm/openpromio.h", "OPIOCSET", _IOC_WRITE, 0x4f02, 0x20 },
|
||||
{ "asm/sockios.h", "FIOGETOWN", 0, 0x8903, 0 },
|
||||
{ "asm/sockios.h", "FIOSETOWN", 0, 0x8901, 0 },
|
||||
{ "asm/sockios.h", "SIOCATMARK", 0, 0x8905, 0 },
|
||||
{ "asm/sockios.h", "SIOCGPGRP", 0, 0x8904, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 },
|
||||
{ "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 },
|
||||
{ "asm/sockios.h", "SIOCSPGRP", 0, 0x8902, 0 },
|
||||
{ "asm/watchdog.h", "WIOCGSTAT", _IOC_READ, 0x570c, 0x04 },
|
||||
{ "asm/watchdog.h", "WIOCSTART", _IOC_NONE, 0x570a, 0x00 },
|
||||
{ "asm/watchdog.h", "WIOCSTOP", _IOC_NONE, 0x570b, 0x00 },
|
1
linux/sparc64/ioctls_inc0.h
Normal file
1
linux/sparc64/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "sparc/ioctls_inc0.h"
|
1
linux/sparc64/ioctls_inc2.h
Normal file
1
linux/sparc64/ioctls_inc2.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
@ -1,2 +0,0 @@
|
||||
/* tilegx32/tilepro */
|
||||
#include "ioctlent.h"
|
1
linux/tile/ioctls_arch0.h
Normal file
1
linux/tile/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/tile/include/ tree. */
|
1
linux/tile/ioctls_arch1.h
Normal file
1
linux/tile/ioctls_arch1.h
Normal file
@ -0,0 +1 @@
|
||||
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/tile/include/ tree. */
|
1
linux/tile/ioctls_inc0.h
Normal file
1
linux/tile/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "64/ioctls_inc.h"
|
1
linux/tile/ioctls_inc1.h
Normal file
1
linux/tile/ioctls_inc1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "32/ioctls_inc.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
@ -1,2 +0,0 @@
|
||||
/* i386 personality */
|
||||
#include "ioctlent.h"
|
1
linux/x32/ioctls_arch0.h
Normal file
1
linux/x32/ioctls_arch0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "x86_64/ioctls_arch0.h"
|
1
linux/x32/ioctls_arch1.h
Normal file
1
linux/x32/ioctls_arch1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "i386/ioctls_arch0.h"
|
1
linux/x32/ioctls_inc0.h
Normal file
1
linux/x32/ioctls_inc0.h
Normal file
@ -0,0 +1 @@
|
||||
#include "x86_64/ioctls_inc0.h"
|
1
linux/x32/ioctls_inc1.h
Normal file
1
linux/x32/ioctls_inc1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "i386/ioctls_inc0.h"
|
@ -1 +0,0 @@
|
||||
#include "../i386/ioctlent.h.in"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user