Displaying 2 results from an estimated 2 matches for "dummy_ops".
Did you mean:
dummy_o
2020 Mar 02
2
[PATCH] drm/bochs: Remove vga write
...gt; };
>
> +static uint64_t dummy_read(void *ptr, hwaddr addr, unsigned size)
> +{
> + return -1;
> +}
> +
> +static void dummy_write(void *ptr, hwaddr addr,
> + uint64_t val, unsigned size)
> +{
> +}
> +
> +static const MemoryRegionOps dummy_ops = {
> + .read = dummy_read,
> + .write = dummy_write,
> + .valid.min_access_size = 1,
> + .valid.max_access_size = 4,
> + .impl.min_access_size = 1,
> + .impl.max_access_size = 1,
> + .endianness = DEVICE_LITTLE_ENDIAN,
> +};
> +
> static int boch...
2020 Mar 02
2
[PATCH] drm/bochs: Remove vga write
...gt; };
>
> +static uint64_t dummy_read(void *ptr, hwaddr addr, unsigned size)
> +{
> + return -1;
> +}
> +
> +static void dummy_write(void *ptr, hwaddr addr,
> + uint64_t val, unsigned size)
> +{
> +}
> +
> +static const MemoryRegionOps dummy_ops = {
> + .read = dummy_read,
> + .write = dummy_write,
> + .valid.min_access_size = 1,
> + .valid.max_access_size = 4,
> + .impl.min_access_size = 1,
> + .impl.max_access_size = 1,
> + .endianness = DEVICE_LITTLE_ENDIAN,
> +};
> +
> static int boch...