Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/freebsd32/freebsd32_ioctl.h
Show All 32 Lines | |||||
#ifndef _COMPAT_FREEBSD32_IOCTL_H_ | #ifndef _COMPAT_FREEBSD32_IOCTL_H_ | ||||
#define _COMPAT_FREEBSD32_IOCTL_H_ | #define _COMPAT_FREEBSD32_IOCTL_H_ | ||||
#include <cam/scsi/scsi_sg.h> | #include <cam/scsi/scsi_sg.h> | ||||
typedef __uint32_t caddr_t32; | typedef __uint32_t caddr_t32; | ||||
struct fiodgname_arg32 { | |||||
int len; | |||||
caddr_t32 buf; | |||||
}; | |||||
struct mem_range_op32 | struct mem_range_op32 | ||||
{ | { | ||||
caddr_t32 mo_desc; | caddr_t32 mo_desc; | ||||
int mo_arg[2]; | int mo_arg[2]; | ||||
}; | }; | ||||
struct pci_bar_mmap32 { | struct pci_bar_mmap32 { | ||||
uint32_t pbm_map_base; | uint32_t pbm_map_base; | ||||
uint32_t pbm_map_length; | uint32_t pbm_map_length; | ||||
uint32_t pbm_bar_length1, pbm_bar_length2; | uint32_t pbm_bar_length1, pbm_bar_length2; | ||||
int pbm_bar_off; | int pbm_bar_off; | ||||
struct pcisel pbm_sel; | struct pcisel pbm_sel; | ||||
int pbm_reg; | int pbm_reg; | ||||
int pbm_flags; | int pbm_flags; | ||||
int pbm_memattr; | int pbm_memattr; | ||||
}; | }; | ||||
#define FIODGNAME_32 _IOW('f', 120, struct fiodgname_arg32) | |||||
#define MEMRANGE_GET32 _IOWR('m', 50, struct mem_range_op32) | #define MEMRANGE_GET32 _IOWR('m', 50, struct mem_range_op32) | ||||
#define MEMRANGE_SET32 _IOW('m', 51, struct mem_range_op32) | #define MEMRANGE_SET32 _IOW('m', 51, struct mem_range_op32) | ||||
#define SG_IO_32 _IOWR(SGIOC, 0x85, struct sg_io_hdr32) | #define SG_IO_32 _IOWR(SGIOC, 0x85, struct sg_io_hdr32) | ||||
#define PCIOCBARMMAP_32 _IOWR('p', 8, struct pci_bar_mmap32) | #define PCIOCBARMMAP_32 _IOWR('p', 8, struct pci_bar_mmap32) | ||||
#endif /* _COMPAT_FREEBSD32_IOCTL_H_ */ | #endif /* _COMPAT_FREEBSD32_IOCTL_H_ */ |