提交 e8133762 编写于 作者: B Blue Swirl

Sparc32: fix fdc io_base

On some Sparc32 machines, fdc is located above 4G limit, so uint32_t is not
appropriate type for io_base.
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 f6e097e7
......@@ -33,6 +33,7 @@
#include "qemu-timer.h"
#include "isa.h"
#include "sysbus.h"
#include "qdev-addr.h"
/********************************************************/
/* debug Floppy devices */
......@@ -1972,7 +1973,7 @@ static SysBusDeviceInfo fdc_info = {
.qdev.props = (Property[]) {
{
.name = "io_base",
.info = &qdev_prop_uint32,
.info = &qdev_prop_taddr,
.offset = offsetof(fdctrl_t, io_base),
},
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册