38#ifndef __CPU_KVM_DEVICE_HH__
39#define __CPU_KVM_DEVICE_HH__
115 int ioctl(
int request,
long p1)
const;
116 int ioctl(
int request,
void *p1)
const {
117 return ioctl(request, (
long)p1);
120 return ioctl(request, 0
L);
void getAttrPtr(uint32_t group, uint64_t attr, void *data) const
void setAttrPtr(uint32_t group, uint64_t attr, const void *data) const
int ioctl(int request, void *p1) const
bool hasAttr(uint32_t group, uint64_t attr) const
Check if a device attribute is valid.
void setAttr(uint32_t group, uint64_t attr, const T &data) const
Get the value of an attribute.
T getAttr(uint32_t group, uint64_t attr) const
Get the value of an attribute.
int ioctl(int request) const
int ioctl(int request, long p1) const
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.