flash_device.cc (10905:a6ca6831e775) | flash_device.cc (10910:32f3d1c454ec) |
---|---|
1/* 2 * Copyright (c) 2013-2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 587 unchanged lines hidden (view full) --- 596 count = 1; 597 drainManager = dm; 598 } else { 599 DPRINTF(Drain, "Flash device in drained state\n"); 600 } 601 602 if (count) { 603 DPRINTF(Drain, "Flash device is draining...\n"); | 1/* 2 * Copyright (c) 2013-2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 587 unchanged lines hidden (view full) --- 596 count = 1; 597 drainManager = dm; 598 } else { 599 DPRINTF(Drain, "Flash device in drained state\n"); 600 } 601 602 if (count) { 603 DPRINTF(Drain, "Flash device is draining...\n"); |
604 setDrainState(Drainable::Draining); | 604 setDrainState(DrainState::Draining); |
605 } else { 606 DPRINTF(Drain, "Flash device drained\n"); | 605 } else { 606 DPRINTF(Drain, "Flash device drained\n"); |
607 setDrainState(Drainable::Drained); | 607 setDrainState(DrainState::Drained); |
608 } 609 return count; 610} 611 612/** 613 * Checkdrain; needed to enable checkpoints 614 */ 615 --- 15 unchanged lines hidden --- | 608 } 609 return count; 610} 611 612/** 613 * Checkdrain; needed to enable checkpoints 614 */ 615 --- 15 unchanged lines hidden --- |