9
0
Fork 0
barebox/arch/mips/lib
Antony Pavlov 28c1421670 MIPS: import exception registers saving from linux kernel
Checking registers saving:

    $ make qemu-malta_defconfig
    $ make

    ...

    $ qemu-system-mips -nodefaults -M malta -m 256 \
       -nographic -serial stdio -bios ./barebox-flash-image

    ...

    barebox:/ md -l 0x03

    Ooops, address error on load or ifetch!

    $ 0   : 00000000 00000000 ffffffff 0000003f
    $ 4   : 00000000 ffffffff 00000004 00000004
    $ 8   : 00000003 a0404d50 00000001 00000002
    $12   : a0404d50 0000000a a0840000 00000003
    $16   : 00000100 a0404d50 00000100 00000003
    $20   : 00000000 a0406cd8 00000000 00000000
    $24   : a083b4d8 a083058c
    $28   : 00000000 a03ffca8 a0406ab0 a0830604
    Hi    : 00000000
    Lo    : 00000040
    epc   : a083056c
    ra    : a0830604
    Status: 00000006
    Cause : 00000410
    Config: 80008482

    ### ERROR ### Please RESET the board ###

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-04 17:01:11 +01:00
..
.gitignore MIPS: add common MIPS stuff 2011-08-05 18:20:17 +02:00
Makefile mips: initialize malloc pool before start_barebox() 2013-03-14 08:41:15 +01:00
ashldi3.c MIPS: import libgcc-related files from linux-2.6.39 2011-08-05 18:20:17 +02:00
ashrdi3.c MIPS: import libgcc-related files from linux-2.6.39 2011-08-05 18:20:17 +02:00
asm-offsets.c MIPS: add asm-offsets.h generation 2013-12-04 17:01:11 +01:00
barebox.lds.S MIPS: add initial device tree support 2013-05-13 21:17:10 +02:00
bootm.c MIPS: bootm: add "MIPS barebox" handler 2012-05-11 09:05:11 +02:00
c-r4k.c MIPS: import CPU and cache detection code from Linux 3.4 2012-05-23 18:47:53 +02:00
cpu-probe.c MIPS: import CPU and cache detection code from Linux 3.4 2012-05-23 18:47:53 +02:00
cpuinfo.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
csrc-r4k.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
genex.S MIPS: import exception registers saving from linux kernel 2013-12-04 17:01:11 +01:00
libgcc.h mips: Fix compiler warnings 2012-04-05 08:50:01 +02:00
lshrdi3.c MIPS: import libgcc-related files from linux-2.6.39 2011-08-05 18:20:17 +02:00
traps.c MIPS: import exception registers saving from linux kernel 2013-12-04 17:01:11 +01:00