Changeset 2f40fe4 in mainline for arch/mips32/src/cache.c


Ignore:
Timestamp:
2006-07-01T21:40:36Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5eabe73
Parents:
7ee0e2f
Message:

Change cache_error exception to take istate * as a parameter.
Make cache_error() print epc in the panic message.
Do not rely on the compiler to generate 'nop' after 'beq' in atomic_add()
and put it there explicitly.
Indentation fixes and cosmetic changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/cache.c

    r7ee0e2f r2f40fe4  
    2727 */
    2828
    29  /** @addtogroup mips32
     29/** @addtogroup mips32 
    3030 * @{
    3131 */
     
    3434
    3535#include <arch/cache.h>
     36#include <arch/exception.h>
     37#include <typedefs.h>
    3638#include <panic.h>
    3739
    38 void cache_error(void)
     40void cache_error(istate_t *istate)
    3941{
    40         panic("cache_error exception\n");
     42        panic("cache_error exception (epc=%p)\n", istate->epc);
    4143}
    4244
    43  /** @}
     45/** @}
    4446 */
    4547
Note: See TracChangeset for help on using the changeset viewer.