mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
fw_cfg: remove support for guest-side data writes
From this point forward, any guest-side writes to the fw_cfg data register will be treated as no-ops. This patch also removes the unused host-side API function fw_cfg_add_callback(), which allowed the registration of a callback to be executed each time the guest completed a full overwrite of a given fw_cfg data item. Signed-off-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
48779e5018
commit
023e314856
3 changed files with 1 additions and 35 deletions
|
@ -193,7 +193,6 @@ ecc_diag_mem_writeb(uint64_t addr, uint32_t val) "Write diagnostic %"PRId64" = %
|
|||
ecc_diag_mem_readb(uint64_t addr, uint32_t ret) "Read diagnostic %"PRId64"= %02x"
|
||||
|
||||
# hw/nvram/fw_cfg.c
|
||||
fw_cfg_write(void *s, uint8_t value) "%p %d"
|
||||
fw_cfg_select(void *s, uint16_t key, int ret) "%p key %d = %d"
|
||||
fw_cfg_read(void *s, uint8_t ret) "%p = %d"
|
||||
fw_cfg_add_file_dupe(void *s, char *name) "%p %s"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue