ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:21.17 GB of 70.42 GB (30.06%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: 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,

/ usr/ src/ linux-headers-3.0.0-14/ arch/ sh/ include/ asm/ - drwxr-xr-x

Directory:
Viewing file:     cmpxchg-llsc.h (1.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef __ASM_SH_CMPXCHG_LLSC_H
#define __ASM_SH_CMPXCHG_LLSC_H

static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val)
{
    unsigned long retval;
    unsigned long tmp;

    __asm__ __volatile__ (
        "1:                    \n\t"
        "movli.l    @%2, %0    ! xchg_u32    \n\t"
        "mov        %0, %1            \n\t"
        "mov        %3, %0            \n\t"
        "movco.l    %0, @%2            \n\t"
        "bf        1b            \n\t"
        "synco                    \n\t"
        : "=&z"(tmp), "=&r" (retval)
        : "r" (m), "r" (val)
        : "t", "memory"
    );

    return retval;
}

static inline unsigned long xchg_u8(volatile u8 *m, unsigned long val)
{
    unsigned long retval;
    unsigned long tmp;

    __asm__ __volatile__ (
        "1:                    \n\t"
        "movli.l    @%2, %0    ! xchg_u8    \n\t"
        "mov        %0, %1            \n\t"
        "mov        %3, %0            \n\t"
        "movco.l    %0, @%2            \n\t"
        "bf        1b            \n\t"
        "synco                    \n\t"
        : "=&z"(tmp), "=&r" (retval)
        : "r" (m), "r" (val & 0xff)
        : "t", "memory"
    );

    return retval;
}

static inline unsigned long
__cmpxchg_u32(volatile int *m, unsigned long old, unsigned long new)
{
    unsigned long retval;
    unsigned long tmp;

    __asm__ __volatile__ (
        "1:                        \n\t"
        "movli.l    @%2, %0    ! __cmpxchg_u32        \n\t"
        "mov        %0, %1                \n\t"
        "cmp/eq        %1, %3                \n\t"
        "bf        2f                \n\t"
        "mov        %4, %0                \n\t"
        "2:                        \n\t"
        "movco.l    %0, @%2                \n\t"
        "bf        1b                \n\t"
        "synco                        \n\t"
        : "=&z" (tmp), "=&r" (retval)
        : "r" (m), "r" (old), "r" (new)
        : "t", "memory"
    );

    return retval;
}

#endif /* __ASM_SH_CMPXCHG_LLSC_H */
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.2528 seconds