summaryrefslogtreecommitdiffstats
path: root/module-common.c
diff options
context:
space:
mode:
authorMax Filippov2017-05-08 20:00:56 +0200
committerMichael Tokarev2017-06-04 17:42:55 +0200
commitbb0b6f39c032c18e3a72c5ebef4e4968a9dcb4d0 (patch)
treeca7bb80856a302b8848064b1a05628dc801f9a06 /module-common.c
parenttarget/arm: add data cache invalidation cp15 instruction to cortex-r5 (diff)
downloadqemu-bb0b6f39c032c18e3a72c5ebef4e4968a9dcb4d0.tar.gz
qemu-bb0b6f39c032c18e3a72c5ebef4e4968a9dcb4d0.tar.xz
qemu-bb0b6f39c032c18e3a72c5ebef4e4968a9dcb4d0.zip
hw/xtensa: sim: use g_string/g_new
Replace malloc/free/sprintf with g_string/g_string_printf/g_string_free. Replace g_malloc with g_new when allocating the MemoryRegion to get more type safety. Suggested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions