Displaying 2 results from an estimated 2 matches for "dummy_writ".
Did you mean:
dummy_write
2020 Mar 02
2
[PATCH] drm/bochs: Remove vga write
...display/bochs-display.c
> @@ -151,6 +151,26 @@ static const MemoryRegionOps bochs_display_qext_ops = {
> .endianness = DEVICE_LITTLE_ENDIAN,
> };
>
> +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,
>...
2020 Mar 02
2
[PATCH] drm/bochs: Remove vga write
...display/bochs-display.c
> @@ -151,6 +151,26 @@ static const MemoryRegionOps bochs_display_qext_ops = {
> .endianness = DEVICE_LITTLE_ENDIAN,
> };
>
> +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,
>...