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

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-6.8-headers-6.8.0-1028/arch/riscv/include/asm/   drwxr-xr-x
Free 83.36 GB of 96.73 GB (86.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     assembler.h (2.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2023 StarFive Technology Co., Ltd.
 *
 * Author: Jee Heng Sia <[email protected]>
 */

#ifndef __ASSEMBLY__
#error "Only include this from assembly code"
#endif

#ifndef __ASM_ASSEMBLER_H
#define __ASM_ASSEMBLER_H

#include <asm/asm.h>
#include <asm/asm-offsets.h>
#include <asm/csr.h>

/*
 * suspend_restore_csrs - restore CSRs
 */
    .macro suspend_restore_csrs
        REG_L    t0, (SUSPEND_CONTEXT_REGS + PT_EPC)(a0)
        csrw    CSR_EPC, t0
        REG_L    t0, (SUSPEND_CONTEXT_REGS + PT_STATUS)(a0)
        csrw    CSR_STATUS, t0
        REG_L    t0, (SUSPEND_CONTEXT_REGS + PT_BADADDR)(a0)
        csrw    CSR_TVAL, t0
        REG_L    t0, (SUSPEND_CONTEXT_REGS + PT_CAUSE)(a0)
        csrw    CSR_CAUSE, t0
    .endm

/*
 * suspend_restore_regs - Restore registers (except A0 and T0-T6)
 */
    .macro suspend_restore_regs
        REG_L    ra, (SUSPEND_CONTEXT_REGS + PT_RA)(a0)
        REG_L    sp, (SUSPEND_CONTEXT_REGS + PT_SP)(a0)
        REG_L    gp, (SUSPEND_CONTEXT_REGS + PT_GP)(a0)
        REG_L    tp, (SUSPEND_CONTEXT_REGS + PT_TP)(a0)
        REG_L    s0, (SUSPEND_CONTEXT_REGS + PT_S0)(a0)
        REG_L    s1, (SUSPEND_CONTEXT_REGS + PT_S1)(a0)
        REG_L    a1, (SUSPEND_CONTEXT_REGS + PT_A1)(a0)
        REG_L    a2, (SUSPEND_CONTEXT_REGS + PT_A2)(a0)
        REG_L    a3, (SUSPEND_CONTEXT_REGS + PT_A3)(a0)
        REG_L    a4, (SUSPEND_CONTEXT_REGS + PT_A4)(a0)
        REG_L    a5, (SUSPEND_CONTEXT_REGS + PT_A5)(a0)
        REG_L    a6, (SUSPEND_CONTEXT_REGS + PT_A6)(a0)
        REG_L    a7, (SUSPEND_CONTEXT_REGS + PT_A7)(a0)
        REG_L    s2, (SUSPEND_CONTEXT_REGS + PT_S2)(a0)
        REG_L    s3, (SUSPEND_CONTEXT_REGS + PT_S3)(a0)
        REG_L    s4, (SUSPEND_CONTEXT_REGS + PT_S4)(a0)
        REG_L    s5, (SUSPEND_CONTEXT_REGS + PT_S5)(a0)
        REG_L    s6, (SUSPEND_CONTEXT_REGS + PT_S6)(a0)
        REG_L    s7, (SUSPEND_CONTEXT_REGS + PT_S7)(a0)
        REG_L    s8, (SUSPEND_CONTEXT_REGS + PT_S8)(a0)
        REG_L    s9, (SUSPEND_CONTEXT_REGS + PT_S9)(a0)
        REG_L    s10, (SUSPEND_CONTEXT_REGS + PT_S10)(a0)
        REG_L    s11, (SUSPEND_CONTEXT_REGS + PT_S11)(a0)
    .endm

/*
 * copy_page - copy 1 page (4KB) of data from source to destination
 * @a0 - destination
 * @a1 - source
 */
    .macro    copy_page a0, a1
        lui    a2, 0x1
        add    a2, a2, a0
1 :
        REG_L    t0, 0(a1)
        REG_L    t1, SZREG(a1)

        REG_S    t0, 0(a0)
        REG_S    t1, SZREG(a0)

        addi    a0, a0, 2 * SZREG
        addi    a1, a1, 2 * SZREG
        bne    a2, a0, 1b
    .endm

#endif    /* __ASM_ASSEMBLER_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 HackingTool | HackingTool | Generation time: 0.0034 ]--