| Branch: | Revision:

root / target-microblaze / translate.c @ a88790a1

History | View | Annotate | Download (44.6 kB)

# Date Author Comment
ff21f70a 02/20/2010 03:04 pm Edgar E. Iglesias

microblaze: Improve brk emulation.

brk insns while in user mode raise priv insn exceptions.
This commit makes gdbserver work on linux guests.

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

4c24aa0a 12/16/2009 01:54 pm Michal Simek

microblaze: Print content of EAR register

I need to see EAR register in output because I need to parse irqsoff problem.

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

17c52a43 12/16/2009 01:52 pm Edgar E. Iglesias

microblaze: Update debug logs.

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

f062a3c7 12/13/2009 10:10 am Edgar E. Iglesias

microblaze: Handle wdc flush and clear.

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

9d2dcce9 12/13/2009 04:22 am Paul Hartke

microblaze: Correct branch to registers.

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

4898427e 11/12/2009 03:12 am Edgar E. Iglesias

microblaze: Unbreak reset.

Initialize synthesis config registers at reset to cope with the new
cpu_reset sequences.

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

38972938 09/25/2009 10:52 pm Juan Quintela

gcc wants 1st static and then const

Signed-off-by: Juan Quintela <>
Signed-off-by: Blue Swirl <>

72cf2d4f 09/12/2009 10:36 am Blue Swirl

Fix sys-queue.h conflict for good

Problem: Our file sys-queue.h is a copy of the BSD file, but there are
some additions and it's not entirely compatible. Because of that, there have
been conflicts with system headers on BSD systems. Some hacks have been
introduced in the commits 15cc9235840a22c289edbe064a9b3c19c5f49896,...

02b33596 09/11/2009 11:38 am Edgar E. Iglesias

microblaze: Trap if QEMU finds an unknown insns.

If PVR settings enable illegal insn trap, trap when QEMU finds an
insn it knows nothing about.

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

a12f6507 09/11/2009 11:35 am Edgar E. Iglesias

microblaze: Correct prio between MMU and unaligned exceptions.

The microblaze gives MMU faults priority. For stores we still
have a flaw that the value leaks to memory in the case of an
unaligned exception.

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

97f90cbf 09/11/2009 11:27 am Edgar E. Iglesias

microblaze: HW Exception fixes.

  • Correct PVR checks for masking off individual exceptions.
  • Correct FPU exception code.
  • Set EAR on unaligned and unassigned exceptions.

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

0187688f 09/04/2009 11:38 am Edgar E. Iglesias

microblaze: Trap on illegal load/store sizes.

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

3aa80988 09/03/2009 11:28 pm Edgar E. Iglesias

microblaze: Compute masks for alignment checks at translation time.

Thanks to Blue Swirl for reporting.
Signed-off-by: Edgar E. Iglesias <>

3c50a71f 09/03/2009 02:04 pm Edgar E. Iglesias

microblaze: MMU shows more respect to synthesis config.

The microblaze MMU can be synthesized in different configurations.
Have the MMU model show more respect to the chosen configuration.

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

968a40f6 09/03/2009 01:59 pm Edgar E. Iglesias

microblaze: Trap on unaligned data accesses.


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

821ebb33 09/03/2009 01:52 pm Edgar E. Iglesias

microblaze: Trap on divizions by zero.

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

ee7dbcf8 09/03/2009 12:18 pm Edgar E. Iglesias

microblaze: Correct mfs into r0.

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

1567a005 09/03/2009 12:12 pm Edgar E. Iglesias

microblaze: Catch illegal insns and privilege violations.

Raise illegal instruction exceptions when executing instructions that
require units not available on the particulare microblaze configuration.

Also trap priviliege violations made by userspace.

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

8167ee88 07/16/2009 11:47 pm Blue Swirl

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <>

4acb54ba 05/26/2009 10:10 pm Edgar E. Iglesias

microblaze: Add translation routines.

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