isa.hh (10698:829adc48e175) isa.hh (10905:a6ca6831e775)
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(std::ostream & os);
170 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
171 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
171
172
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 bool isHyperPriv() { return hpstate.hpriv; }
181 bool isPriv() { return hpstate.hpriv || pstate.priv; }

--- 48 unchanged lines hidden ---
173 void startup(ThreadContext *tc) {}
174
175 /// Explicitly import the otherwise hidden startup
176 using SimObject::startup;
177
178 protected:
179 bool isHyperPriv() { return hpstate.hpriv; }
180 bool isPriv() { return hpstate.hpriv || pstate.priv; }

--- 48 unchanged lines hidden ---