thread_context.hh (4997:e7380529bd2d) | thread_context.hh (5222:bb733a878f85) |
---|---|
1/* 2 * Copyright (c) 2004-2006 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; --- 222 unchanged lines hidden (view full) --- 231 // Only really makes sense for old CPU model. Lots of code 232 // outside the CPU still checks this function, so it will 233 // always return false to keep everything working. 234 /** Checks if the thread is misspeculating. Because it is 235 * very difficult to determine if the thread is 236 * misspeculating, this is set as false. */ 237 virtual bool misspeculating() { return false; } 238 | 1/* 2 * Copyright (c) 2004-2006 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; --- 222 unchanged lines hidden (view full) --- 231 // Only really makes sense for old CPU model. Lots of code 232 // outside the CPU still checks this function, so it will 233 // always return false to keep everything working. 234 /** Checks if the thread is misspeculating. Because it is 235 * very difficult to determine if the thread is 236 * misspeculating, this is set as false. */ 237 virtual bool misspeculating() { return false; } 238 |
239 virtual void setShadowSet(int ss) { }; |
|
239#if !FULL_SYSTEM 240 /** Gets a syscall argument by index. */ 241 virtual IntReg getSyscallArg(int i); 242 243 /** Sets a syscall argument. */ 244 virtual void setSyscallArg(int i, IntReg val); 245 246 /** Sets the syscall return value. */ --- 12 unchanged lines hidden --- | 240#if !FULL_SYSTEM 241 /** Gets a syscall argument by index. */ 242 virtual IntReg getSyscallArg(int i); 243 244 /** Sets a syscall argument. */ 245 virtual void setSyscallArg(int i, IntReg val); 246 247 /** Sets the syscall return value. */ --- 12 unchanged lines hidden --- |