Changeset 39494010 in mainline for generic/src/interrupt/interrupt.c


Ignore:
Timestamp:
2005-12-26T01:05:47Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1120276
Parents:
5b1ced0
Message:

sparc64 work.
Interrupt Levels 1 - 15 serviced.
Minor changes in the exc_* functions.

File:
1 edited

Legend:

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

    r5b1ced0 r39494010  
    7575        ASSERT(n < IVT_ITEMS);
    7676       
    77         exc_table[n].f(n, stack);
     77        exc_table[n].f(n + IVT_FIRST, stack);
    7878}
    7979
     
    8484}
    8585
    86 /** KConsole cmd - print all exceptions */
     86/** kconsole cmd - print all exceptions */
    8787static int exc_print_cmd(cmd_arg_t *argv)
    8888{
     
    9696                if (!symbol)
    9797                        symbol = "not found";
    98                 printf("%d %s 0x%p(%s)\n",i,exc_table[i].name,
     98                printf("%d %s 0x%p(%s)\n", i + IVT_FIRST, exc_table[i].name,
    9999                       exc_table[i].f,symbol);         
    100100                if (!((i+1) % 20)) {
Note: See TracChangeset for help on using the changeset viewer.