Changeset 181 for trunk/src/os2ahci/ctxhook.c
- Timestamp:
- Dec 13, 2016, 3:07:49 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ctxhook.c
r178 r181 102 102 int p; 103 103 104 DPRINTF(2,"restart_ctxhook() started\n"); 104 D32ThunkStackTo32(); 105 106 DPRINTF(8,"restart_ctxhook() started\n"); 105 107 memset(&done_queue, 0x00, sizeof(done_queue)); 106 108 … … 129 131 need_reset = 0; 130 132 131 DPRINTF( 2,"port %d, TF_DATA: 0x%x\n", p, readl(port_mmio + PORT_TFDATA));133 DPRINTF(8,"port %d, TF_DATA: 0x%x\n", p, readl(port_mmio + PORT_TFDATA)); 132 134 133 135 /* get "current command slot"; only valid if there are no NCQ cmds */ 134 136 ccs = (int) ((readl(port_mmio + PORT_CMD) >> 8) & 0x1f); 135 DPRINTF( 3," PORT_CMD = 0x%x\n", ccs);137 DPRINTF(8," PORT_CMD = 0x%x\n", ccs); 136 138 137 139 for (vIorb = ai->ports[p].iorb_queue.vRoot; vIorb != NULL; vIorb = vNext) … … 283 285 spin_unlock(drv_lock); 284 286 285 DPRINTF( 2,"restart_ctxhook() completed\n");287 DPRINTF(8,"restart_ctxhook() completed\n"); 286 288 287 289 /* Check whether we have to rearm ourselves because some adapters were busy … … 293 295 KernArmHook(restart_ctxhook_h, 0, 0); 294 296 } 297 KernThunkStackTo16(); 295 298 } 296 299 … … 331 334 int p; 332 335 333 DPRINTF(2,"reset_ctxhook() started\n"); 336 D32ThunkStackTo32(); 337 338 DPRINTF(8,"reset_ctxhook() started\n"); 334 339 memset(&done_queue, 0x00, sizeof(done_queue)); 335 340 … … 455 460 spin_unlock(drv_lock); 456 461 457 DPRINTF( 2,"reset_ctxhook() completed\n");462 DPRINTF(8,"reset_ctxhook() completed\n"); 458 463 459 464 /* Check whether we have to rearm ourselves because some adapters were busy … … 465 470 KernArmHook(reset_ctxhook_h, 0, 0); 466 471 } 472 473 KernThunkStackTo16(); 467 474 } 468 475 … … 478 485 int i; 479 486 480 DPRINTF(2,"engine_ctxhook() started\n"); 487 D32ThunkStackTo32(); 488 489 DPRINTF(8,"engine_ctxhook() started\n"); 481 490 if (resume_sleep_flag) 482 491 { … … 492 501 spin_unlock(drv_lock); 493 502 494 DPRINTF( 2,"engine_ctxhook() completed\n");503 DPRINTF(8,"engine_ctxhook() completed\n"); 495 504 496 505 if (iorbs_sent != 0) … … 500 509 KernArmHook(engine_ctxhook_h, 0, 0); 501 510 } 511 512 KernThunkStackTo16(); 502 513 } 503 514
Note:
See TracChangeset
for help on using the changeset viewer.