OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [newlib/] [newlib/] [libgloss/] [mips/] [entry.S] - Diff between revs 39 and 56

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 39 Rev 56
Line 16... Line 16...
     This function removes the entry/exit exception handler.  It should
     This function removes the entry/exit exception handler.  It should
     be called when the program is exiting, or when it is known that no
     be called when the program is exiting, or when it is known that no
     more MIPS16 functions compiled with -mentry will be called.
     more MIPS16 functions compiled with -mentry will be called.
*/
*/
 
 
 
#ifdef __mips16
 
/* This file contains 32 bit assembly code.  */
 
        .set nomips16
 
#endif
 
 
#include "regs.S"
#include "regs.S"
 
 
#define CAUSE_EXCMASK   0x3c    /* mask for ExcCode in Cause Register */
#define CAUSE_EXCMASK   0x3c    /* mask for ExcCode in Cause Register */
#define EXC_RI          0x28    /* 101000 == 10 << 2 */
#define EXC_RI          0x28    /* 101000 == 10 << 2 */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.