Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CALLER_H_INCLUDED
- #define CALLER_H_INCLUDED
- #include <linux/ioctl.h>
- typedef struct argVendorDevice{
- unsigned int vendor;
- unsigned int device;
- } argVenDev;
- #define IOCTL_MAGIC 'h'
- #define IOCTL_GET_PSI_VENDEV _IOWR(IOCTL_MAGIC, 0, int)
- #define IOCTL_GET_PSI_DEVFN _IOWR(IOCTL_MAGIC, 1, argVenDev)
- #define FIND_FUNCTION_NUMBER 1
- #define FIND_VENDOR_DEVICE 2
- #define DEVPATH "/dev/ioctl"
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement