Changeset eedbfd9 in rtems
- Timestamp:
- 12/01/95 19:27:40 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 7f6fab6
- Parents:
- c4808ca
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/headers/watchdog.h
rc4808ca reedbfd9 67 67 68 68 typedef enum { 69 WATCHDOG_INACTIVE, /* off all chains */70 WATCHDOG_ ACTIVE, /* on chain, allowed to fire*/71 WATCHDOG_ REINSERT, /* on chain, reset without firing if expires*/72 WATCHDOG_REMOVE_IT /* on chain, remove without firing if expires */69 WATCHDOG_INACTIVE, /* off all chains */ 70 WATCHDOG_BEING_INSERTED, /* off all chains, searching for insertion point */ 71 WATCHDOG_ACTIVE, /* on chain, allowed to fire */ 72 WATCHDOG_REMOVE_IT /* on chain, remove without firing if expires */ 73 73 } Watchdog_States; 74 74 -
c/src/exec/score/include/rtems/score/watchdog.h
rc4808ca reedbfd9 67 67 68 68 typedef enum { 69 WATCHDOG_INACTIVE, /* off all chains */70 WATCHDOG_ ACTIVE, /* on chain, allowed to fire*/71 WATCHDOG_ REINSERT, /* on chain, reset without firing if expires*/72 WATCHDOG_REMOVE_IT /* on chain, remove without firing if expires */69 WATCHDOG_INACTIVE, /* off all chains */ 70 WATCHDOG_BEING_INSERTED, /* off all chains, searching for insertion point */ 71 WATCHDOG_ACTIVE, /* on chain, allowed to fire */ 72 WATCHDOG_REMOVE_IT /* on chain, remove without firing if expires */ 73 73 } Watchdog_States; 74 74 -
c/src/exec/score/src/watchdog.c
rc4808ca reedbfd9 59 59 break; 60 60 61 case WATCHDOG_ REINSERT:61 case WATCHDOG_BEING_INSERTED: 62 62 63 63 /* … … 152 152 153 153 insert_isr_nest_level = _ISR_Nest_level; 154 the_watchdog->state = WATCHDOG_ REINSERT;154 the_watchdog->state = WATCHDOG_BEING_INSERTED; 155 155 156 156 _Watchdog_Sync_count++; … … 185 185 _ISR_Flash( level ); 186 186 187 if ( the_watchdog->state != WATCHDOG_ REINSERT) {187 if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) { 188 188 goto exit_insert; 189 189 } … … 244 244 ); 245 245 break; 246 case WATCHDOG_REINSERT: 247 _Watchdog_Insert( header, the_watchdog, WATCHDOG_ACTIVATE_NOW ); 248 break; 246 249 247 case WATCHDOG_INACTIVE: 248 /* 249 * This state indicates that the watchdog is not on any chain. 250 * Thus, it is NOT on a chain being tickled. This case should 251 * never occur. 252 */ 253 break; 254 255 case WATCHDOG_BEING_INSERTED: 256 /* 257 * This state indicates that the watchdog is in the process of 258 * BEING inserted on the chain. Thus, it can NOT be on a chain 259 * being tickled. This case should never occur. 260 */ 261 break; 262 250 263 case WATCHDOG_REMOVE_IT: 251 264 break; -
cpukit/score/include/rtems/score/watchdog.h
rc4808ca reedbfd9 67 67 68 68 typedef enum { 69 WATCHDOG_INACTIVE, /* off all chains */70 WATCHDOG_ ACTIVE, /* on chain, allowed to fire*/71 WATCHDOG_ REINSERT, /* on chain, reset without firing if expires*/72 WATCHDOG_REMOVE_IT /* on chain, remove without firing if expires */69 WATCHDOG_INACTIVE, /* off all chains */ 70 WATCHDOG_BEING_INSERTED, /* off all chains, searching for insertion point */ 71 WATCHDOG_ACTIVE, /* on chain, allowed to fire */ 72 WATCHDOG_REMOVE_IT /* on chain, remove without firing if expires */ 73 73 } Watchdog_States; 74 74 -
cpukit/score/src/watchdog.c
rc4808ca reedbfd9 59 59 break; 60 60 61 case WATCHDOG_ REINSERT:61 case WATCHDOG_BEING_INSERTED: 62 62 63 63 /* … … 152 152 153 153 insert_isr_nest_level = _ISR_Nest_level; 154 the_watchdog->state = WATCHDOG_ REINSERT;154 the_watchdog->state = WATCHDOG_BEING_INSERTED; 155 155 156 156 _Watchdog_Sync_count++; … … 185 185 _ISR_Flash( level ); 186 186 187 if ( the_watchdog->state != WATCHDOG_ REINSERT) {187 if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) { 188 188 goto exit_insert; 189 189 } … … 244 244 ); 245 245 break; 246 case WATCHDOG_REINSERT: 247 _Watchdog_Insert( header, the_watchdog, WATCHDOG_ACTIVATE_NOW ); 248 break; 246 249 247 case WATCHDOG_INACTIVE: 248 /* 249 * This state indicates that the watchdog is not on any chain. 250 * Thus, it is NOT on a chain being tickled. This case should 251 * never occur. 252 */ 253 break; 254 255 case WATCHDOG_BEING_INSERTED: 256 /* 257 * This state indicates that the watchdog is in the process of 258 * BEING inserted on the chain. Thus, it can NOT be on a chain 259 * being tickled. This case should never occur. 260 */ 261 break; 262 250 263 case WATCHDOG_REMOVE_IT: 251 264 break;
Note: See TracChangeset
for help on using the changeset viewer.