qemu-e2k/include/exec
Peter Maydell 39e0b03dec memory: Assert that memory_region_init_rom_device() ops aren't NULL
It doesn't make sense to pass a NULL ops argument to
memory_region_init_rom_device(), because the effect will
be that if the guest tries to write to the memory region
then QEMU will segfault. Catch the bug earlier by sanity
checking the arguments to this function, and remove the
misleading documentation that suggests that passing NULL
might be sensible.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1467122287-24974-4-git-send-email-peter.maydell@linaro.org
2016-07-04 13:06:35 +01:00
..
user
address-spaces.h
cpu_ldst_template.h trace: [all] Add "guest_mem_before" event 2016-06-20 17:21:56 +01:00
cpu_ldst_useronly_template.h trace: [all] Add "guest_mem_before" event 2016-06-20 17:21:56 +01:00
cpu_ldst.h
cpu-all.h target-*: Don't redefine cpu_exec() 2016-06-29 14:03:47 +02:00
cpu-common.h
cpu-defs.h
cputlb.h
exec-all.h tb hash: track translated blocks with qht 2016-06-11 17:11:16 -07:00
gdbstub.h
gen-icount.h
helper-gen.h
helper-head.h
helper-proto.h
helper-tcg.h
hwaddr.h
ioport.h
log.h
memattrs.h
memory-internal.h
memory.h memory: Assert that memory_region_init_rom_device() ops aren't NULL 2016-07-04 13:06:35 +01:00
poison.h
ram_addr.h
semihost.h
softmmu-semi.h
tb-context.h tb hash: track translated blocks with qht 2016-06-11 17:11:16 -07:00
tb-hash-xx.h
tb-hash.h tb hash: track translated blocks with qht 2016-06-11 17:11:16 -07:00