flash_device.hh (10801:049eb85e8ea2) flash_device.hh (10905:a6ca6831e775)
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();
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 void serialize(std::ostream &os);
68 void unserialize(Checkpoint *cp, const std::string &section);
69
67
68 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
69 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
70
70 private:
71 /** Defines the possible actions to the flash*/
72 enum Actions {
73 ActionRead,
74 ActionWrite,
75 ActionErase,
76 /**
77 * A copy involves taking all the used pages from a block and store

--- 125 unchanged lines hidden ---
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 ---