Ignore:
Timestamp:
Nov 4, 2010, 11:37:55 AM (9 years ago)
Author:
mulligan
Message:

More on implementation of interrupts. Need to add a queue for
interrupts that occur `at the same time' to be executed once interrupts
with higher priority have finished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Deliverables/D4.1/ASMInterpret.mli

    r213 r215  
    1111                             ]
    1212            ];;
     13
     14type interrupt =
     15  Timer0
     16| Timer1
     17| External0
     18| External1
     19;;
    1320
    1421val string_of_line: line -> string;;
     
    8895  timer0: word;
    8996  timer1: word;
    90   timer2: word  (* can be missing *)
     97  timer2: word;  (* can be missing *)
     98
     99  esi_running: bool;
     100  t0i_running: bool;
     101  t1i_running: bool;
     102  e0i_running: bool;
     103  e1i_running: bool;
     104
     105  interrupt_queue: interrupt list;
    91106}
    92107
Note: See TracChangeset for help on using the changeset viewer.