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 --- 50 unchanged lines hidden (view full) --- 59 60 /** Initialize functions*/ 61 FlashDevice(const FlashDeviceParams*); 62 ~FlashDevice(); 63 64 /** Checkpoint functions*/ 65 unsigned int drain(DrainManager *dm); 66 void checkDrain(); |
67 |
68 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 69 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; 70 |
71 private: 72 /** Defines the possible actions to the flash*/ 73 enum Actions { 74 ActionRead, 75 ActionWrite, 76 ActionErase, 77 /** 78 * A copy involves taking all the used pages from a block and store --- 125 unchanged lines hidden --- |