diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2015-07-26 22:32:55 +0200 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2015-07-28 09:30:10 +0100 |
commit | 52579c681cb12bf64de793e85edc50d990f4d42f (patch) | |
tree | 9c04ecab6f1b38a90762a6cdce40419839cd87a2 /scripts/shaderinclude.pl | |
parent | 30dfa9a46cd845db3f43f5c11b129f4a50941b02 (diff) |
net/dp8393x: do not use memory_region_init_rom_device with NULL
Replace memory_region_init_rom_device() with memory_region_init_ram() and
memory_region_set_readonly().
This fixes a guest-triggerable QEMU crash when guest tries to write to PROM.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
[leon.alrae@imgtec.com: shorten subject length]
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'scripts/shaderinclude.pl')
0 files changed, 0 insertions, 0 deletions