????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.221.95.53 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-3.13.0-35/arch/mips/include/asm/ |
Upload File : |
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive for * more details. * * Copyright (C) 2009 DSLab, Lanzhou University, China * Author: Wu Zhangjin <wuzhangjin@gmail.com> */ #ifndef _ASM_MIPS_FTRACE_H #define _ASM_MIPS_FTRACE_H #ifdef CONFIG_FUNCTION_TRACER #define MCOUNT_ADDR ((unsigned long)(_mcount)) #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ #ifndef __ASSEMBLY__ extern void _mcount(void); #define mcount _mcount #define safe_load(load, src, dst, error) \ do { \ asm volatile ( \ "1: " load " %[" STR(dst) "], 0(%[" STR(src) "])\n"\ " li %[" STR(error) "], 0\n" \ "2:\n" \ \ ".section .fixup, \"ax\"\n" \ "3: li %[" STR(error) "], 1\n" \ " j 2b\n" \ ".previous\n" \ \ ".section\t__ex_table,\"a\"\n\t" \ STR(PTR) "\t1b, 3b\n\t" \ ".previous\n" \ \ : [dst] "=&r" (dst), [error] "=r" (error)\ : [src] "r" (src) \ : "memory" \ ); \ } while (0) #define safe_store(store, src, dst, error) \ do { \ asm volatile ( \ "1: " store " %[" STR(src) "], 0(%[" STR(dst) "])\n"\ " li %[" STR(error) "], 0\n" \ "2:\n" \ \ ".section .fixup, \"ax\"\n" \ "3: li %[" STR(error) "], 1\n" \ " j 2b\n" \ ".previous\n" \ \ ".section\t__ex_table,\"a\"\n\t"\ STR(PTR) "\t1b, 3b\n\t" \ ".previous\n" \ \ : [error] "=r" (error) \ : [dst] "r" (dst), [src] "r" (src)\ : "memory" \ ); \ } while (0) #define safe_load_code(dst, src, error) \ safe_load(STR(lw), src, dst, error) #define safe_store_code(src, dst, error) \ safe_store(STR(sw), src, dst, error) #define safe_load_stack(dst, src, error) \ safe_load(STR(PTR_L), src, dst, error) #define safe_store_stack(src, dst, error) \ safe_store(STR(PTR_S), src, dst, error) #ifdef CONFIG_DYNAMIC_FTRACE static inline unsigned long ftrace_call_adjust(unsigned long addr) { return addr; } struct dyn_arch_ftrace { }; #endif /* CONFIG_DYNAMIC_FTRACE */ #endif /* __ASSEMBLY__ */ #endif /* CONFIG_FUNCTION_TRACER */ #endif /* _ASM_MIPS_FTRACE_H */