changeset 24abf21b548d in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=24abf21b548d
description:
        ide: Accept the IDLE (0xe3) ATA command.

        This command is supposed to set up a timer which will put the drive 
into a
        standby mode if it isn't sent a command within a given time out. Since 
most of
        the timeouts are generally significantly longer than a simulation would 
run
        anyway, and we don't have an implementation for standby mode to begin 
with,
        we can accept the command, do nothing, and report success.

diffstat:

 src/dev/ide_disk.cc |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 9a4a926f7fe1 -r 24abf21b548d src/dev/ide_disk.cc
--- a/src/dev/ide_disk.cc       Wed Dec 03 03:06:03 2014 -0800
+++ b/src/dev/ide_disk.cc       Wed Dec 03 03:07:35 2014 -0800
@@ -645,6 +645,7 @@
       case WDSF_SEEK:
       case SET_FEATURES:
       case WDCC_SETMULTI:
+      case WDCC_IDLE:
         devState = Command_Execution;
         action = ACT_CMD_COMPLETE;
         break;
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to