Changeset ffc277e in mainline for arch/mips/src/panic.S


Ignore:
Timestamp:
2005-09-10T00:52:13Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3a6c8e5
Parents:
b02e5d1
Message:

Cleanup of makefiles to have common options in one main makefile.

Add simple build process for different simulators for MIPS.
Added FPU context & lazy FPU context switching to MIPS.
Cleanup of MIPS linker script.
Moved MIPS kernel above 1MB. Not tested on real machine yet, but it might help.

There is something broken with gcc inlined memcpy (either simulator or gcc), it is disabled on BigEndian mips now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips/src/panic.S

    rb02e5d1 rffc277e  
    3333.set nomacro
    3434
     35#include <arch/asm/regname.h>
     36       
    3537.global panic_printf
    36        
     38
     39/* From printf return directly to halt() */     
    3740panic_printf:
    38         jal printf
    39         nop
    40         j cpu_halt
    41         nop
    42 
     41        lui $ra, %hi(halt)
     42        j printf
     43        ori $ra, %lo(halt)
Note: See TracChangeset for help on using the changeset viewer.