voltage_domain.cc (10395:77b9f96786c1) voltage_domain.cc (10905:a6ca6831e775)
1/*
2 * Copyright (c) 2012-2014 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

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

137
138VoltageDomain *
139VoltageDomainParams::create()
140{
141 return new VoltageDomain(this);
142}
143
144void
1/*
2 * Copyright (c) 2012-2014 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

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

137
138VoltageDomain *
139VoltageDomainParams::create()
140{
141 return new VoltageDomain(this);
142}
143
144void
145VoltageDomain::serialize(std::ostream &os) {
145VoltageDomain::serialize(CheckpointOut &cp) const
146{
146 SERIALIZE_SCALAR(_perfLevel);
147}
148
149void
147 SERIALIZE_SCALAR(_perfLevel);
148}
149
150void
150VoltageDomain::unserialize(Checkpoint *cp, const std::string &section) {
151VoltageDomain::unserialize(CheckpointIn &cp)
152{
151 UNSERIALIZE_SCALAR(_perfLevel);
152 perfLevel(_perfLevel);
153}
153 UNSERIALIZE_SCALAR(_perfLevel);
154 perfLevel(_perfLevel);
155}