include/xen/interface/hvm/ioreq.h

Source file repositories/reference/linux-study-clean/include/xen/interface/hvm/ioreq.h

File Facts

System
Linux kernel
Corpus path
include/xen/interface/hvm/ioreq.h
Extension
.h
Size
1524 bytes
Lines
52
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

struct ioreq {
	uint64_t addr;          /* physical address */
	uint64_t data;          /* data (or paddr of data) */
	uint32_t count;         /* for rep prefixes */
	uint32_t size;          /* size in bytes */
	uint32_t vp_eport;      /* evtchn for notifications to/from device model */
	uint16_t _pad0;
	uint8_t state:4;
	uint8_t data_is_ptr:1;  /* if 1, data above is the guest paddr
				 * of the real data to use. */
	uint8_t dir:1;          /* 1=read, 0=write */
	uint8_t df:1;
	uint8_t _pad1:1;
	uint8_t type;           /* I/O type */
};

#endif /* __XEN_PUBLIC_HVM_IOREQ_H__ */

Annotation

Implementation Notes