Ignore:
File:
1 edited

Legend:

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

    rdf4ed85 r0095368  
    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         jal printf
    42         nop
    43         j halt
    44         nop
    45 /* This code does not work, god knows why */           
    46 /*      lui $ra, %hi(halt)
     41        lui $ra, %hi(halt)
    4742        j printf
    48         ori $ra, %lo(halt) */
     43        ori $ra, %lo(halt)
Note: See TracChangeset for help on using the changeset viewer.