!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-61/arch/x86/include/asm/   drwxr-xr-x
Free 9.56 GB of 29.4 GB (32.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     apm.h (1.68 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *  Machine specific APM BIOS functions for generic.
 *  Split out from apm.c by Osamu Tomita <tomita@cinet.co.jp>
 */

#ifndef _ASM_X86_MACH_DEFAULT_APM_H
#define _ASM_X86_MACH_DEFAULT_APM_H

#ifdef APM_ZERO_SEGS
#    define APM_DO_ZERO_SEGS \
        "pushl %%ds\n\t" \
        "pushl %%es\n\t" \
        "xorl %%edx, %%edx\n\t" \
        "mov %%dx, %%ds\n\t" \
        "mov %%dx, %%es\n\t" \
        "mov %%dx, %%fs\n\t" \
        "mov %%dx, %%gs\n\t"
#    define APM_DO_POP_SEGS \
        "popl %%es\n\t" \
        "popl %%ds\n\t"
#else
#    define APM_DO_ZERO_SEGS
#    define APM_DO_POP_SEGS
#endif

static inline void apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in,
                    u32 *eax, u32 *ebx, u32 *ecx,
                    u32 *edx, u32 *esi)
{
    /*
     * N.B. We do NOT need a cld after the BIOS call
     * because we always save and restore the flags.
     */
    __asm__ __volatile__(APM_DO_ZERO_SEGS
        "pushl %%edi\n\t"
        "pushl %%ebp\n\t"
        "lcall *%%cs:apm_bios_entry\n\t"
        "setc %%al\n\t"
        "popl %%ebp\n\t"
        "popl %%edi\n\t"
        APM_DO_POP_SEGS
        : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx),
          "=S" (*esi)
        : "a" (func), "b" (ebx_in), "c" (ecx_in)
        : "memory", "cc");
}

static inline u8 apm_bios_call_simple_asm(u32 func, u32 ebx_in,
                        u32 ecx_in, u32 *eax)
{
    int    cx, dx, si;
    u8    error;

    /*
     * N.B. We do NOT need a cld after the BIOS call
     * because we always save and restore the flags.
     */
    __asm__ __volatile__(APM_DO_ZERO_SEGS
        "pushl %%edi\n\t"
        "pushl %%ebp\n\t"
        "lcall *%%cs:apm_bios_entry\n\t"
        "setc %%bl\n\t"
        "popl %%ebp\n\t"
        "popl %%edi\n\t"
        APM_DO_POP_SEGS
        : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx),
          "=S" (si)
        : "a" (func), "b" (ebx_in), "c" (ecx_in)
        : "memory", "cc");
    return error;
}

#endif /* _ASM_X86_MACH_DEFAULT_APM_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.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0053 ]--