isa.hh (9425:a24092160ec7) isa.hh (9461:67a6ba6604c8)
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;

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

166 public:
167
168 void clear();
169
170 void serialize(std::ostream & os);
171
172 void unserialize(Checkpoint *cp, const std::string & section);
173
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;

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

166 public:
167
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
174 protected:
175
176 bool isHyperPriv() { return hpstate.hpriv; }
177 bool isPriv() { return hpstate.hpriv || pstate.priv; }
178 bool isNonPriv() { return !isPriv(); }
179
180 public:
181

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