Statistics
| Branch: | Revision:

root / target-cris / helper.c @ 72cf2d4f

History | View | Annotate | Download (4.9 kB)

# Date Author Comment
8167ee88 07/16/2009 11:47 pm Blue Swirl

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <>

2fa73ec8 04/25/2009 04:51 pm Edgar E. Iglesias

CRIS: cris_mmu_result_t -> cris_mmu_result

Signed-off-by: Edgar E. Iglesias <>

93fcfe39 01/16/2009 12:34 am aliguori

Convert references to logfile/loglevel to use qemu_log*() macros

This is a large patch that changes all occurrences of logfile/loglevel
global variables to use the new qemu_log*() macros.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Anthony Liguori <>...

d12d51d5 01/15/2009 11:48 pm aliguori

Clean up debugging code #ifdefs (Eduardo Habkost)

Use macros to avoid #ifdefs on debugging code.

This patch doesn't try to merge logging macros from different files,
but just unify the debugging code #ifdefs onto a macro on each file. A
further cleanup can unify the debugging macros on a common header, later...

fad6cb1a 01/05/2009 12:05 am aurel32

Update FSF address in GPL/LGPL boilerplate

The attached patch updates the FSF address in the GPL/LGPL boilerplate
in most GPL/LGPLed files, and also in COPYING.LIB.

Signed-off-by: Stuart Brady <>
Signed-off-by: Aurelien Jarno <>...

cddffe37 10/08/2008 05:22 pm edgar_igl

CRIS: Partial EXS reg support and fixes for SPC.

  • Add partial support for the EXS (exception status) register.
  • Update SPC after each singlestep exception.
  • Remove special treatment of break 8.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5448 c046a42c-6fe2-441c-8c8c-71466251a162

a1aebcb8 10/08/2008 01:48 am edgar_igl

CRIS: Fix brk 8 and add S-flag emulation.

  • break 8 sets ERP to the current insn.
  • First shot at S flag single-stepping.
  • Make it easier to use the local disasm.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5445 c046a42c-6fe2-441c-8c8c-71466251a162

980f8a0b 09/05/2008 08:17 pm edgar_igl

CRIS: Mask off the cache selection bit after MMU translations.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5170 c046a42c-6fe2-441c-8c8c-71466251a162

7d5099d5 09/03/2008 05:30 pm edgar_igl

CRIS: Remove redundant code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5145 c046a42c-6fe2-441c-8c8c-71466251a162

1b1a38b0 06/10/2008 02:18 am edgar_igl

CRIS: Emulate NMIs.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4719 c046a42c-6fe2-441c-8c8c-71466251a162

30abcfc7 05/28/2008 12:10 am edgar_igl

CRIS: Restructure the translator to allow for better code generation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4594 c046a42c-6fe2-441c-8c8c-71466251a162

cf1d97f0 05/13/2008 01:59 pm edgar_igl CRIS: Improve TLB management and handle delayslots at page boundaries.
  • Dont flush the entire qemu tlb when the $pid changes. Instead we go through
    the guests TLB and choose entries that need to be flushed.
  • Add env->dslot and handle delayslots at pageboundaries....
ef29a70d 05/06/2008 11:04 am edgar_igl CRIS MMU Updates
  • Add support for exec faults and for the k protection bit.
  • Abort if search_pc causes recursive mmu faults.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4349 c046a42c-6fe2-441c-8c8c-71466251a162

b41f7df0 05/03/2008 01:16 am edgar_igl CRIS updates:
  • Support both the I and D MMUs and improve the accuracy of the MMU model.
  • Handle the automatic user/kernel stack pointer switching when leaving or entering user mode.
  • Move the CCS evaluation into helper funcs.
  • Make sure user-mode cannot change flags only writeable in kernel mode....
e62b5b13 03/14/2008 03:04 am edgar_igl
  • Add a model of the ETRAX interrupt controller.
  • Clean up the interrupt handling a bit.
  • Connect some NOR flash to the test board.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4055 c046a42c-6fe2-441c-8c8c-71466251a162

bbaf29c7 03/01/2008 07:25 pm edgar_igl
  • target-cris/op.c: Make sure the bit-test insn only updates the XNZ flags.
  • target-cris/helper.c: Update ERP for user-mode simulation aswell.
  • hw/etraxfs_timer.c: Support multiple timers.
  • hw/etraxfs_ser.c: Multiple ports, the data just goes to stdout....
9004627f 02/28/2008 10:28 am edgar_igl

More consistent naming for CRIS register-number macros.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3996 c046a42c-6fe2-441c-8c8c-71466251a162

941db528 10/28/2007 03:44 am ths

Use the shiny new clz helpers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3464 c046a42c-6fe2-441c-8c8c-71466251a162

6ebbf390 10/14/2007 10:07 am j_mayer

Replace is_user variable with mmu_idx in softmmu core,
allowing support of more than 2 mmu access modes.
Add backward compatibility is_user variable in targets code when needed.
Implement per target cpu_mmu_index function, avoiding duplicated code
and #ifdef TARGET_xxx in softmmu core functions....

81fdc5f8 10/08/2007 04:04 pm ths

The remainder of CRIS CPU emulation files, by Edgar E. Iglesias.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3361 c046a42c-6fe2-441c-8c8c-71466251a162