projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2247936
)
hw: debugexit: add read callback
author
Li Qiang
<liq3ea@gmail.com>
Wed, 12 Sep 2018 16:01:12 +0000
(09:01 -0700)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 2 Oct 2018 17:09:03 +0000
(19:09 +0200)
Signed-off-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <
20180912160118
.21158-3-liq3ea@163.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/misc/debugexit.c
patch
|
blob
|
history
diff --git
a/hw/misc/debugexit.c
b/hw/misc/debugexit.c
index 84fa1a5b9d550a298283924d2710b5a65f887558..bed293247ea518ce3033f084caf0185460af5205 100644
(file)
--- a/
hw/misc/debugexit.c
+++ b/
hw/misc/debugexit.c
@@
-23,6
+23,11
@@
typedef struct ISADebugExitState {
MemoryRegion io;
} ISADebugExitState;
+static uint64_t debug_exit_read(void *opaque, hwaddr addr, unsigned size)
+{
+ return 0;
+}
+
static void debug_exit_write(void *opaque, hwaddr addr, uint64_t val,
unsigned width)
{
@@
-30,6
+35,7
@@
static void debug_exit_write(void *opaque, hwaddr addr, uint64_t val,
}
static const MemoryRegionOps debug_exit_ops = {
+ .read = debug_exit_read,
.write = debug_exit_write,
.valid.min_access_size = 1,
.valid.max_access_size = 4,