isa.hh (10033:21c14a2b2117) isa.hh (10035:2a0fbecfeb14)
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;

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

91 intr_flag = 0;
92 memset(ipr, 0, sizeof(ipr));
93 }
94
95 void serialize(std::ostream &os);
96 void unserialize(Checkpoint *cp, const std::string &section);
97
98 int
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;

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

91 intr_flag = 0;
92 memset(ipr, 0, sizeof(ipr));
93 }
94
95 void serialize(std::ostream &os);
96 void unserialize(Checkpoint *cp, const std::string &section);
97
98 int
99 flattenIntIndex(int reg)
99 flattenIntIndex(int reg) const
100 {
101 return reg;
102 }
103
104 int
100 {
101 return reg;
102 }
103
104 int
105 flattenFloatIndex(int reg)
105 flattenFloatIndex(int reg) const
106 {
107 return reg;
108 }
109
110 // dummy
111 int
106 {
107 return reg;
108 }
109
110 // dummy
111 int
112 flattenCCIndex(int reg)
112 flattenCCIndex(int reg) const
113 {
114 return reg;
115 }
116
117 int
113 {
114 return reg;
115 }
116
117 int
118 flattenMiscIndex(int reg)
118 flattenMiscIndex(int reg) const
119 {
120 return reg;
121 }
122
123 const Params *params() const;
124
125 ISA(Params *p);
126
127 void startup(ThreadContext *tc) {}
128
129 /// Explicitly import the otherwise hidden startup
130 using SimObject::startup;
131 };
132}
133
134#endif
119 {
120 return reg;
121 }
122
123 const Params *params() const;
124
125 ISA(Params *p);
126
127 void startup(ThreadContext *tc) {}
128
129 /// Explicitly import the otherwise hidden startup
130 using SimObject::startup;
131 };
132}
133
134#endif