aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr_vio.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2011-12-12 18:24:28 +0000
committerAlexander Graf <agraf@suse.de>2012-01-03 15:49:11 +0100
commit1fc02533e73ad66f756f07efdf80fa9bef5afbc8 (patch)
tree4b82e136708cf7facb574811e8d617ef67f4d016 /hw/spapr_vio.h
parent157feeadbaec09fe4dca539a24f6f6d327d6eeb6 (diff)
pseries: Remove hcalls callback
For forgotten historical reasons, PAPR hypercalls for specific virtual IO devices (oh which there are quite a number) are registered via a callback in the VIOsPAPRDeviceInfo structure. This is kind of ugly, so this patch instead registers hypercalls from device_init() functions for each device type. This works just as well, and is cleaner. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr_vio.h')
-rw-r--r--hw/spapr_vio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/spapr_vio.h b/hw/spapr_vio.h
index a325a5f4b3..2430d45bdb 100644
--- a/hw/spapr_vio.h
+++ b/hw/spapr_vio.h
@@ -75,7 +75,6 @@ typedef struct {
const char *dt_name, *dt_type, *dt_compatible;
target_ulong signal_mask;
int (*init)(VIOsPAPRDevice *dev);
- void (*hcalls)(VIOsPAPRBus *bus);
int (*devnode)(VIOsPAPRDevice *dev, void *fdt, int node_off);
} VIOsPAPRDeviceInfo;