diff --git a/common/src/platform/linux/ivshmem.c b/common/src/platform/linux/ivshmem.c index 99d54132..6644a8ab 100644 --- a/common/src/platform/linux/ivshmem.c +++ b/common/src/platform/linux/ivshmem.c @@ -102,6 +102,12 @@ void ivshmemOptionsInit(void) option_register(options); } +bool ivshmemInit(struct IVSHMEM * dev) +{ + // FIXME: split code from ivshmemOpen + return true; +} + bool ivshmemOpen(struct IVSHMEM * dev) { return ivshmemOpenDev(dev, option_get_string("app", "shmFile")); @@ -214,6 +220,11 @@ void ivshmemClose(struct IVSHMEM * dev) dev->opaque = NULL; } +void ivshmemFree(struct IVSHMEM * dev) +{ + // FIXME: split code from ivshmemClose +} + bool ivshmemHasDMA(struct IVSHMEM * dev) { assert(dev && dev->opaque);