History log of /external/qemu/target-mips/helper.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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-mips/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-mips/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-mips/helper.c
52846c8d24dbd36807ae83745a8bcad070af6abd 26-Feb-2014 Chris Dearman <chris.dearman@imgtec.com> [MIPS] Fix cpu_mips_translate_address return value

The cleanups in a2c14f947951612b45024095afd2210aa7368773 fixed a bug
in the error handling path of do_translate_address(). In turn this
exposed a bug in cpu_mips_translate_address() which was always
returning an error that do_translate_address() had ignored.

The cleanup change to do_translate_address() was reverted in
28a24c94e7350a80d5e7e186289cde6a1300bdfb, but fixing
cpu_mips_translate_address() is the correct thing to do.

Change-Id: I442d71130b758fdbe8e864dcba0ba3141b0fe225
/external/qemu/target-mips/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-mips/helper.c
a2c14f947951612b45024095afd2210aa7368773 04-Feb-2014 David 'Digit' Turner <digit@google.com> Cleanup: Remove 100+ compiler warnings.

This is a big cleanup that removes compiler warnings by performing
the following:

- Remove unused functions or variables.
- Change pointer cast to be alias safe using unions.
- Use __attribute__((unused)) on some local variable definitions
when their usage depends on conditional defines that are not
always true when compiling the same source several times.
- Fix a couple array indexing bugs.

There are still a few warnings from the JSON lexer, libjpeg and
the TCG helpers though, but the overall compilation is much cleaner.

BUG=NONE

Change-Id: Ic4483e6402b266ecfd7bca8c92a73d8fcf392a1f
/external/qemu/target-mips/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-mips/helper.c
852088c7e08182c2de563872d558309815cbfa0d 14-Dec-2013 David 'Digit' Turner <digit@android.com> Move headers to include/exec/

Change-Id: Ife43f9cd12a02aa98f408043b0cccb9fe45a9ff7
/external/qemu/target-mips/helper.c
6e22b2095d718a417cee9bb2d5b3a2cf4b3d9809 25-Mar-2013 Chris Dearman <chris.dearman@imgtec.com> [MIPS] Update fast TLB handler for new kernels

The Linux in memory PTE format changed for the 3.4 kernel.
This change handles both formats and should be more robust
against future changes.

Change-Id: Ia11bea11b9a34f44520aa52942d1023ba6d81815
/external/qemu/target-mips/helper.c
55ff318b4e5382074e2049c996cb6df1041aff1b 03-Aug-2012 Chris Dearman <chris@mips.com> [MIPS] Speed up software refill handler

Emulating each instruction of the software refill handler
has a significant impact on the overall performance of QEMU because
of the overhead of emulating the various CP0 instructions to accurately
reflect the machine state. Running the software TLB handler takes
the equivalent of 1000's of machine cycles.

This patch implements a pseudo hardware TLB refill handler
that significantly reduces the impact of refilling the TLB
to bring it more inline with what would be observed on a real target.

Signed-off-by: Steven Hill <sjhill@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Yajin <yajin@mips.com.cn>
/external/qemu/target-mips/helper.c
f15a9e8294ea7b8441415b8a45490dbfd5eb3bd5 01-Feb-2012 Bhanu Chetlapalli <bhanu@mips.com> [MIPS] TLBRET_DIRTY is a valid return value from get_physical_address

Change-Id: I3ddfd3de165575c52a76cf9acee1e304d42562cf
Signed-off-by: Chris Dearman <chris@mips.com>
/external/qemu/target-mips/helper.c
409c7b66435cf5947cab6bf0710f92507317f22e 01-Feb-2012 Bhanu Chetlapalli <bhanu@mips.com> [MIPS] Import MIPS target support

From v0.12.5 tag at git://git.sv.gnu.org/qemu.git
CommitID: 174f225e9d62e8f3002e274e4f718bd2a967fbf4

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