!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-3.13.0-57/arch/mips/include/asm/   drwxr-xr-x
Free 9.57 GB of 29.4 GB (32.54%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     edac.h (709 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef ASM_EDAC_H
#define ASM_EDAC_H

/* ECC atomic, DMA, SMP and interrupt safe scrub function */

static inline void atomic_scrub(void *va, u32 size)
{
    unsigned long *virt_addr = va;
    unsigned long temp;
    u32 i;

    for (i = 0; i < size / sizeof(unsigned long); i++) {
        /*
         * Very carefully read and write to memory atomically
         * so we are interrupt, DMA and SMP safe.
         *
         * Intel: asm("lock; addl $0, %0"::"m"(*virt_addr));
         */

        __asm__ __volatile__ (
        "    .set    mips2                    \n"
        "1:    ll    %0, %1        # atomic_scrub        \n"
        "    addu    %0, $0                    \n"
        "    sc    %0, %1                    \n"
        "    beqz    %0, 1b                    \n"
        "    .set    mips0                    \n"
        : "=&r" (temp), "=m" (*virt_addr)
        : "m" (*virt_addr));

        virt_addr++;
    }
}

#endif

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.006 ]--