1/* 2 * Copyright (c) 2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 159 unchanged lines hidden (view full) --- 168 void clear(); 169 170 void serialize(std::ostream & os); 171 172 void unserialize(Checkpoint *cp, const std::string & section); 173 174 void startup(ThreadContext *tc) {} 175 |
176 /// Explicitly import the otherwise hidden startup 177 using SimObject::startup; 178 |
179 protected: 180 181 bool isHyperPriv() { return hpstate.hpriv; } 182 bool isPriv() { return hpstate.hpriv || pstate.priv; } 183 bool isNonPriv() { return !isPriv(); } 184 185 public: 186 --- 30 unchanged lines hidden --- |