!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

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

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.4.0-216/arch/mips/include/asm/   drwxr-xr-x
Free 13.21 GB of 57.97 GB (22.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     kvm_para.h (2.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_MIPS_KVM_PARA_H
#define _ASM_MIPS_KVM_PARA_H

#include <uapi/asm/kvm_para.h>

#define KVM_HYPERCALL ".word 0x42000028"

/*
 * Hypercalls for KVM.
 *
 * Hypercall number is passed in v0.
 * Return value will be placed in v0.
 * Up to 3 arguments are passed in a0, a1, and a2.
 */
static inline unsigned long kvm_hypercall0(unsigned long num)
{
    register unsigned long n asm("v0");
    register unsigned long r asm("v0");

    n = num;
    __asm__ __volatile__(
        KVM_HYPERCALL
        : "=r" (r) : "r" (n) : "memory"
        );

    return r;
}

static inline unsigned long kvm_hypercall1(unsigned long num,
                    unsigned long arg0)
{
    register unsigned long n asm("v0");
    register unsigned long r asm("v0");
    register unsigned long a0 asm("a0");

    n = num;
    a0 = arg0;
    __asm__ __volatile__(
        KVM_HYPERCALL
        : "=r" (r) : "r" (n), "r" (a0) : "memory"
        );

    return r;
}

static inline unsigned long kvm_hypercall2(unsigned long num,
                    unsigned long arg0, unsigned long arg1)
{
    register unsigned long n asm("v0");
    register unsigned long r asm("v0");
    register unsigned long a0 asm("a0");
    register unsigned long a1 asm("a1");

    n = num;
    a0 = arg0;
    a1 = arg1;
    __asm__ __volatile__(
        KVM_HYPERCALL
        : "=r" (r) : "r" (n), "r" (a0), "r" (a1) : "memory"
        );

    return r;
}

static inline unsigned long kvm_hypercall3(unsigned long num,
    unsigned long arg0, unsigned long arg1, unsigned long arg2)
{
    register unsigned long n asm("v0");
    register unsigned long r asm("v0");
    register unsigned long a0 asm("a0");
    register unsigned long a1 asm("a1");
    register unsigned long a2 asm("a2");

    n = num;
    a0 = arg0;
    a1 = arg1;
    a2 = arg2;
    __asm__ __volatile__(
        KVM_HYPERCALL
        : "=r" (r) : "r" (n), "r" (a0), "r" (a1), "r" (a2) : "memory"
        );

    return r;
}

static inline bool kvm_check_and_clear_guest_paused(void)
{
    return false;
}

static inline unsigned int kvm_arch_para_features(void)
{
    return 0;
}

static inline unsigned int kvm_arch_para_hints(void)
{
    return 0;
}

#ifdef CONFIG_MIPS_PARAVIRT
static inline bool kvm_para_available(void)
{
    return true;
}
#else
static inline bool kvm_para_available(void)
{
    return false;
}
#endif


#endif /* _ASM_MIPS_KVM_PARA_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.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0059 ]--