]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/ide/atapi: Use the ldst API
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 8 Aug 2019 13:04:54 +0000 (15:04 +0200)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 23:14:04 +0000 (19:14 -0400)
commit614ab7d127536655ef105d4153ea264c88e855c1
treebbefe1fce604aa1f1bbc1bf26fdea3ba4826a2e4
parent8ec41c4265714255d5a138f8b538faf3583dcff6
hw/ide/atapi: Use the ldst API

The big-endian load/store functions are already provided
by "qemu/bswap.h".
Avoid code duplication, use the generic API.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190808130454.9930-1-philmd@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/atapi.c