summaryrefslogtreecommitdiffstats
path: root/target-microblaze/translate.c
Commit message (Collapse)AuthorAgeFilesLines
* microblaze: Print content of EAR registerMichal Simek2009-12-161-2/+2
| | | | | | | I need to see EAR register in output because I need to parse irqsoff problem. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Update debug logs.Edgar E. Iglesias2009-12-161-2/+5
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Handle wdc flush and clear.Edgar E. Iglesias2009-12-131-0/+3
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Correct branch to registers.Paul Hartke2009-12-131-1/+1
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Unbreak reset.Edgar E. Iglesias2009-11-121-27/+26
| | | | | | | Initialize synthesis config registers at reset to cope with the new cpu_reset sequences. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* gcc wants 1st static and then constJuan Quintela2009-09-251-2/+2
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Fix sys-queue.h conflict for goodBlue Swirl2009-09-121-2/+2
| | | | | | | | | | | | | | | 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, f40d753718c72693c5f520f0d9899f6e50395e94, 96555a96d724016e13190b28cffa3bc929ac60dc and 3990d09adf4463eca200ad964cc55643c33feb50 but the fixes were fragile. Solution: Avoid the conflict entirely by renaming the functions and the file. Revert the previous hacks. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* microblaze: Trap if QEMU finds an unknown insns.Edgar E. Iglesias2009-09-111-0/+6
| | | | | | | If PVR settings enable illegal insn trap, trap when QEMU finds an insn it knows nothing about. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Correct prio between MMU and unaligned exceptions.Edgar E. Iglesias2009-09-111-6/+25
| | | | | | | | 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 <edgar.iglesias@gmail.com>
* microblaze: HW Exception fixes.Edgar E. Iglesias2009-09-111-10/+10
| | | | | | | | * 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 <edgar.iglesias@gmail.com>
* microblaze: Trap on illegal load/store sizes.Edgar E. Iglesias2009-09-041-0/+13
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Compute masks for alignment checks at translation time.Edgar E. Iglesias2009-09-031-2/+2
| | | | | Thanks to Blue Swirl for reporting. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: MMU shows more respect to synthesis config.Edgar E. Iglesias2009-09-031-3/+8
| | | | | | | 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 <edgar.iglesias@gmail.com>
* microblaze: Trap on unaligned data accesses.Edgar E. Iglesias2009-09-031-2/+16
| | | | | | Untested... Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Trap on divizions by zero.Edgar E. Iglesias2009-09-031-1/+0
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Correct mfs into r0.Edgar E. Iglesias2009-09-031-0/+4
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* microblaze: Catch illegal insns and privilege violations.Edgar E. Iglesias2009-09-031-1/+110
| | | | | | | | | 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 <edgar.iglesias@gmail.com>
* Update to a hopefully more future proof FSF addressBlue Swirl2009-07-161-2/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* microblaze: Add translation routines.Edgar E. Iglesias2009-05-261-0/+1395
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
OpenPOWER on IntegriCloud