40 #ifndef __CPU_KVM_DEVICE_HH__
41 #define __CPU_KVM_DEVICE_HH__
114 int ioctl(
int request,
long p1)
const;
115 int ioctl(
int request,
void *p1)
const {
116 return ioctl(request, (
long)p1);
119 return ioctl(request, 0
L);
126 #endif // __CPU_KVM_DEVICE_HH__
void setAttrPtr(uint32_t group, uint64_t attr, const void *data) const
void getAttrPtr(uint32_t group, uint64_t attr, void *data) const
int ioctl(int request) const
T getAttr(uint32_t group, uint64_t attr) const
Get the value of an attribute.
int ioctl(int request, void *p1) const
int ioctl(int request, long p1) const
void setAttr(uint32_t group, uint64_t attr, const T &data) const
Get the value of an attribute.
bool hasAttr(uint32_t group, uint64_t attr) const
Check if a device attribute is valid.