403Webshell
Server IP : 43.141.50.122  /  Your IP : 113.219.202.141
Web Server : Apache
System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64
User : www ( 1000)
PHP Version : 8.1.27
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/include/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/include/linux/psp-hygon.h
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
/*
 * Userspace interface for HYGON Platform Security Processor (PSP)
 * commands.
 *
 * Copyright (C) 2024 Hygon Info Technologies Ltd.
 *
 * Author: Liyang Han <hanliyang@hygon.cn>
 */

#ifndef __PSP_HYGON_USER_H__
#define __PSP_HYGON_USER_H__

#include <linux/types.h>

/*****************************************************************************/
/***************************** CSV interface *********************************/
/*****************************************************************************/

/**
 * CSV guest/platform commands
 */
enum {
	CSV_PLATFORM_INIT = 101,
	CSV_PLATFORM_SHUTDOWN = 102,
	CSV_DOWNLOAD_FIRMWARE = 128,
	CSV_HGSC_CERT_IMPORT = 201,

	CSV_MAX,
};

/**
 * struct csv_user_data_hgsc_cert_import - HGSC_CERT_IMPORT command parameters
 *
 * @hgscsk_cert_address: HGSCSK certificate chain
 * @hgscsk_cert_len: length of HGSCSK certificate
 * @hgsc_cert_address: HGSC certificate chain
 * @hgsc_cert_len: length of HGSC certificate
 */
struct csv_user_data_hgsc_cert_import {
	__u64 hgscsk_cert_address;              /* In */
	__u32 hgscsk_cert_len;                  /* In */
	__u64 hgsc_cert_address;                /* In */
	__u32 hgsc_cert_len;                    /* In */
} __attribute__((packed));

/**
 * struct csv_user_data_download_firmware - DOWNLOAD_FIRMWARE command parameters
 *
 * @address: physical address of CSV firmware image
 * @length: length of the CSV firmware image
 */
struct csv_user_data_download_firmware {
	__u64 address;				/* In */
	__u32 length;				/* In */
} __attribute__((packed));

#endif	/* __PSP_HYGON_USER_H__ */

Youez - 2016 - github.com/yon3zu
LinuXploit