/
usr
/
src
/
linux-headers-5.15.0-181
/
arch
/
sparc
/
include
/
uapi
/
asm
/
/usr/src/linux-headers-5.15.0-181/arch/sparc/include/uapi/asm
mkdir
upload
Name
Size
Mode
Actions
apc.h
1745
0644
edit
dl
rm
asi.h
15367
0644
edit
dl
rm
auxvec.h
348
0644
edit
dl
rm
bitsperlong.h
324
0644
edit
dl
rm
byteorder.h
191
0644
edit
dl
rm
display7seg.h
1945
0644
edit
dl
rm
envctrl.h
3494
0644
edit
dl
rm
errno.h
5539
0644
edit
dl
rm
fbio.h
7904
0644
edit
dl
rm
fcntl.h
1790
0644
edit
dl
rm
ioctl.h
2646
0644
edit
dl
rm
ioctls.h
6133
0644
edit
dl
rm
ipcbuf.h
808
0644
edit
dl
rm
Kbuild
89
0644
edit
dl
rm
mman.h
1008
0644
edit
dl
rm
msgbuf.h
1218
0644
edit
dl
rm
openpromio.h
2166
0644
edit
dl
rm
oradax.h
2013
0644
edit
dl
rm
param.h
253
0644
edit
dl
rm
perfctr.h
5695
0644
edit
dl
rm
poll.h
273
0644
edit
dl
rm
posix_types.h
1768
0644
edit
dl
rm
psr.h
2267
0644
edit
dl
rm
psrcompat.h
2070
0644
edit
dl
rm
pstate.h
6427
0644
edit
dl
rm
ptrace.h
8222
0644
edit
dl
rm
resource.h
770
0644
edit
dl
rm
sembuf.h
896
0644
edit
dl
rm
setup.h
310
0644
edit
dl
rm
shmbuf.h
1383
0644
edit
dl
rm
sigcontext.h
167
0644
edit
dl
rm
siginfo.h
390
0644
edit
dl
rm
signal.h
4703
0644
edit
dl
rm
socket.h
3872
0644
edit
dl
rm
stat.h
2005
0644
edit
dl
rm
swab.h
1034
0644
edit
dl
rm
termbits.h
6761
0644
edit
dl
rm
termios.h
1071
0644
edit
dl
rm
traps.h
5271
0644
edit
dl
rm
uctx.h
1420
0644
edit
dl
rm
unistd.h
904
0644
edit
dl
rm
utrap.h
1541
0644
edit
dl
rm
watchdog.h
1029
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/arch/sparc/include/uapi/asm/openpromio.h
(2166B)
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC_OPENPROMIO_H #define _SPARC_OPENPROMIO_H #include <linux/compiler.h> #include <linux/ioctl.h> /* * SunOS and Solaris /dev/openprom definitions. The ioctl values * were chosen to be exactly equal to the SunOS equivalents. */ struct openpromio { unsigned int oprom_size; /* Actual size of the oprom_array. */ char oprom_array[1]; /* Holds property names and values. */ }; #define OPROMMAXPARAM 4096 /* Maximum size of oprom_array. */ #define OPROMGETOPT 0x20004F01 #define OPROMSETOPT 0x20004F02 #define OPROMNXTOPT 0x20004F03 #define OPROMSETOPT2 0x20004F04 #define OPROMNEXT 0x20004F05 #define OPROMCHILD 0x20004F06 #define OPROMGETPROP 0x20004F07 #define OPROMNXTPROP 0x20004F08 #define OPROMU2P 0x20004F09 #define OPROMGETCONS 0x20004F0A #define OPROMGETFBNAME 0x20004F0B #define OPROMGETBOOTARGS 0x20004F0C /* Linux extensions */ /* Arguments in oprom_array: */ #define OPROMSETCUR 0x20004FF0 /* int node - Sets current node */ #define OPROMPCI2NODE 0x20004FF1 /* int pci_bus, pci_devfn - Sets current node to PCI device's node */ #define OPROMPATH2NODE 0x20004FF2 /* char path[] - Set current node from fully qualified PROM path */ /* * Return values from OPROMGETCONS: */ #define OPROMCONS_NOT_WSCONS 0 #define OPROMCONS_STDIN_IS_KBD 0x1 /* stdin device is kbd */ #define OPROMCONS_STDOUT_IS_FB 0x2 /* stdout is a framebuffer */ #define OPROMCONS_OPENPROM 0x4 /* supports openboot */ /* * NetBSD/OpenBSD /dev/openprom definitions. */ struct opiocdesc { int op_nodeid; /* PROM Node ID (value-result) */ int op_namelen; /* Length of op_name. */ char __user *op_name; /* Pointer to the property name. */ int op_buflen; /* Length of op_buf (value-result) */ char __user *op_buf; /* Pointer to buffer. */ }; #define OPIOCGET _IOWR('O', 1, struct opiocdesc) #define OPIOCSET _IOW('O', 2, struct opiocdesc) #define OPIOCNEXTPROP _IOWR('O', 3, struct opiocdesc) #define OPIOCGETOPTNODE _IOR('O', 4, int) #define OPIOCGETNEXT _IOWR('O', 5, int) #define OPIOCGETCHILD _IOWR('O', 6, int) #endif /* _SPARC_OPENPROMIO_H */
Save
cmd:
run