isa.hh (9461:67a6ba6604c8) isa.hh (9553:2e1e5364dae3)
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
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
176 protected:
177
178 bool isHyperPriv() { return hpstate.hpriv; }
179 bool isPriv() { return hpstate.hpriv || pstate.priv; }
180 bool isNonPriv() { return !isPriv(); }
181
182 public:
183

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