Changeset 25d7709 in mainline for arch/mips32/src/interrupt.c


Ignore:
Timestamp:
2006-03-13T20:08:16Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
631ca4d
Parents:
45d6add
Message:

Nicer ia32 interrupt handlers and structures holding interrupted context data.
Unify the name holding interrupted context data on all architectures to be istate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/interrupt.c

    r45d6add r25d7709  
    7575}
    7676
    77 static void timer_exception(int n, void *stack)
     77static void timer_exception(int n, istate_t *istate)
    7878{
    7979        cp0_compare_write(cp0_count_read() + cp0_compare_value);
     
    8181}
    8282
    83 static void swint0(int n, void *stack)
     83static void swint0(int n, istate_t *istate)
    8484{
    8585        cp0_cause_write(cp0_cause_read() & ~(1 << 8)); /* clear SW0 interrupt */
    8686}
    8787
    88 static void swint1(int n, void *stack)
     88static void swint1(int n, istate_t *istate)
    8989{
    9090        cp0_cause_write(cp0_cause_read() & ~(1 << 9)); /* clear SW1 interrupt */
Note: See TracChangeset for help on using the changeset viewer.