Changeset 623ba26c in mainline for arch/mips/src/exception.c


Ignore:
Timestamp:
2005-09-01T14:42:09Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e83a9f7
Parents:
db3341e
Message:

Add couple of assertions CPU != NULL.

Change type of nrdy from int to count_t.

Rewrite halt() to avoid page fault when CPU == NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips/src/exception.c

    rdb3341e r623ba26c  
    3333#include <arch/types.h>
    3434#include <arch.h>
     35#include <debug.h>
    3536
    3637void exception(void)
     
    4041        __u32 epc_shift = 0;
    4142        pri_t pri;
     43
     44        ASSERT(CPU != NULL);
    4245
    4346        /*
Note: See TracChangeset for help on using the changeset viewer.