Ignore:
Timestamp:
2010-06-11T15:31:03Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
214ec25c
Parents:
be06914
Message:

distinguish between "hot" and "cold" exceptions
display only "hot" exceptions by default
add top to help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/trap/interrupt.c

    rbe06914 rb3b7e14  
    5151/** Register Interrupt Level Handler.
    5252 *
    53  * @param n Interrupt Level (1 - 15).
    54  * @param name Short descriptive string.
    55  * @param f Handler.
     53 * @param n       Interrupt Level (1 - 15).
     54 * @param name    Short descriptive string.
     55 * @param handler Handler.
     56 *
    5657 */
    57 void interrupt_register(int n, const char *name, iroutine f)
     58void interrupt_register(unsigned int n, const char *name, iroutine_t handler)
    5859{
    5960        ASSERT(n >= IVT_FIRST && n <= IVT_ITEMS);
    6061       
    61         exc_register(n - 1, name, f);
     62        exc_register(n - IVT_FIRST, name, true, handler);
    6263}
     64
    6365/** @}
    6466 */
Note: See TracChangeset for help on using the changeset viewer.