Philippe Mathieu-Daudé
c9e0b9a59c
hw/char/goldfish: Use DMA memory API
...
Rather than using address_space_rw(..., 0 or 1),
use the simpler DMA memory API which expand to
the same code. This allows removing a cast on
the 'buf' variable which is really const. Since
'buf' is only used in the CMD_READ_BUFFER case,
we can reduce its scope.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240723181850.46000-1-philmd@linaro.org>
2024-07-23 22:34:33 +02:00
..
2024-06-04 11:53:43 +02:00
2024-06-19 12:40:49 +02:00
2024-07-21 07:46:38 +02:00
2024-05-03 15:47:47 +02:00
2024-07-21 07:46:38 +02:00
2024-06-19 12:40:49 +02:00
2024-05-03 15:47:47 +02:00
2024-07-09 08:05:44 +02:00
2024-07-23 22:34:33 +02:00
2024-07-22 13:56:11 +02:00
2024-04-25 12:48:12 +02:00
2024-05-03 15:47:47 +02:00
2024-07-23 20:30:36 +02:00
2024-07-22 12:47:28 +04:00
2024-06-18 14:52:00 +02:00
2024-02-01 08:33:18 +01:00
2024-07-02 07:52:43 +02:00
2024-05-08 19:42:45 +02:00
2024-05-03 15:47:48 +02:00
2024-07-23 20:30:36 +02:00
2024-07-23 18:08:44 +02:00
2024-07-02 06:58:48 +02:00
2024-05-28 14:20:48 +01:00
2024-07-23 20:30:36 +02:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-07-16 20:04:08 +02:00
2024-07-12 09:41:18 +08:00
2024-07-02 06:58:37 +02:00
2024-07-03 18:14:07 -04:00
2024-05-03 15:47:47 +02:00
2024-07-23 20:30:36 +02:00
2024-07-11 11:41:34 +01:00
2024-07-09 08:05:44 +02:00
2024-07-23 22:34:09 +02:00
2024-07-22 14:43:17 +02:00
2024-07-01 12:48:55 +01:00
2024-05-10 15:45:15 +02:00
2024-07-03 18:14:07 -04:00
2024-04-25 09:43:29 -07:00
2024-06-19 12:40:49 +02:00
2024-07-16 20:04:08 +02:00
2024-05-08 19:43:15 +02:00
2024-07-18 12:08:45 +10:00
2024-07-23 20:30:36 +02:00
2024-05-10 15:45:15 +02:00
2024-07-03 20:54:17 -07:00
2024-07-17 15:40:28 +10:00
2024-07-16 20:30:15 +02:00
2024-04-25 10:21:06 +01:00
2024-06-10 13:05:27 -04:00
2024-06-19 12:40:49 +02:00
2024-05-03 15:47:48 +02:00
2024-05-06 10:19:56 -07:00
2024-07-21 07:46:38 +02:00
2024-07-16 18:18:24 +02:00
2024-02-29 11:35:36 -10:00
2024-05-03 15:47:48 +02:00
2024-07-14 17:11:21 +09:00
2024-07-17 14:04:15 +03:00
2024-07-17 14:04:15 +03:00
2024-07-10 18:06:24 +02:00
2024-06-16 21:08:54 +02:00
2024-07-12 00:17:36 +02:00
2024-06-04 11:53:43 +02:00
2024-05-10 15:45:15 +02:00
2024-04-25 12:48:12 +02:00
2024-04-24 16:03:38 +02:00