X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvm_dev.c;h=8cb45b4fa200d65cd8dc3311878796a4debd28c0;hb=2b1f4ef19d766727f873476861c64339c8836a40;hp=753bfcd81d2dfe8a01490ca29f0da4525c74b6dd;hpb=df58bd3c484a52b1e166dc28e7b9b6fd94e5a023;p=palacios.git diff --git a/palacios/src/palacios/vm_dev.c b/palacios/src/palacios/vm_dev.c index 753bfcd..8cb45b4 100644 --- a/palacios/src/palacios/vm_dev.c +++ b/palacios/src/palacios/vm_dev.c @@ -6,7 +6,7 @@ struct vm_device * allocate_device() { struct vm_device * dev = NULL; - VMMMalloc(struct vm_device *, dev, sizeof(struct vm_device)); + V3_Malloc(struct vm_device *, dev, sizeof(struct vm_device)); dev->ops = NULL; memset(dev->name, 0, 32); @@ -37,6 +37,6 @@ struct vm_device * create_device(char * name, struct vm_device_ops * ops, void * } void free_device(struct vm_device * dev) { - VMMFree(dev); + V3_Free(dev); }