Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/panic.S

    r0095368 rdf4ed85  
    2727#
    2828
    29 .text
     29.text   
    3030
    3131.set noat
     
    3434
    3535#include <arch/asm/regname.h>
    36 
     36       
    3737.global panic_printf
    3838
    39 /* From printf return directly to halt() */
     39/* From printf return directly to halt() */     
    4040panic_printf:
    41         lui $ra, %hi(halt)
     41        jal printf
     42        nop
     43        j halt
     44        nop
     45/* This code does not work, god knows why */           
     46/*      lui $ra, %hi(halt)
    4247        j printf
    43         ori $ra, %lo(halt)
     48        ori $ra, %lo(halt) */
Note: See TracChangeset for help on using the changeset viewer.