Deleted Added
sdiff udiff text old ( 10395:77b9f96786c1 ) new ( 10905:a6ca6831e775 )
full compact
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) {
146 SERIALIZE_SCALAR(_perfLevel);
147}
148
149void
150VoltageDomain::unserialize(Checkpoint *cp, const std::string &section) {
151 UNSERIALIZE_SCALAR(_perfLevel);
152 perfLevel(_perfLevel);
153}