OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-197
/
arch
/
sparc
/
include
/
uapi
/
asm
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/17/2022 06:42:16 AM
rwxr-xr-x
📄
Kbuild
122 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
apc.h
1.7 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
asi.h
14.73 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
auxvec.h
153 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
bitsperlong.h
324 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
byteorder.h
191 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
display7seg.h
1.9 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
envctrl.h
3.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
errno.h
5.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fbio.h
7.72 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fcntl.h
1.75 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ioctl.h
2.58 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ioctls.h
5.87 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ipcbuf.h
776 bytes
11/01/2022 04:52:05 PM
rw-r--r--
📄
jsflash.h
928 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
kvm_para.h
97 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mman.h
1.22 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
msgbuf.h
1.12 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
openpromio.h
2.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
param.h
253 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
perfctr.h
5.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
poll.h
273 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
posix_types.h
1.48 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
psr.h
2.21 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
psrcompat.h
2.02 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pstate.h
5.81 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace.h
8.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
resource.h
770 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
sembuf.h
877 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
setup.h
310 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
shmbuf.h
1.3 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sigcontext.h
167 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
siginfo.h
670 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
signal.h
4.62 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
socket.h
2.44 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sockios.h
435 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
stat.h
1.97 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
statfs.h
164 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
swab.h
1.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
termbits.h
6.92 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
termios.h
742 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
traps.h
5.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
uctx.h
1.39 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
unistd.h
25.3 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
utrap.h
1.5 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
watchdog.h
1 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: psrcompat.h
Close
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _SPARC64_PSRCOMPAT_H #define _SPARC64_PSRCOMPAT_H #include <asm/pstate.h> /* Old 32-bit PSR fields for the compatibility conversion code. */ #define PSR_CWP 0x0000001f /* current window pointer */ #define PSR_ET 0x00000020 /* enable traps field */ #define PSR_PS 0x00000040 /* previous privilege level */ #define PSR_S 0x00000080 /* current privilege level */ #define PSR_PIL 0x00000f00 /* processor interrupt level */ #define PSR_EF 0x00001000 /* enable floating point */ #define PSR_EC 0x00002000 /* enable co-processor */ #define PSR_SYSCALL 0x00004000 /* inside of a syscall */ #define PSR_LE 0x00008000 /* SuperSparcII little-endian */ #define PSR_ICC 0x00f00000 /* integer condition codes */ #define PSR_C 0x00100000 /* carry bit */ #define PSR_V 0x00200000 /* overflow bit */ #define PSR_Z 0x00400000 /* zero bit */ #define PSR_N 0x00800000 /* negative bit */ #define PSR_VERS 0x0f000000 /* cpu-version field */ #define PSR_IMPL 0xf0000000 /* cpu-implementation field */ #define PSR_V8PLUS 0xff000000 /* fake impl/ver, meaning a 64bit CPU is present */ #define PSR_XCC 0x000f0000 /* if PSR_V8PLUS, this is %xcc */ static inline unsigned int tstate_to_psr(unsigned long tstate) { return ((tstate & TSTATE_CWP) | PSR_S | ((tstate & TSTATE_ICC) >> 12) | ((tstate & TSTATE_XCC) >> 20) | ((tstate & TSTATE_SYSCALL) ? PSR_SYSCALL : 0) | PSR_V8PLUS); } static inline unsigned long psr_to_tstate_icc(unsigned int psr) { unsigned long tstate = ((unsigned long)(psr & PSR_ICC)) << 12; if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS) tstate |= ((unsigned long)(psr & PSR_XCC)) << 20; return tstate; } #endif /* !(_SPARC64_PSRCOMPAT_H) */