/[simulavr]/simulavr/src/avrcore.c
ViewVC logotype

Diff of /simulavr/src/avrcore.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.68 by troth, Tue Oct 14 18:40:56 2003 UTC revision 1.69 by troth, Tue Oct 14 22:22:34 2003 UTC
# Line 361  void avr_core_construct( AvrCore *core, Line 361  void avr_core_construct( AvrCore *core,
361      core->breakpoints = NULL;      core->breakpoints = NULL;
362    
363      core->irq_pending = NULL;      core->irq_pending = NULL;
364      core->irq_vtable  = global_vtable_list[ vtab_idx ];      core->irq_vtable  = (IntVect *)(global_vtable_list[vtab_idx]);
365      core->irq_offset  = 0;      core->irq_offset  = 0;
366    
367      core->CK       = 0;      core->CK       = 0;
# Line 1012  static void avr_core_check_interrupts( A Line 1012  static void avr_core_check_interrupts( A
1012                  avr_error( "Raised an invalid irq for device");                  avr_error( "Raised an invalid irq for device");
1013              }              }
1014    
1015              if (irq->addr == IRQ_RESET)              if (irq->addr == IRQ_RESET_ADDR)
1016              {              {
1017                  /* The global interrupt (SREG.I) never blocks a reset. We                  /* The global interrupt (SREG.I) never blocks a reset. We
1018                     don't need to clear the irq since a reset clears all                     don't need to clear the irq since a reset clears all

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26