Statistics
| Branch: | Revision:

root / target-openrisc @ feature-archipelago

Name Size
Makefile.objs 221 Bytes
cpu.c 7 kB
cpu.h 11.8 kB
exception.c 937 Bytes
exception.h 970 Bytes
exception_helper.c 981 Bytes
fpu_helper.c 14.5 kB
gdbstub.c 2.1 kB
helper.h 2.1 kB
int_helper.c 2.1 kB
interrupt.c 1.9 kB
interrupt_helper.c 1.8 kB
machine.c 1.7 kB
mmu.c 6.5 kB
mmu_helper.c 1.5 kB
sys_helper.c 8.4 kB
translate.c 54 kB

Latest revisions

# Date Author Comment
5631e69c 02/12/2014 02:47 am Richard Henderson

target-openrisc: Use new qemu_ld/st opcodes

Signed-off-by: Richard Henderson <>
Acked-by: Jia Liu <>
Signed-off-by: Jia Liu <>

2e0fc3a4 12/23/2013 02:02 pm Stefan Weil

openrisc: Fix spelling in comment (transaltion -> translation)

I also removed two hyphens in the same comment.

Signed-off-by: Stefan Weil <>
Reviewed-by: Jia Liu <>
Signed-off-by: Michael Tokarev <>

1246b259 12/02/2013 07:03 pm Stefan Weil

misc: Replace 'struct QEMUTimer' by 'QEMUTimer'

Most code already used QEMUTimer without the redundant 'struct' keyword.

Signed-off-by: Stefan Weil <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Michael Tokarev <>

93147a18 11/20/2013 03:47 pm Sebastian Macke

target-openrisc: Correct memory bounds checking for the tlb buffers

The mtspr and mfspr routines didn't check for the correct memory boundaries.
This fixes a segmentation fault while booting Linux.

Signed-off-by: Sebastian Macke <>
Reviewed-by: Jia Liu <>...

d5155217 11/20/2013 03:46 pm Sebastian Macke

openrisc-timer: Reduce overhead, Separate clock update functions

The clock value is only evaluated when really necessary reducing
the overhead of the timer handling.

This also solves a problem in the way the Linux kernel
handles the timer and the expected accuracy....

ae52bd96 11/20/2013 03:45 pm Sebastian Macke

target-openrisc: Correct wrong epcr register in interrupt handler

This patch corrects several misbehaviors during an interrupt process.
Most of the time the pc is already correct and therefore no special treatment
of the exceptions is necessary.

Tested by checking crashing programs which otherwise work in or1ksim....

04359e6b 11/20/2013 03:44 pm Sebastian Macke

target-openrisc: Remove executable flag for every page

Pages should be flagged executable only if the tlb executable flag is
set or the mmu is off.

Signed-off-by: Sebastian Macke <>
Reviewed-by: Jia Liu <>
Signed-off-by: Jia Liu <>

da1d7759 11/20/2013 03:43 pm Sebastian Macke

target-openrisc: Remove unnecessary code generated by jump instructions

The sr_f variable is only used for the l.bf and l.bnf instructions.
For clarity the code is also rewritten using a switch statement instead
of if chaining.

Signed-off-by: Sebastian Macke <>...

352367e8 11/20/2013 03:40 pm Sebastian Macke

target-openrisc: Speed up move instruction

The OpenRISC architecture does not have its own move register
instruction. Instead it uses either "l.addi rd, r0, x" or
"l.ori rd, rs, 0" or "l.or rd, rx, r0"

The l.ori instruction is automatically optimized but not the l.addi instruction....

ded77da3 10/14/2013 07:15 pm Anthony Liguori

Merge remote-tracking branch 'jliu/or32' into staging

  1. By Sebastian Macke
  2. Via Jia Liu
    • jliu/or32:
      target-openrisc: Removes a non-conforming behavior for the first page of the memory
      target-openrisc: Correct handling of page faults.

Message-id: ...

View revisions

Also available in: Atom