Changeset 874621f in mainline for arch/ppc32/include/exception.h


Ignore:
Timestamp:
2006-06-06T07:40:51Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0dbc4e7
Parents:
6f9a9bc
Message:

Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/include/exception.h

    r6f9a9bc r874621f  
    8181        istate->pc = retaddr;
    8282}
     83/** Return true if exception happened while in userspace */
     84#include <panic.h>
     85static inline int istate_from_uspace(istate_t *istate)
     86{
     87        panic("istate_from_uspace not yet implemented");
     88        return 0;
     89}
     90static inline __native istate_get_pc(istate_t *istate)
     91{
     92        return istate->pc;
     93}
    8394
    8495#endif
Note: See TracChangeset for help on using the changeset viewer.