Changeset 161 for trunk/src/os2ahci/os2ahci.c
- Timestamp:
- May 31, 2013, 11:15:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.c
r160 r161 135 135 int init_complete; /* if != 0, initialization has completed */ 136 136 int suspended; 137 int resume_sleep_flag; 137 138 138 139 /* apapter/port-specific options saved when parsing the command line */ … … 222 223 init_drv_called = 1; 223 224 suspended = 0; 225 resume_sleep_flag = 0; 224 226 225 227 /* set device helper entry point */ … … 513 515 * Device driver exit handler. This handler is called when OS/2 shuts down and 514 516 * flushes the write caches of all attached devices. Since this is effectively 515 * the same we do when suspending, we'll call out to the corresponding APM517 * the same we do when suspending, we'll call out to the corresponding suspend 516 518 * function. 517 519 * … … 619 621 * all IORBs have been sent. 620 622 * 621 * NOTE: While initialization has not completed (or during APMsuspend/resume623 * NOTE: While initialization has not completed (or during suspend/resume 622 624 * operations), this function will loop indefinitely because we can't 623 625 * rely on interrupt handlers or context hooks and complex IORBs … … 742 744 * IORB. 743 745 */ 744 while (suspended) DevHelp_ProcBlock((ULONG)&send_iorb, 1, WAIT_IS_INTERRUPTABLE);745 746 add_workspace(iorb)->processing = 1; 746 747 spin_unlock(drv_lock); … … 817 818 } 818 819 820 #ifdef LEGACY_APM 819 821 /* register APM hook */ 820 822 apm_init(); 823 #endif 821 824 822 825 if (!TRACE_ACTIVE) build_user_info();
Note:
See TracChangeset
for help on using the changeset viewer.