Ignore:
Timestamp:
2010-06-11T16:07:21Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b584cd4
Parents:
b3b7e14
Message:

use unsigned integers for exception and interrupt numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/interrupt/interrupt.c

    rb3b7e14 r214ec25c  
    144144 *
    145145 */
    146 static void exc_undef(int n, istate_t *istate)
    147 {
    148         fault_if_from_uspace(istate, "Unhandled exception %d.", n);
    149         panic("Unhandled exception %d.", n);
     146static void exc_undef(unsigned int n, istate_t *istate)
     147{
     148        fault_if_from_uspace(istate, "Unhandled exception %u.", n);
     149        panic("Unhandled exception %u.", n);
    150150}
    151151
Note: See TracChangeset for help on using the changeset viewer.