utility.hh (3278:986122553077) | utility.hh (3528:28d256c14e24) |
---|---|
1/* 2 * Copyright (c) 2003-2005 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; --- 85 unchanged lines hidden (view full) --- 94 95 /** 96 * Function to insure ISA semantics about 0 registers. 97 * @param tc The thread context. 98 */ 99 template <class TC> 100 void zeroRegisters(TC *tc); 101 | 1/* 2 * Copyright (c) 2003-2005 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; --- 85 unchanged lines hidden (view full) --- 94 95 /** 96 * Function to insure ISA semantics about 0 registers. 97 * @param tc The thread context. 98 */ 99 template <class TC> 100 void zeroRegisters(TC *tc); 101 |
102 void initCPU(ThreadContext *tc, int cpuId) 103 { 104 //This would be a good place to stick a PowerOnReset fault into the 105 //cpu. 106 } 107 |
|
102} // namespace SparcISA 103 104#endif | 108} // namespace SparcISA 109 110#endif |