????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.217.0.242 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 : /lib/modules/3.13.0-170-generic/build/arch/powerpc/include/asm/ |
Upload File : |
/* * PPC EDAC common defs * * Author: Dave Jiang <djiang@mvista.com> * * 2007 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. */ #ifndef ASM_EDAC_H #define ASM_EDAC_H /* * ECC atomic, DMA, SMP and interrupt safe scrub function. * Implements the per arch atomic_scrub() that EDAC use for software * ECC scrubbing. It reads memory and then writes back the original * value, allowing the hardware to detect and correct memory errors. */ static __inline__ void atomic_scrub(void *va, u32 size) { unsigned int *virt_addr = va; unsigned int temp; unsigned int i; for (i = 0; i < size / sizeof(*virt_addr); i++, virt_addr++) { /* Very carefully read and write to memory atomically * so we are interrupt, DMA and SMP safe. */ __asm__ __volatile__ ("\n\ 1: lwarx %0,0,%1\n\ stwcx. %0,0,%1\n\ bne- 1b\n\ isync" : "=&r"(temp) : "r"(virt_addr) : "cr0", "memory"); } } #endif