mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-08 08:51:03 +00:00
prep: fix I/O port endianness
Do not swap endianness here, it will happen during cpu_{in,out}{b,w,l}. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1374501278-31549-6-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
66aab867ce
commit
921f8040d3
@ -410,7 +410,7 @@ static const MemoryRegionOps PPC_prep_io_ops = {
|
|||||||
.read = { PPC_prep_io_readb, PPC_prep_io_readw, PPC_prep_io_readl },
|
.read = { PPC_prep_io_readb, PPC_prep_io_readw, PPC_prep_io_readl },
|
||||||
.write = { PPC_prep_io_writeb, PPC_prep_io_writew, PPC_prep_io_writel },
|
.write = { PPC_prep_io_writeb, PPC_prep_io_writew, PPC_prep_io_writel },
|
||||||
},
|
},
|
||||||
.endianness = DEVICE_LITTLE_ENDIAN,
|
.endianness = DEVICE_NATIVE_ENDIAN,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define NVRAM_SIZE 0x2000
|
#define NVRAM_SIZE 0x2000
|
||||||
|
Loading…
Reference in New Issue
Block a user