isa.hh (9384:877293183bdf) isa.hh (9425:a24092160ec7)
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;

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

162 void installWindow(int cwp, int offset);
163 void installGlobals(int gl, int offset);
164 void reloadRegMap();
165
166 public:
167
168 void clear();
169
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;

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

162 void installWindow(int cwp, int offset);
163 void installGlobals(int gl, int offset);
164 void reloadRegMap();
165
166 public:
167
168 void clear();
169
170 void serialize(EventManager *em, std::ostream & os);
170 void serialize(std::ostream & os);
171
171
172 void unserialize(EventManager *em, Checkpoint *cp,
173 const std::string & section);
172 void unserialize(Checkpoint *cp, const std::string & section);
174
175 protected:
176
177 bool isHyperPriv() { return hpstate.hpriv; }
178 bool isPriv() { return hpstate.hpriv || pstate.priv; }
179 bool isNonPriv() { return !isPriv(); }
180
181 public:

--- 31 unchanged lines hidden ---
173
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:

--- 31 unchanged lines hidden ---