Changeset 38de8a5 in mainline for arch/mips/src/interrupt.c


Ignore:
Timestamp:
2005-09-09T13:50:54Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b02e5d1
Parents:
b0edf3b2
Message:

MIPS architecture now works without any problems in

  • msim: compile as OUTPUT_FORMAT(binary)
  • gxemul: compile as OUTPUT_FORMAT(ecoff-littlemips), or create

configuration file for binary format (will be done later)

  • simics: compile as OUTPUT_FORMAT(elf32-little), might work with binary

format, didn't try yet.

File:
1 edited

Legend:

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

    rb0edf3b2 r38de8a5  
    5858}
    5959
    60 
    6160void interrupt(void)
    6261{
     
    8483                                        break;
    8584                                case 7: /* Timer Interrupt */
    86                                         cp0_compare_write(cp0_compare_value); /* clear timer interrupt */
     85                                        cp0_compare_write(cp0_count_read() + cp0_compare_value); /* clear timer interrupt */
    8786                                        /* start counting over again */
    88                                         cp0_count_write(0);
    8987                                        clock();
    9088                                        break;
Note: See TracChangeset for help on using the changeset viewer.