qemu-e2k/hw/nvram
Gabriel L. Somlo ce9a2aa372 fw_cfg: expose control register size in fw_cfg.h
Expose the size of the control register (FW_CFG_CTL_SIZE) in fw_cfg.h.
Add comment to fw_cfg_io_realize() pointing out that since the
8-bit data register is always subsumed by the 16-bit control
register in the port I/O case, we use the control register width
as the *total* width of the (classic, non-DMA) port I/O region reserved
for the device.

Cc: Marc Marí <markmb@redhat.com>
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Marc Marí <markmb@redhat.com>
Message-id: 1455906029-25565-2-git-send-email-somlo@cmu.edu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-03-08 10:46:30 +01:00
..
Makefile.objs hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
ds1225y.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
eeprom93xx.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
fw_cfg.c fw_cfg: expose control register size in fw_cfg.h 2016-03-08 10:46:30 +01:00
mac_nvram.c hw: fix some debug message format strings 2016-02-17 09:59:29 +11:00
spapr_nvram.c ppc: Clean up includes 2016-01-29 15:07:22 +00:00