OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
arch
/
sh
/
include
/
uapi
/
asm
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:13 AM
rwxr-xr-x
📄
Kbuild
526 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
auxvec.h
1.08 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
byteorder.h
278 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cachectl.h
648 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cpu-features.h
1.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hw_breakpoint.h
167 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ioctls.h
4.8 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
posix_types.h
205 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
posix_types_32.h
801 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
posix_types_64.h
1.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace.h
960 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace_32.h
1.58 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace_64.h
352 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
setup.h
31 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
sigcontext.h
859 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
signal.h
369 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
sockios.h
536 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
stat.h
3.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
swab.h
1.05 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
types.h
31 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
unistd.h
178 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
unistd_32.h
11.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
unistd_64.h
11.67 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: swab.h
Close
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_SH_SWAB_H #define __ASM_SH_SWAB_H /* * Copyright (C) 1999 Niibe Yutaka * Copyright (C) 2000, 2001 Paolo Alberelli */ #include <linux/compiler.h> #include <linux/types.h> #include <asm-generic/swab.h> static inline __attribute_const__ __u32 __arch_swab32(__u32 x) { __asm__( #ifdef __SH5__ "byterev %1, %0\n\t" "shari %0, 32, %0" #else "swap.b %1, %0\n\t" "swap.w %0, %0\n\t" "swap.b %0, %0" #endif : "=r" (x) : "r" (x)); return x; } #define __arch_swab32 __arch_swab32 static inline __attribute_const__ __u16 __arch_swab16(__u16 x) { __asm__( #ifdef __SH5__ "byterev %1, %0\n\t" "shari %0, 32, %0" #else "swap.b %1, %0" #endif : "=r" (x) : "r" (x)); return x; } #define __arch_swab16 __arch_swab16 static inline __u64 __arch_swab64(__u64 val) { union { struct { __u32 a,b; } s; __u64 u; } v, w; v.u = val; w.s.b = __arch_swab32(v.s.a); w.s.a = __arch_swab32(v.s.b); return w.u; } #define __arch_swab64 __arch_swab64 #endif /* __ASM_SH_SWAB_H */