%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/root/usr/src/linux-headers-4.4.0-210/arch/c6x/include/uapi/asm/ |
Upload File : |
/* * Copyright (C) 2011 Texas Instruments Incorporated * Author: Mark Salter <msalter@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _ASM_C6X_SWAB_H #define _ASM_C6X_SWAB_H static inline __attribute_const__ __u16 __c6x_swab16(__u16 val) { asm("swap4 .l1 %0,%0\n" : "+a"(val)); return val; } static inline __attribute_const__ __u32 __c6x_swab32(__u32 val) { asm("swap4 .l1 %0,%0\n" "swap2 .l1 %0,%0\n" : "+a"(val)); return val; } static inline __attribute_const__ __u64 __c6x_swab64(__u64 val) { asm(" swap2 .s1 %p0,%P0\n" "|| swap2 .l1 %P0,%p0\n" " swap4 .l1 %p0,%p0\n" " swap4 .l1 %P0,%P0\n" : "+a"(val)); return val; } static inline __attribute_const__ __u32 __c6x_swahw32(__u32 val) { asm("swap2 .l1 %0,%0\n" : "+a"(val)); return val; } static inline __attribute_const__ __u32 __c6x_swahb32(__u32 val) { asm("swap4 .l1 %0,%0\n" : "+a"(val)); return val; } #define __arch_swab16 __c6x_swab16 #define __arch_swab32 __c6x_swab32 #define __arch_swab64 __c6x_swab64 #define __arch_swahw32 __c6x_swahw32 #define __arch_swahb32 __c6x_swahb32 #endif /* _ASM_C6X_SWAB_H */