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{
147 SERIALIZE_SCALAR(_perfLevel);
148}
149
150void
150VoltageDomain::unserialize(Checkpoint *cp, const std::string &section) {
151VoltageDomain::unserialize(CheckpointIn &cp)
152{
153 UNSERIALIZE_SCALAR(_perfLevel);
154 perfLevel(_perfLevel);
155}