ALSA: xen-front: Implement handling of shared buffers
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Mon, 14 May 2018 06:27:40 +0000 (09:27 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 May 2018 10:59:50 +0000 (12:59 +0200)
commitd6e0fbb82e73a01e4cb3631b8b3dd7aae09ab14c
tree3b25bbd880692a6db4b44a0e2ab9c0a249939828
parent788ef64a2caee38cc4b8890abd3d7e54dfa3bcc9
ALSA: xen-front: Implement handling of shared buffers

Implement shared buffer handling according to the
para-virtualized sound device protocol at xen/interface/io/sndif.h:
  - manage buffer memory
  - handle granted references
  - handle page directories

[ Fixed missing linux/kernel.h inclusion -- tiwai ]

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/xen/Makefile
sound/xen/xen_snd_front.c
sound/xen/xen_snd_front_shbuf.c [new file with mode: 0644]
sound/xen/xen_snd_front_shbuf.h [new file with mode: 0644]