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: traps.h
Close
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * traps.h: Format of entries for the Sparc trap table. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _UAPI_SPARC_TRAPS_H #define _UAPI_SPARC_TRAPS_H #define NUM_SPARC_TRAPS 255 #ifndef __ASSEMBLY__ #endif /* !(__ASSEMBLY__) */ /* For patching the trap table at boot time, we need to know how to * form various common Sparc instructions. Thus these macros... */ #define SPARC_MOV_CONST_L3(const) (0xa6102000 | (const&0xfff)) /* The following assumes that the branch lies before the place we * are branching to. This is the case for a trap vector... * You have been warned. */ #define SPARC_BRANCH(dest_addr, inst_addr) \ (0x10800000 | (((dest_addr-inst_addr)>>2)&0x3fffff)) #define SPARC_RD_PSR_L0 (0xa1480000) #define SPARC_RD_WIM_L3 (0xa7500000) #define SPARC_NOP (0x01000000) /* Various interesting trap levels. */ /* First, hardware traps. */ #define SP_TRAP_TFLT 0x1 /* Text fault */ #define SP_TRAP_II 0x2 /* Illegal Instruction */ #define SP_TRAP_PI 0x3 /* Privileged Instruction */ #define SP_TRAP_FPD 0x4 /* Floating Point Disabled */ #define SP_TRAP_WOVF 0x5 /* Window Overflow */ #define SP_TRAP_WUNF 0x6 /* Window Underflow */ #define SP_TRAP_MNA 0x7 /* Memory Address Unaligned */ #define SP_TRAP_FPE 0x8 /* Floating Point Exception */ #define SP_TRAP_DFLT 0x9 /* Data Fault */ #define SP_TRAP_TOF 0xa /* Tag Overflow */ #define SP_TRAP_WDOG 0xb /* Watchpoint Detected */ #define SP_TRAP_IRQ1 0x11 /* IRQ level 1 */ #define SP_TRAP_IRQ2 0x12 /* IRQ level 2 */ #define SP_TRAP_IRQ3 0x13 /* IRQ level 3 */ #define SP_TRAP_IRQ4 0x14 /* IRQ level 4 */ #define SP_TRAP_IRQ5 0x15 /* IRQ level 5 */ #define SP_TRAP_IRQ6 0x16 /* IRQ level 6 */ #define SP_TRAP_IRQ7 0x17 /* IRQ level 7 */ #define SP_TRAP_IRQ8 0x18 /* IRQ level 8 */ #define SP_TRAP_IRQ9 0x19 /* IRQ level 9 */ #define SP_TRAP_IRQ10 0x1a /* IRQ level 10 */ #define SP_TRAP_IRQ11 0x1b /* IRQ level 11 */ #define SP_TRAP_IRQ12 0x1c /* IRQ level 12 */ #define SP_TRAP_IRQ13 0x1d /* IRQ level 13 */ #define SP_TRAP_IRQ14 0x1e /* IRQ level 14 */ #define SP_TRAP_IRQ15 0x1f /* IRQ level 15 Non-maskable */ #define SP_TRAP_RACC 0x20 /* Register Access Error ??? */ #define SP_TRAP_IACC 0x21 /* Instruction Access Error */ #define SP_TRAP_CPDIS 0x24 /* Co-Processor Disabled */ #define SP_TRAP_BADFL 0x25 /* Unimplemented Flush Instruction */ #define SP_TRAP_CPEXP 0x28 /* Co-Processor Exception */ #define SP_TRAP_DACC 0x29 /* Data Access Error */ #define SP_TRAP_DIVZ 0x2a /* Divide By Zero */ #define SP_TRAP_DSTORE 0x2b /* Data Store Error ??? */ #define SP_TRAP_DMM 0x2c /* Data Access MMU Miss ??? */ #define SP_TRAP_IMM 0x3c /* Instruction Access MMU Miss ??? */ /* Now the Software Traps... */ #define SP_TRAP_SUNOS 0x80 /* SunOS System Call */ #define SP_TRAP_SBPT 0x81 /* Software Breakpoint */ #define SP_TRAP_SDIVZ 0x82 /* Software Divide-by-Zero trap */ #define SP_TRAP_FWIN 0x83 /* Flush Windows */ #define SP_TRAP_CWIN 0x84 /* Clean Windows */ #define SP_TRAP_RCHK 0x85 /* Range Check */ #define SP_TRAP_FUNA 0x86 /* Fix Unaligned Access */ #define SP_TRAP_IOWFL 0x87 /* Integer Overflow */ #define SP_TRAP_SOLARIS 0x88 /* Solaris System Call */ #define SP_TRAP_NETBSD 0x89 /* NetBSD System Call */ #define SP_TRAP_LINUX 0x90 /* Linux System Call */ /* Names used for compatibility with SunOS */ #define ST_SYSCALL 0x00 #define ST_BREAKPOINT 0x01 #define ST_DIV0 0x02 #define ST_FLUSH_WINDOWS 0x03 #define ST_CLEAN_WINDOWS 0x04 #define ST_RANGE_CHECK 0x05 #define ST_FIX_ALIGN 0x06 #define ST_INT_OVERFLOW 0x07 /* Special traps... */ #define SP_TRAP_KBPT1 0xfe /* KADB/PROM Breakpoint one */ #define SP_TRAP_KBPT2 0xff /* KADB/PROM Breakpoint two */ /* Handy Macros */ /* Is this a trap we never expect to get? */ #define BAD_TRAP_P(level) \ ((level > SP_TRAP_WDOG && level < SP_TRAP_IRQ1) || \ (level > SP_TRAP_IACC && level < SP_TRAP_CPDIS) || \ (level > SP_TRAP_BADFL && level < SP_TRAP_CPEXP) || \ (level > SP_TRAP_DMM && level < SP_TRAP_IMM) || \ (level > SP_TRAP_IMM && level < SP_TRAP_SUNOS) || \ (level > SP_TRAP_LINUX && level < SP_TRAP_KBPT1)) /* Is this a Hardware trap? */ #define HW_TRAP_P(level) ((level > 0) && (level < SP_TRAP_SUNOS)) /* Is this a Software trap? */ #define SW_TRAP_P(level) ((level >= SP_TRAP_SUNOS) && (level <= SP_TRAP_KBPT2)) /* Is this a system call for some OS we know about? */ #define SCALL_TRAP_P(level) ((level == SP_TRAP_SUNOS) || \ (level == SP_TRAP_SOLARIS) || \ (level == SP_TRAP_NETBSD) || \ (level == SP_TRAP_LINUX)) #endif /* _UAPI_SPARC_TRAPS_H */