dram_ctrl.hh (12266:63b8da9eeca4) dram_ctrl.hh (12705:9668a82ead4b)
1/*
1/*
2 * Copyright (c) 2012-2016 ARM Limited
2 * Copyright (c) 2012-2017 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

--- 489 unchanged lines hidden (view full) ---

500 * @return boolean indicating self-refresh exit should be scheduled
501 */
502 bool forceSelfRefreshExit() const {
503 return (readEntries != 0) ||
504 ((memory.busStateNext == WRITE) && (writeEntries != 0));
505 }
506
507 /**
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

--- 489 unchanged lines hidden (view full) ---

500 * @return boolean indicating self-refresh exit should be scheduled
501 */
502 bool forceSelfRefreshExit() const {
503 return (readEntries != 0) ||
504 ((memory.busStateNext == WRITE) && (writeEntries != 0));
505 }
506
507 /**
508 * Check if the current rank is idle and should enter a low-pwer state
508 * Check if the command queue of current rank is idle
509 *
509 *
510 * @param Return true if the there are no read commands in Q
511 * and there are no outstanding events
510 * @param Return true if the there are no commands in Q.
511 * Bus direction determines queue checked.
512 */
512 */
513 bool lowPowerEntryReady() const;
513 bool isQueueEmpty() const;
514
515 /**
516 * Let the rank check if it was waiting for requests to drain
517 * to allow it to transition states.
518 */
519 void checkDrainDone();
520
521 /**

--- 615 unchanged lines hidden ---
514
515 /**
516 * Let the rank check if it was waiting for requests to drain
517 * to allow it to transition states.
518 */
519 void checkDrainDone();
520
521 /**

--- 615 unchanged lines hidden ---