base.hh (8779:2a590c51adb1) | base.hh (8806:669e93d79ed9) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 382 unchanged lines hidden (view full) --- 391 Fault hwrei() { return thread->hwrei(); } 392 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); } 393 394 void 395 syscall(int64_t callnum) 396 { 397 if (FullSystem) 398 panic("Syscall emulation isn't available in FS mode.\n"); | 1/* 2 * Copyright (c) 2002-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; --- 382 unchanged lines hidden (view full) --- 391 Fault hwrei() { return thread->hwrei(); } 392 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); } 393 394 void 395 syscall(int64_t callnum) 396 { 397 if (FullSystem) 398 panic("Syscall emulation isn't available in FS mode.\n"); |
399 else 400 thread->syscall(callnum); | 399 400 thread->syscall(callnum); |
401 } 402 403 bool misspeculating() { return thread->misspeculating(); } 404 ThreadContext *tcBase() { return tc; } 405}; 406 407#endif // __CPU_SIMPLE_BASE_HH__ | 401 } 402 403 bool misspeculating() { return thread->misspeculating(); } 404 ThreadContext *tcBase() { return tc; } 405}; 406 407#endif // __CPU_SIMPLE_BASE_HH__ |