Statistics
| Branch: | Revision:

root / target-i386 @ 834574ea

Name Size
Makefile.objs 394 Bytes
TODO 1 kB
arch_dump.c 12 kB
arch_memory_mapping.c 7.9 kB
cc_helper.c 8.9 kB
cc_helper_template.h 7 kB
cpu-qom.h 1.9 kB
cpu.c 75.2 kB
cpu.h 38.1 kB
excp_helper.c 4.1 kB
fpu_helper.c 29.8 kB
helper.c 40.8 kB
helper.h 7.2 kB
hyperv.c 1.2 kB
hyperv.h 1.2 kB
int_helper.c 10.4 kB
ioport-user.c 1.6 kB
kvm-stub.c 375 Bytes
kvm.c 66 kB
kvm_i386.h 1.3 kB
machine.c 15.2 kB
mem_helper.c 3.6 kB
misc_helper.c 15.1 kB
ops_sse.h 70.9 kB
ops_sse_header.h 12.5 kB
seg_helper.c 79.2 kB
shift_helper_template.h 3 kB
smm_helper.c 10.1 kB
svm.h 5.7 kB
svm_helper.c 26.7 kB
topology.h 4.8 kB
translate.c 265.4 kB

Latest revisions

# Date Author Comment
2d64255b 02/16/2013 03:51 pm Andreas Färber

target-i386: Split command line parsing out of cpu_x86_register()

In order to instantiate a CPU subtype we will need to know which type,
so move the cpu_model splitting into cpu_x86_init().

Parameters need to be set on the X86CPU instance, so move
cpu_x86_parse_featurestr() into cpu_x86_init() as well....

fcd7d003 02/16/2013 03:51 pm Andreas Färber

cpu: Move exit_request field to CPUState

Since it was located before breakpoints field, it needs to be reset.

Signed-off-by: Andreas Färber <>

c05efcb1 02/16/2013 03:51 pm Andreas Färber

cpu: Add CPUArchState pointer to CPUState

The target-specific ENV_GET_CPU() macros have allowed us to navigate
from CPUArchState to CPUState. The reverse direction was not supported.
Avoid introducing CPU_GET_ENV() macros by initializing an untyped
pointer that is initialized in derived instance_init functions....

5c3c6a68 02/16/2013 03:51 pm Andreas Färber

target-i386: Move cpu_x86_init()

Consolidate CPU functions in cpu.c.
Allows to make cpu_x86_register() static.

No functional changes.

Reviewed-by: Eduardo Habkost <>
Reviewed-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

2b6f294c 02/16/2013 03:50 pm Andreas Färber

target-i386: Update X86CPU to QOM realizefn

Adapt the signature of x86_cpu_realize(), hook up to
DeviceClass::realize and set realized = true in cpu_x86_init().

The QOM realizefn cannot depend on errp being non-NULL as in
cpu_x86_init(), so use a local Error to preserve error handling behavior...

14e53426 02/16/2013 01:12 pm Richard Henderson

target-i386: Inline bitops_flsl

Use clz32 directly. Which makes slightly more sense given
that the input is type "int" and not type "long".

Signed-off-by: Richard Henderson <>
Reviewed-by: Eric Blake <>
Signed-off-by: Blue Swirl <>

24537a01 02/16/2013 12:44 pm Peter Maydell

qemu-log: Rename the public-facing cpu_set_log function to qemu_set_log

Rename the public-facing function cpu_set_log to qemu_set_log. This
requires us to rename the internal-only qemu_set_log() to
do_qemu_set_log().

Signed-off-by: Peter Maydell <>...

312fd5f2 02/11/2013 04:13 pm Markus Armbruster

error: Strip trailing '\n' from error string arguments (again)

Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming
back. Tracked down with this Coccinelle semantic patch:

r
expression err, eno, cls, fmt;
position p;
@@
(...
5c099537 02/01/2013 11:53 pm Paolo Bonzini

cpu: do not use object_delete

CPUs are never added to the composition tree, so delete is achieved
simply by removing the last references to them.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

cc36a7a2 02/01/2013 02:35 am Andreas Färber

target-i386: Pass X86CPU to cpu_x86_set_a20()

Prepares for cpu_interrupt() changing argument to CPUState.

While touching it, rename to x86_cpu_...() now that it takes an X86CPU.

Signed-off-by: Andreas Färber <>
Reviewed-by: Eduardo Habkost <>

View revisions

Also available in: Atom