Statistics
| Branch: | Revision:

root / target-mips @ 5a2e3c2e

Name Size
TODO 1.9 kB
cpu.h 17.4 kB
exec.h 2.8 kB
helper.c 20.5 kB
helper.h 8.4 kB
machine.c 10.6 kB
mips-defs.h 1.8 kB
op_helper.c 92.6 kB
translate.c 252.3 kB
translate_init.c 21.1 kB

Latest revisions

# Date Author Comment
e7139c44 11/30/2009 05:18 pm Aurelien Jarno

target-mips: use physical address in lladdr

Currently the ll/sc instructions use the virtual address in both
user and system mode. Use the physical address insteead in system
mode.

Signed-off-by: Aurelien Jarno <>

25b91e32 11/30/2009 05:10 pm Aurelien Jarno

target-mips: add a function to do virtual -> physical translations

Signed-off-by: Aurelien Jarno <>

1147e189 11/30/2009 05:10 pm Aurelien Jarno

target-mips: split code raising MMU exception in a separate function

Signed-off-by: Aurelien Jarno <>

0ae43045 11/30/2009 05:06 pm Aurelien Jarno

target-mips: factorize load/store code in op_helper.c

Signed-off-by: Aurelien Jarno <>

60c9af07 11/22/2009 03:37 pm Aurelien Jarno

target-mips: fix physical address type in MMU functions

Signed-off-by: Aurelien Jarno <>

2a6e32dd 11/22/2009 03:12 pm Aurelien Jarno

target-mips: make CP0_LLAddr register CPU dependent

Depending on the CPU, CP0_LLAddr is either read-only or read-write,
and the returned value can be shifted by a variable amount of bits.

Signed-off-by: Aurelien Jarno <>
Signed-off-by: Hervé Poussineau <>

5499b6ff 11/22/2009 03:12 pm Aurelien Jarno

target-mips: rename CP0_LLAddr into lladdr

The variable CP0_LLAddr represent the full lladdr, not the actual
register value, which is only part of this value and depends on the
CPU.

Signed-off-by: Aurelien Jarno <>

31e3104f 11/14/2009 02:10 pm Aurelien Jarno

target-mips: fix indentation

Signed-off-by: Aurelien Jarno <>

51cc2e78 11/14/2009 03:25 am Blue Swirl

mips: fix cpu_reset memory leak

Remove cpu_mips_register()
- move mmu_init(), fpu_init() and mvp_init() into cpu_mips_init()
- move the other parts in cpu_mips_init()

Reported-by: Blue Swirl <>
Signed-off-by: Aurelien Jarno <>

c227f099 10/02/2009 12:12 am Anthony Liguori

Revert "Get rid of _t suffix"

In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem. Something
like this must be presented on the list first so people can provide input...

View revisions

Also available in: Atom