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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.15.0-151/arch/riscv/include/asm/   drwxr-xr-x
Free 28.5 GB of 117.98 GB (24.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     image.h (1.63 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _ASM_RISCV_IMAGE_H
#define _ASM_RISCV_IMAGE_H

#define RISCV_IMAGE_MAGIC    "RISCV\0\0\0"
#define RISCV_IMAGE_MAGIC2    "RSC\x05"

#define RISCV_IMAGE_FLAG_BE_SHIFT    0
#define RISCV_IMAGE_FLAG_BE_MASK    0x1

#define RISCV_IMAGE_FLAG_LE        0
#define RISCV_IMAGE_FLAG_BE        1

#ifdef CONFIG_CPU_BIG_ENDIAN
#error conversion of header fields to LE not yet implemented
#else
#define __HEAD_FLAG_BE        RISCV_IMAGE_FLAG_LE
#endif

#define __HEAD_FLAG(field)    (__HEAD_FLAG_##field << \
                RISCV_IMAGE_FLAG_##field##_SHIFT)

#define __HEAD_FLAGS        (__HEAD_FLAG(BE))

#define RISCV_HEADER_VERSION_MAJOR 0
#define RISCV_HEADER_VERSION_MINOR 2

#define RISCV_HEADER_VERSION (RISCV_HEADER_VERSION_MAJOR << 16 | \
                  RISCV_HEADER_VERSION_MINOR)

#ifndef __ASSEMBLY__
/**
 * struct riscv_image_header - riscv kernel image header
 * @code0:        Executable code
 * @code1:        Executable code
 * @text_offset:    Image load offset (little endian)
 * @image_size:        Effective Image size (little endian)
 * @flags:        kernel flags (little endian)
 * @version:        version
 * @res1:        reserved
 * @res2:        reserved
 * @magic:        Magic number (RISC-V specific; deprecated)
 * @magic2:        Magic number 2 (to match the ARM64 'magic' field pos)
 * @res3:        reserved (will be used for PE COFF offset)
 *
 * The intention is for this header format to be shared between multiple
 * architectures to avoid a proliferation of image header formats.
 */

struct riscv_image_header {
    u32 code0;
    u32 code1;
    u64 text_offset;
    u64 image_size;
    u64 flags;
    u32 version;
    u32 res1;
    u64 res2;
    u64 magic;
    u32 magic2;
    u32 res3;
};
#endif /* __ASSEMBLY__ */
#endif /* _ASM_RISCV_IMAGE_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.0039 ]--