summary refs log tree commit diff stats
path: root/cpu-target.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-01-08 17:08:59 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-19 12:28:59 +0100
commit284a7ee2e290e0c9b8cd3ea6164d92386933054f (patch)
treea5e71084ac5d3e544bd296eb27e01071884107a3 /cpu-target.c
parent5dd58358a57048e5ceabf5c91c0544f4f56afdcd (diff)
downloadfocaccia-qemu-284a7ee2e290e0c9b8cd3ea6164d92386933054f.tar.gz
focaccia-qemu-284a7ee2e290e0c9b8cd3ea6164d92386933054f.zip
hw/pflash: implement update buffer for block writes
Add an update buffer where all block updates are staged.
Flush or discard updates properly, so we should never see
half-completed block writes in pflash storage.

Drop a bunch of FIXME comments ;)

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240108160900.104835-4-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'cpu-target.c')
0 files changed, 0 insertions, 0 deletions