History log of /external/qemu/target-i386/helper.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f38c7f905384c064b88fbdfa2eb054a92be63f3 26-Mar-2014 David 'Digit' Turner <digit@google.com> hax: CPUOldState -> CPUState

Change-Id: I4352da69e3a4e064a9fbaebee1dcb717cbb329b7
/external/qemu/target-i386/helper.c
e36a683b547e540c68bf9c5578e05b29c8676f47 25-Mar-2014 David 'Digit' Turner <digit@google.com> kvm: CPUOldState -> CPUState migration.

Change-Id: I1528b1fde21d42d6f0a3a77ce8ba827a9f23a5a1
/external/qemu/target-i386/helper.c
bf7a22f3a6c38d359d2e933dec4706d1c7375f0a 25-Mar-2014 David 'Digit' Turner <digit@google.com> Move cpu_xxx functions to qom/cpu.h

This patch moves a few CPU-releated function declarations to
include/qom/cpu.h, while changing their signature to take a
CPUState instead of a CPUOldState.

Change-Id: I5f09b522dc755be334973a27f58b6704fbccc4c6
/external/qemu/target-i386/helper.c
6657678c3d86395084f6a699e73614195f06c445 24-Mar-2014 David 'Digit' Turner <digit@google.com> Introduce CPUState.

This patch splits the definitions previously found in CPUArchState,
to place some of them in a common data structure called CPUState,
to mirror upstream.

Note that upstream also makes CPUState a complete QOM object that
derives from DeviceState / DeviceClass, but this patch doesn't do
that. That's why the target-*/cpu-qom.h files, as well as
include/qom/cpu.h are not the real ones from upstream yet.

Future patches will get rid of CPUOldState, which is currently used
as an alias for CPUArchState, but will be replaced entirely by
CPUState, requiring changing the signature of many functions to
match upstream.

QOM-ification will probably happen after that, but may require
a few more patches due to layering / coupling issues.

Change-Id: Ifc33f8abe2aa80b20da13f5c83c109e37aff7e11

Conflicts:
cputlb.c
target-arm/op_helper.c
target-i386/op_helper.c
target-mips/op_helper.c
/external/qemu/target-i386/helper.c
7e928d4e526c00c91e8e5b48eaf77fabdc5d4e90 04-Apr-2014 David 'Digit' Turner <digit@google.com> target-i386: Pass env to segment helpers.

Change-Id: I9f76b125319079a7f9a3a91851fb88c59ab87aa4
/external/qemu/target-i386/helper.c
0d8b235c0c6c02de86a4e7415d574175b4518ff0 20-Mar-2014 David 'Digit' Turner <digit@google.com> Large page TLB flush

+ Remove unused is_softmmu parameter.

Upstream d4c430a80f000d722bb70287af4d4c184a8d7006
Upstream 97b348e7d221c94ddde609346407bd2cd6f85044

Change-Id: I7ccc6a8ffc040f91a58a3206d95417d22001b67b
/external/qemu/target-i386/helper.c
a889d35e76c8ea18caf70c738fd585c64b857369 20-Mar-2014 David 'Digit' Turner <digit@google.com> target-*/exec.h cleanup

This patch gets rid of target-*/exec.h headers by moving the corresponding
definitions either inside target-*/op_helper.c, or dyngen-exec.h for the
global register-based 'env' value, which will be removed in future patches.

Upstream 3e4571724fb92c77de81d8b54957de8232be6706

Change-Id: I513d5c27c01c6dc727c1ce6fb7f3a7a5dc03800f
/external/qemu/target-i386/helper.c
bf2340f1eae08ddada9ed09490aa83e0a1bd7586 18-Mar-2014 David 'Digit' Turner <digit@google.com> cpu-exec: unify do_interrupt call

Upstream e694d4e289b05d0c9b118850eff961aa9ca33183
Upstream 3c688828bcb3afa2744e1f1729a40eef4a575b56
Upstream d8108fb187bb68459cfe7dca4b5c983db33bcc7b

Change-Id: Ia492dae677ddfe052768b943f8ea275fab8a9c49
/external/qemu/target-i386/helper.c
be42f85d953644ea7df35dc3bc9f1458d905401e 31-Mar-2014 David 'Digit' Turner <digit@google.com> Merge "target-i386: Fix FPU helpers." into idea133
Auto-merge: 2c87959

* commit '2c87959ff666c3be5b73706efed2f9e6af0db41f':
target-i386: Fix FPU helpers.
a6aabef22a039b4523f3454e3f3c04dc051ab906 28-Mar-2014 David 'Digit' Turner <digit@google.com> target-i386: Fix FPU helpers.

This fixes the bug that prevents x86 system images from booting
properly without KVM/HAXM. It was introduced by commit
e228840614eab80006f9d7e68339b09b3890931a which upgraded
softfloat support to upstream version.

This patch upgrades the target-i386 FPU emulation code to
always use 80-bit FPU registera, and perform computations
appropriately. This comes from upstream QEMU patch
c31da136a0bf8caad70c348f5ffc283206e9c7fc

Change-Id: I5c3452a3072f31299623b5dae754a060c86c402a
/external/qemu/target-i386/helper.c
1348777d4229cf65ef12d0a4ee531d4502847277 17-Feb-2014 David 'Digit' Turner <digit@google.com> Create TBContext inside of TCGContext

This matches upstream.

Change-Id: I605dde69aab64dcec3a81875912a6e611ce0cf05
/external/qemu/target-i386/helper.c
c005246ed03de874fdc432073ba8e5e8ebfed922 25-Feb-2014 David 'Digit' Turner <digit@google.com> Remove trailing spaces in misc sources.

Change-Id: I573d4e816112b7401b3c824fbe773b85a8601531
/external/qemu/target-i386/helper.c
81911b0de42d9e949deda2dfef6a59a1c0561bda 10-Feb-2014 David 'Digit' Turner <digit@google.com> Remove dead KQEMU support code.

CONFIG_KQEMU was never defined anyway, so remove this dead code
from the source tree.

Change-Id: Ie854f7015f1c02352b0a59a9b7ff0294fa889a6e
/external/qemu/target-i386/helper.c
e2678e116c8cdb0f36b247a5bd9cfacc849362fc 16-Jan-2014 David 'Digit' Turner <digit@android.com> Rename CPUState to CPUOldState.

Upstream qemu has split the cpu state into two new data structures:

CPUState -> is used to model the CPU state through the QEMU
object model.

CPUArchState -> actually a macro that aliases CPUArmState,
CPUX86State or CPUMIPSState.

Both were part of the "CPUState" in the current emulator sources.

Previous patches introduced CPUArchState, as a simple alias to the
machine-specific state. This patch renames any use of CPUState in
the current code to CPUOldState, except within target-*/ directories
where it is replaced by CPU${ARCH}State instead.

This will allow bringing the upstream CPUState definition in the
source tree, and slowly migrate everything to the right location.

Change-Id: I88b79e6e89f1f36084dc2642e1cf415135e4da09
/external/qemu/target-i386/helper.c
aa8236dc1b1ea300ab18716db5b8fab42aca3ca7 10-Jan-2014 David 'Digit' Turner <digit@android.com> qemu-malloc.c: Remove qemu-specific heap routines.

Remove all uses of qemu_malloc/malloc0/realloc/free/strdup/etc to use
the equivalent GLib functions (g_malloc, g_free, ...) as per upstream.

This also removes qemu-malloc.c since it's no longer required.

Change-Id: I3c36a0396b73dd114b8da385b43f56a2e54dbb15
/external/qemu/target-i386/helper.c
bcde1092aca184dbd7860078af020de7d1e4e22f 09-Jan-2014 David 'Digit' Turner <digit@android.com> rename target_phy_addr_t to hwaddr to match upstream.

Upstream got rid of the target_phys_addr_t and replaced it with 'hwaddr',
so do the corresponding rename here. Note that:

- This also renames <exec/targphys.h> to <exec/hwaddr.h>

- Upstream always deins hwaddr as a 64-bit type, while the size of
our own hwaddr is still controlled by TARGET_PHYS_ADDR_BITS, and
will be 32 for now.

A future patch will change the type definition to fully match
upstream, but it is more risky / requires more cleanups. It's
simply cleaner / simpler to put the related work in a separate
patch, given the large number of sources touched by the
current change.

Change-Id: Iee30869a57798c12109b6a23570b166232bb9244
/external/qemu/target-i386/helper.c
e1e03df288d5a44bfbffbd86588395c7cbbc27df 15-Dec-2013 David 'Digit' Turner <digit@android.com> Move more headers.

cbuffer.h, charpipe.h -> include/android/
cbuffer.c, charpipe.c -> android/
qemu_debug.h -> include/android/qemu-debug.h
block.h, block_int.h -> include/block/
elf.h -> include/
hax.h -> include/exec/
qemu-lock.h -> include/exec/spinlock.h
readline.h -> include/monitor/readline.h
qemu-common.h - include
qemu-barrier.h -> include/qemu/atomic.h
qemu-log.h -> include/qemu/log.h

Change-Id: I86b998932461caa35d347cd71b40bd6e4ec7d84d
/external/qemu/target-i386/helper.c
34c48ff1e3ad5cd2084ca40188754d45f423750b 15-Dec-2013 David 'Digit' Turner <digit@android.com> Move headers to incude/sysemu/

+ arch_init.h, balloon.h, blockdev.h, dma.h, kvm.h,
sysemu.h -> include/sysemu/

+ kvm-android.h -> include/android/kvm.h

Change-Id: I3d334e1b6eea836fdcee9f36fe693cf4c74be54f
/external/qemu/target-i386/helper.c
852088c7e08182c2de563872d558309815cbfa0d 14-Dec-2013 David 'Digit' Turner <digit@android.com> Move headers to include/exec/

Change-Id: Ife43f9cd12a02aa98f408043b0cccb9fe45a9ff7
/external/qemu/target-i386/helper.c
a381ef07088ce479610129e37bfef42538f397da 18-Dec-2011 Jun Nakajima <jun.nakajima@intel.com> Changes to existing files to add HAX support

HAX (Hardware-based Accelerated eXecution) employes hardware virtualization
technology to boost performance of the Android emulator on Mac OS X or Windows
hosts.
This changeset includes the changes required to the existing files. To pass
the compilation, hax.h is added, but CONFIG_HAX is disabled so that no
real changes added.

Change-Id: Ifa5777e8788e6698747c1ec4cd91315161c2ca0b
Signed-off-by: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Nakajima, Jun <jun.nakajima@intel.com>
/external/qemu/target-i386/helper.c
aab4f055c481d3b0c4ee06154eeb5d9d25e71977 31-Aug-2011 Maciek Molerus <maciek@google.com> Restricting processor features in KVM mode

Some processors don't have full features set as in 'qemu32',
eg. AMD doesn't have SSSE3 extensions yet.
Added code which restricts CPU features set in KVM
mode to those it actually has.

Change-Id: I37c2d44a03e4445a607b723b0f63c91989c251dc
/external/qemu/target-i386/helper.c
599662dc9671378c1471ce812a415bc4274736f2 11-Feb-2011 Jun Nakajima <jnakajim@gmail.com> x86: Add the SSSE3 feature to CPU emulation. Gcc can emit SSSE3
instructions for optimization purposes.

Change-Id: I33ece4f4655d50cbee7fc536ec1ac09218c0ad13
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
/external/qemu/target-i386/helper.c
86797937017f52bff088d02edf64fb931177a7ea 29-Jan-2011 Jun Nakajima <jnakajim@gmail.com> New files are from the upstream QEMU (0.10.5), and the code is based on
the following commit (dated 2009-06-19, see CHANGES.TXT):

d2e9fd8f703203c2eeeed120b1ef6c3a6574e0ab

new file: hw/apic.c
new file: hw/fdc.h
new file: hw/fw_cfg.c
new file: hw/fw_cfg.h
new file: hw/i8254.c
new file: hw/i8259.c
new file: hw/ioapic.c
new file: hw/mc146818rtc.c
new file: hw/ne2000.c
new file: hw/pc.c
new file: hw/pckbd.c
new file: hw/piix_pci.c
new file: hw/ps2.c
new file: hw/ps2.h
new file: hw/smbios.c
new file: target-i386/TODO
new file: target-i386/cpu.h
new file: target-i386/exec.h
new file: target-i386/helper.c
new file: target-i386/helper.h
new file: target-i386/helper_template.h
new file: target-i386/kvm.c
new file: target-i386/machine.c
new file: target-i386/op_helper.c
new file: target-i386/ops_sse.h
new file: target-i386/ops_sse_header.h
new file: target-i386/svm.h
new file: target-i386/translate.c

Change-Id: I55c62ed7516f002c882705545e7c21997ece9927
/external/qemu/target-i386/helper.c
55f4e4a5ec657a017e3bf75299ad71fd1c968dd3 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/qemu/target-i386/helper.c
413f05aaf54fa08c0ae7e997327a4f4a473c0a8d 12-Jan-1970 Upstream <upstream-import@none> external/qemu 0.8.2
/external/qemu/target-i386/helper.c