mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Revert "ioport: remove LITTLE_ENDIAN mark for portio"
This reverts commit c3cb8e7780
.
The scenario where I/O ports are accessed with DEVICE_LITTLE_ENDIAN
endianness now works and will soon be unit tested. Since the PortioList
indirection assumes little endian, define portio_ops the same way.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1374501278-31549-16-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
61fcb62862
commit
f36a6382b8
1 changed files with 1 additions and 0 deletions
1
ioport.c
1
ioport.c
|
@ -183,6 +183,7 @@ static void portio_write(void *opaque, hwaddr addr, uint64_t data,
|
|||
static const MemoryRegionOps portio_ops = {
|
||||
.read = portio_read,
|
||||
.write = portio_write,
|
||||
.endianness = DEVICE_LITTLE_ENDIAN,
|
||||
.valid.unaligned = true,
|
||||
.impl.unaligned = true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue