arch/powerpc/include/uapi/asm/papr-hvpipe.h

Source file repositories/reference/linux-study-clean/arch/powerpc/include/uapi/asm/papr-hvpipe.h

File Facts

System
Linux kernel
Corpus path
arch/powerpc/include/uapi/asm/papr-hvpipe.h
Extension
.h
Size
816 bytes
Lines
34
Domain
Architecture Layer
Bucket
arch/powerpc
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

struct papr_hvpipe_hdr {
	__u8 version;
	__u8 reserved[3];
	__u32 flags;
	__u8 reserved2[40];
};

/*
 * ioctl for /dev/papr-hvpipe
 */
#define PAPR_HVPIPE_IOC_CREATE_HANDLE	_IOW(PAPR_MISCDEV_IOC_ID, 9, __u32)

/*
 * hvpipe_hdr flags used for read()
 */
#define HVPIPE_MSG_AVAILABLE	0x01 /* Payload is available */
#define HVPIPE_LOST_CONNECTION	0x02 /* Pipe connection is closed/unavailable */

#endif /* _UAPI_PAPR_HVPIPE_H_ */

Annotation

Implementation Notes