Re: [Qemu-devel] [PATCH v4 1/5] fw_cfg: expose control register size in fw_cfg.h

2015-09-29 Thread Laszlo Ersek
On 09/27/15 23:28, Gabriel L. Somlo wrote: > Expose the size of the control register (FW_CFG_SIZE, renamed to > 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 ca

[Qemu-devel] [PATCH v4 1/5] fw_cfg: expose control register size in fw_cfg.h

2015-09-27 Thread Gabriel L. Somlo
Expose the size of the control register (FW_CFG_SIZE, renamed to 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*