Deleted Added
sdiff udiff text old ( 10033:21c14a2b2117 ) new ( 10035:2a0fbecfeb14 )
full compact
1/*
2 * Copyright (c) 2009 The Regents of The University of Michigan
3 * Copyright (c) 2009 The University of Edinburgh
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

82
83 void
84 setMiscReg(int misc_reg, const MiscReg &val, ThreadContext *tc)
85 {
86 fatal("Power does not currently have any misc regs defined\n");
87 }
88
89 int
90 flattenIntIndex(int reg)
91 {
92 return reg;
93 }
94
95 int
96 flattenFloatIndex(int reg)
97 {
98 return reg;
99 }
100
101 // dummy
102 int
103 flattenCCIndex(int reg)
104 {
105 return reg;
106 }
107
108 int
109 flattenMiscIndex(int reg)
110 {
111 return reg;
112 }
113
114 void startup(ThreadContext *tc) {}
115
116 /// Explicitly import the otherwise hidden startup
117 using SimObject::startup;
118
119 const Params *params() const;
120
121 ISA(Params *p);
122};
123
124} // namespace PowerISA
125
126#endif // __ARCH_POWER_ISA_HH__