summaryrefslogtreecommitdiffstats
path: root/hw/rtc/ds1338.c
diff options
context:
space:
mode:
authorBernhard Beschow2022-05-13 20:09:57 +0200
committerAnthony PERARD2022-06-09 15:47:42 +0200
commit6a8a8b62bdc8e3d7c5fc0f82ef4583707183b12f (patch)
treec347b469a1f8c63d4949899ac22a9648bdc36273 /hw/rtc/ds1338.c
parenthw/ide/piix: Add some documentation to pci_piix3_xen_ide_unplug() (diff)
downloadqemu-6a8a8b62bdc8e3d7c5fc0f82ef4583707183b12f.tar.gz
qemu-6a8a8b62bdc8e3d7c5fc0f82ef4583707183b12f.tar.xz
qemu-6a8a8b62bdc8e3d7c5fc0f82ef4583707183b12f.zip
include/hw/ide: Unexport pci_piix3_xen_ide_unplug()
This function was declared in a generic and public header, implemented in a device-specific source file but only used in xen_platform. Given its 'aux' parameter, this function is more xen-specific than piix-specific. Also, the hardcoded magic constants seem to be generic and related to PCIIDEState and IDEBus rather than piix. Therefore, move this function to xen_platform, unexport it, and drop the "piix3" in the function name as well. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Paul Durrant <paul@xen.org> Acked-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220513180957.90514-4-shentey@gmail.com> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/rtc/ds1338.c')
0 files changed, 0 insertions, 0 deletions