]> Git Repo - qemu.git/commit - hw/i386/pc.c
hw/i386/pc: factor out pc_cmos_init_floppy()
authorLaszlo Ersek <[email protected]>
Thu, 25 Jun 2015 13:35:05 +0000 (15:35 +0200)
committerMichael S. Tsirkin <[email protected]>
Wed, 8 Jul 2015 07:09:55 +0000 (10:09 +0300)
commit7444ca4ee2382170774ae201c473270d65620d75
tree022f7e82d59cb39421733e7a83251d523cdefa4e
parent5add35bec1e249bb5345a47008c8f298d4760be4
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 <[email protected]>
Cc: John Snow <[email protected]>
Cc: Markus Armbruster <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/i386/pc.c
This page took 0.025589 seconds and 4 git commands to generate.