diff options
| author | Laszlo Ersek | 2015-06-25 15:35:05 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-07-08 09:09:55 +0200 |
| commit | 7444ca4ee2382170774ae201c473270d65620d75 (patch) | |
| tree | 022f7e82d59cb39421733e7a83251d523cdefa4e /scripts/switch-timer-api | |
| parent | ich9: implement strap SPKR pin logic (diff) | |
| download | qemu-7444ca4ee2382170774ae201c473270d65620d75.tar.gz qemu-7444ca4ee2382170774ae201c473270d65620d75.tar.xz qemu-7444ca4ee2382170774ae201c473270d65620d75.zip | |
hw/i386/pc: factor out pc_cmos_init_floppy()
Extract the pc_cmos_init_floppy() function from pc_cmos_init(). The
function sets two RTC registers: floppy drive types (0x10), overwriting
the earlier value in there), and REG_EQUIPMENT_BYTE (0x14), setting bits
in the prior value.
Cc: Jan Tomko <jtomko@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
