X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2F8237_dma.c;h=40787a7d2b58618e3bcc689e508e794336c1895a;hb=4bc3ee757b44d3e466fd89e348106c47fa5511ee;hp=5748d85b497ad571dfaf41b116f52f6153dac95e;hpb=9b4bfeefac09294a6f0ae12dbadf102eb547f5ec;p=palacios.git diff --git a/palacios/src/devices/8237_dma.c b/palacios/src/devices/8237_dma.c index 5748d85..40787a7 100644 --- a/palacios/src/devices/8237_dma.c +++ b/palacios/src/devices/8237_dma.c @@ -23,33 +23,31 @@ struct dma_state { - int tmp; - + int tmp }; static int dma_init(struct vm_device * dev) { - - return 0; + return 0; } static struct vm_device_ops dev_ops = { - .init = dma_init, - .deinit = NULL, - .reset = NULL, - .start = NULL, - .stop = NULL, + .init = dma_init, + .deinit = NULL, + .reset = NULL, + .start = NULL, + .stop = NULL, }; struct vm_device * v3_create_dma() { - struct dma_state * dma = NULL; + struct dma_state * dma = NULL; - dma = (struct dma_state *)V3_Malloc(sizeof(struct dma_state)); - V3_ASSERT(dma != NULL); + dma = (struct dma_state *)V3_Malloc(sizeof(struct dma_state)); + V3_ASSERT(dma != NULL); - struct vm_device * dev = v3_create_device("DMA", &dev_ops, dma); + struct vm_device * dev = v3_create_device("DMA", &dev_ops, dma); - return dma; + return dma; }