diff options
author | Julien Grall <julien.grall@citrix.com> | 2013-01-09 18:10:22 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-01-11 09:49:44 +0100 |
commit | c02e1eac887b1b0aee7361b1fcf889e7d47fed9d (patch) | |
tree | ecb5c6bfc80436e1bb993d6c7827a0073beb4169 /bitmap.c | |
parent | eb7ff6fb0bddb33991fa44586ac8e2e02019dc97 (diff) |
hw/pc.c: Fix converting of ioport_register* to MemoryRegion
The commit 258711 introduced MemoryRegion to replace ioport_region*
for ioport 80h and F0h.
A MemoryRegion needs to have both read and write callback otherwise a segfault
will occur when an access is made.
The previous behaviour of this both ioport is to return 0xffffffffffffffff.
So keep this behaviour.
Reported-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Tested-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'bitmap.c')
0 files changed, 0 insertions, 0 deletions