qemu-e2k/target-i386
Markus Armbruster ab3ad07f89 x86: Use g_new() & friends where that makes obvious sense
g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-12-15 12:21:02 +01:00
..
arch_dump.c x86: Fuse g_malloc(); memset() into g_malloc0() 2014-12-15 12:21:02 +01:00
arch_memory_mapping.c
cc_helper_template.h
cc_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
cpu-qom.h target-i386: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
cpu.c target-i386: get/set/migrate XSAVES state 2014-12-15 12:21:01 +01:00
cpu.h target-i386: get/set/migrate XSAVES state 2014-12-15 12:21:01 +01:00
excp_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
fpu_helper.c target-i386: update fp status fix 2014-09-18 17:06:12 +02:00
gdbstub.c target-i386: update fp status fix 2014-09-18 17:06:12 +02:00
helper.c target-i386: Use cpu_exec_enter/exit qom hooks 2014-09-25 18:54:21 +01:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
int_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
ioport-user.c
kvm_i386.h
kvm-stub.c
kvm.c x86: Use g_new() & friends where that makes obvious sense 2014-12-15 12:21:02 +01:00
machine.c target-i386: get/set/migrate XSAVES state 2014-12-15 12:21:01 +01:00
Makefile.objs
mem_helper.c softmmu: introduce cpu_ldst.h 2014-06-05 16:10:33 +02:00
misc_helper.c target-i386: move check_io helpers to seg_helper.c 2014-06-05 16:10:34 +02:00
ops_sse_header.h
ops_sse.h target-i386: simplify AES emulation 2014-12-15 12:21:01 +01:00
seg_helper.c target-i386: eliminate dead code and hoist common code out of "if" 2014-11-12 12:43:45 +01:00
shift_helper_template.h
smm_helper.c Merge remote-tracking branch 'remotes/kvm/uq/master' into staging 2014-06-05 19:16:28 +01:00
svm_helper.c Merge remote-tracking branch 'remotes/bonzini/softmmu-smap' into staging 2014-06-05 21:06:14 +01:00
svm.h
TODO
topology.h
translate.c i386: fix breakpoints handling in icount mode 2014-10-31 16:41:05 +01:00