search for: mmio_ops

Displaying 3 results from an estimated 3 matches for "mmio_ops".

2020 Apr 30
0
[RFC/PATCH 1/1] virtio: Introduce MMIO ops
...vers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c > index 97d5725..69bfa35 100644 > --- a/drivers/virtio/virtio_mmio.c > +++ b/drivers/virtio/virtio_mmio.c > @@ -100,7 +100,35 @@ struct virtio_mmio_vq_info { > struct list_head node; > }; > > +#ifdef CONFIG_VIRTIO_MMIO_OPS > > +static struct virtio_mmio_ops *mmio_ops; > + > +#define virtio_readb(a) mmio_ops->mmio_readl((a)) > +#define virtio_readw(a) mmio_ops->mmio_readl((a)) > +#define virtio_readl(a) mmio_ops->mmio_readl((a)) > +#define virtio_writeb(val, a) mmio_ops->mmio_writ...
2020 Apr 30
0
[RFC/PATCH 1/1] virtio: Introduce MMIO ops
On Thu, Apr 30, 2020 at 04:04:46PM +0530, Srivatsa Vaddagiri wrote: > * Will Deacon <will at kernel.org> [2020-04-30 11:14:32]: > > > > +#ifdef CONFIG_VIRTIO_MMIO_OPS > > > > > > +static struct virtio_mmio_ops *mmio_ops; > > > + > > > +#define virtio_readb(a) mmio_ops->mmio_readl((a)) > > > +#define virtio_readw(a) mmio_ops->mmio_readl((a)) > > > +#define virtio_readl(a) mmio_ops->mmio_readl((a)...
2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
Simplified vmx_platform.c by removing obsolete code and redundant vmread''s. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> diff -r 9cdfcecf4968 xen/arch/x86/vmx_platform.c --- a/xen/arch/x86/vmx_platform.c Wed Nov 2 16:29:32 2005 +++ b/xen/arch/x86/vmx_platform.c Wed Nov 2 21:12:02 2005 @@ -366,20 +366,15 @@ return DECODE_success; } -static int